Anyone know how to output diagonal text on to a bitmap using an HDC or HBITMAP?
Printable View
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.