Anyone know how to output diagonal text on to a bitmap using an HDC or HBITMAP?
This is a discussion on Diagonal Text? within the Windows Programming forums, part of the Platform Specific Boards category; Anyone know how to output diagonal text on to a bitmap using an HDC or HBITMAP?...
Anyone know how to output diagonal text on to a bitmap using an HDC or HBITMAP?
Fill out a 'LOGFONT' structure, the lfEscapement parameter of this struct is the angle in 1/10ths of a degree.
Use 'CreateFontIndirect' passing the address of the LOGFONT structure previously described; the return value is your font.
Select the font into you device context and use one of the text writing fns like 'TextOut' to output your text.