CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12

Threaded View

  1. #1
    Join Date
    Feb 2001
    Posts
    2,455

    Help with drawing vertical text?

    I need to center text drawn vertically (90 degrees) with a mapping mode of MM_ANISOTROPIC with varying x-y scale factors. The attached project is a sample of my problem. It draws a cross hair in a control and the text should be centered on the cross hair. The text size should also not change regardless of the scaling.

    There is an edit box where you can enter an x and y value for the x and y dimension and pressing OK redraws the screen.

    Please, if someone can look at the attached and give me hints on what I am doing wrong?

    Mike B
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured