CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    Philippines
    Posts
    46

    Question about pixel

    Good Day!
    In the online help, it says:
    For the first version of CreatePen, if nWidth value is 0, the width in device units is always 1 pixel, regardless of the mapping mode.

    now, how do I set or get the pixel size of my CDC object.
    I need the info badly for my plotting/printing module project.
    Thanks in advance.



  2. #2
    Join Date
    Apr 1999
    Posts
    383

    Re: Question about pixel

    You must create a pen with the pixel width you require, using CreatePen or CreatePenIndirect.

    Dave


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