12 Replies Latest reply: Feb 1, 2009 11:47 PM by (kirubasankar) RSS

    Last question for today - how to draw with API circle of N pixels radius

    andrejusc Community Member
      Hi,

      While I'm bit of exhausted while fighting with those paths movement (see my other thread in this forum) - I'd like to ask maybe someone has code snippet, which shows how to draw a circle of N pixels/N mm/inches radius?

      There is one helper function for that inside SDK samples:

      PDEPath DrawCurve(ASFixed x, ASFixed y, ASFixed x1, ASFixed y1, ASFixed x2, ASFixed y2, ASFixed x3, ASFixed y3, int lineWidth, int r, int g, int b)

      but I'm just out of my mind for today what parameters should be provided and how many calls of it I should write.

      Any help would be appreciated.