Getting cartesian values from Bezier curve question
Getting cartesian values from Bezier curve question
- Subject: Getting cartesian values from Bezier curve question
- From: dan donaldson <email@hidden>
- Date: Mon, 14 Jun 2004 19:05:04 -0400
Hello Wise Ones
I am considering adding a control to allow users to use a Bezier Path
to edit a set of values that change over time. The essentials are a
timeline with values determined by keyframes which will be represented
by Bezier nodes.
My question is, is there a simple way to derive the y value of a bezier
line segment given an x coordinate. Assume that there is no
circumstance where more than one y value might exist for a given x
value. I don't see anything in the NSBezierPath documentation that
indicates that this is supported.
For the purposes I will be putting this to, a close approximation - eg
2% error - would suffice.
Anyone?
dan donaldson
_______________________________________________
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.