I am trying to write a program in VC++ (the .NET version currently) that, amongst other things, produces plots.
I do want the labels for the y-axis to be turned by 90 degrees, so I generated LOGFONTs within MFC, and used this:
LOGFONT lf;
memset(&lf, 0, sizeof(LOGFONT)); // zero out structure
lf.lfHeight = 120; // request a 12-pixel-height font
strcpy(lf.lfFaceName, "Arial"); // request a face name "Arial"
lf.lfWeight=FW_REGULAR;
lf.lfOrientation=900;
vert.CreateFontIndirect(&lf);
But for some reason, the font is still horizontal... Does anyone have any ideas?
Thanks very much!!!
I do want the labels for the y-axis to be turned by 90 degrees, so I generated LOGFONTs within MFC, and used this:
LOGFONT lf;
memset(&lf, 0, sizeof(LOGFONT)); // zero out structure
lf.lfHeight = 120; // request a 12-pixel-height font
strcpy(lf.lfFaceName, "Arial"); // request a face name "Arial"
lf.lfWeight=FW_REGULAR;
lf.lfOrientation=900;
vert.CreateFontIndirect(&lf);
But for some reason, the font is still horizontal... Does anyone have any ideas?
Thanks very much!!!