NSBezierPath - quadratic curve with one control point?
NSBezierPath - quadratic curve with one control point?
- Subject: NSBezierPath - quadratic curve with one control point?
- From: Jim Correia <email@hidden>
- Date: Fri, 16 Dec 2005 20:25:09 -0500
CGContext has two functions for dealing with quadratic curves - one
take two control points and the other only one.
/* Append a quadratic curve from the current point to `(x, y)', with
* control point `(cpx, cpy)'. */
CG_EXTERN void CGContextAddQuadCurveToPoint(CGContextRef c, float
cpx, float cpy, float x, float y);
How do I replicate that with NSBezierPath? (I want to keep the path
around, not just render it and toss it.) The only method I see wants
two control points.
Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden