Thread: CDC :: Arc

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    162

    CDC :: Arc

    How exactly is this used? I need to have a dialog open up and ask the user for the center point of a circle and the radius...im fine with that...im fine with setting up the area in which the circle will go, but the only problem I have is how to draw the actual circle...The arguments for Arc are a rectangle and 2 points.....I set the top-left to x - radius and y - radius respectevly....What do I set the startPT and endPT to?

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    For the two points, enter the left and right margin of the circle.

    Kuphryn

  3. #3
    Registered User
    Join Date
    Feb 2003
    Posts
    162
    I got it, thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Algorithm for drawing arc?
    By 6tr6tr in forum C++ Programming
    Replies: 7
    Last Post: 01-09-2009, 02:26 AM
  2. CDC shape Helps
    By cfrost in forum C++ Programming
    Replies: 3
    Last Post: 05-13-2004, 05:49 AM
  3. VC++6: Problem : CDC
    By L.O.K. in forum Windows Programming
    Replies: 1
    Last Post: 11-20-2002, 02:15 AM
  4. Help with CDC.
    By headexplodes in forum Windows Programming
    Replies: 3
    Last Post: 08-11-2001, 05:25 AM