Diagonal Text?

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?...

  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, 01:07 PM
  2. Appending text to an edit control
    By dit6a9 in forum Windows Programming
    Replies: 3
    Last Post: 08-13-2004, 10:52 PM
  3. Text positioning and Text scrolling
    By RealityFusion in forum C++ Programming
    Replies: 3
    Last Post: 08-13-2004, 01:35 AM
  4. Scrolling The Text
    By GaPe in forum C Programming
    Replies: 3
    Last Post: 07-14-2002, 05:33 PM
  5. Replies: 1
    Last Post: 07-13-2002, 06:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21