Basically the ovals in Quartz are ellipses of the form:
x2/a2 + y2/b2 = 1
Where a and b are the lengths of the sides of a bounding rectangle.
The appropriate message in Cocoa's NSBezierPath object makes an Bezier
path in the shape of an ellipse within a bounding rectangle:
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSBezierPath.html#//apple_ref/doc/
uid/20000339/bezierPathWithOvalInRect>
Does anyone know what exactly is meant by an 'oval' in
the context of bezier paths used by PDFs and by Quartz?
Are these ellipses? I got to think they must be calling them
'ovals' because their not ellipses... but they sure do look like
ellipses...
Is there anywhere to find out the formula used for these 'ovals'?
I've been googling for answers, but I don't know enough about
PDF to know where to look.
Sorry is the scitech list isn't the place for this question,
but I thought this list would understand the importance of knowing
whether your drawing an ellipse or something else.
I want to draw an ellipse and if this 'oval' is really an ellipse
that will be a nice thing to use since it would be resolution
independent
unlike an ellipse that I would construct from points.
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.