How to rotate text using WinAPI?

Simple way to rotate a piece of text is to use a font object… Here is a sample which does this… [sourcecode language=’cpp’]void CSomeDlg::OnPaint() {     CPaintDC dc(this);  // Get existing dlg font     CFont NewFont;      LOGFONT lgFnt = { 0 };      GetFont()->GetLogFont(&lgFnt);  // Modify this existing font // // Face name is […]
Continue reading…