Results 1 to 14 of 14

Thread: trace the outline of a shape on a bitmap **RESOLVED**

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982

    trace the outline of a shape on a bitmap **RESOLVED**

    I have a picturebox with a bitmap. White background with red circle in it.
    How do I trace the edge of the red circle so I can reproduce its position and size with code onto another picturebox.

    My thought was to start at 0,0 and check each pixel row by row. For each row remember the first and last red pixel and change it to black to indicate the edge to the user.

    The shape on the image is owner drawn and will always be the same colour though the size and shape may differ.
    Last edited by davidrobin; Mar 21st, 2003 at 09:51 AM.

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