Thread: using GDI to draw round ended line

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jun 2006
    Location
    Singapore
    Posts
    18
    Thanks Salem.
    Actually, i need the round ended option to fix some broken lines of my app.
    The n points line is form by n-1 segments where the joining appears broken when i increase the pen thickness. My another attempt was to draw eclipse at the line end but not successful.
    I am using the MoveToEx() and LineTo() function.
    Besides Polygonline, is there other methods to solve this problem? thanks.

  2. #2
    Registered User
    Join Date
    Jun 2004
    Posts
    201
    btw, next time search google for "PS_ENDCAP_ROUND windows CE" or something. First hit would've told you. And specify what compiler and platform you use immediately if you think it could be related to that

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Fastest way to draw a vertical line
    By CrazyNorman in forum Game Programming
    Replies: 7
    Last Post: 10-17-2006, 09:59 AM
  2. problem with drawnin a user-defined line
    By Isometric in forum Windows Programming
    Replies: 3
    Last Post: 02-12-2002, 11:00 PM
  3. Greenhand want help!
    By leereg in forum C Programming
    Replies: 6
    Last Post: 01-29-2002, 06:04 AM
  4. SSCANF help
    By mattz in forum C Programming
    Replies: 7
    Last Post: 12-10-2001, 04:53 PM
  5. Validating the contents of a char buffer
    By mattz in forum C Programming
    Replies: 3
    Last Post: 12-09-2001, 06:21 PM