Thread: Diagonal Text?

  1. #1
    Davros
    Guest

    Question Diagonal Text?

    Anyone know how to output diagonal text on to a bitmap using an HDC or HBITMAP?

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Having trouble drawing text xlib.
    By Qui in forum Linux Programming
    Replies: 1
    Last Post: 05-10-2006, 12:07 PM
  2. Appending text to an edit control
    By dit6a9 in forum Windows Programming
    Replies: 3
    Last Post: 08-13-2004, 09:52 PM
  3. Text positioning and Text scrolling
    By RealityFusion in forum C++ Programming
    Replies: 3
    Last Post: 08-13-2004, 12:35 AM
  4. Scrolling The Text
    By GaPe in forum C Programming
    Replies: 3
    Last Post: 07-14-2002, 04:33 PM
  5. Replies: 1
    Last Post: 07-13-2002, 05:45 PM