Drawing Arcs
Drawing Arcs
- Subject: Drawing Arcs
- From: Jim Crafton <email@hidden>
- Date: Sun, 6 Jul 2003 00:26:37 -0400
Hi again,
I am trying to draw an arc given the following where:
x1, y1, x2, y2 define the bounding rectangle of the arc. The arc
follows along the
ellipse that fits this rect
x3,y3 define the starting point which intersects with edge of arc and
the center of rect
x4,y4 define the ending point which intersects with edge of arc and the
center of rect
(for those with Win32 experience this is the same as Win32's Arc
function)
I notice that NSBezierPath can draw arcs that trace along a circle, but
not elliptical arcs. What's the best approach for tackling this?
Thanks
Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.