|
-
Jun 12th, 2003, 12:34 PM
#1
Thread Starter
Member
Plot Ellipse ***RESOLVED***
I am using the following routine to plot a circle in VB6:
X - X coordinate of the center
Y - Y Coordinate of the center
R - Radius of the arc
For i = 0 To 360
Me.Pset (X + (R * Cos(i * Pi / 180)), Y + (R * Sin(i * Pi / 180)))
next i
What should I use to plot an Ellipse??
Thank You very much
Dalton Serkez
Last edited by DSERKEZ; Jun 16th, 2003 at 11:40 AM.
-
Jun 14th, 2003, 07:49 AM
#2
Fanatic Member
add an X to Y ratio that lets you stretch it.
Or, as it is in QBasic, have a starting and end angle for arc, along with a ratio for that.
Don't pay attention to this signature, it's contradictory.
-
Jun 16th, 2003, 11:39 AM
#3
Thread Starter
Member
Thanks ALKATRAN
Thank you very much for your help.
That worked!
Regards
DSerkez
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|