Hello Everyone,
I am working on something small just to learn with and I have been
trying to figure this out for a while. The end result that I am
looking for is this
Draw A straight line
click the line and drag to make that line curve
Now I have been able to get all of this to work aside from one thing.
If you draw a curve then go to draw another the first one is not
remembered.
Code: http://paste.lisp.org/display/74870
I know it is my call to removeAllPaths on line 59 of the code pasted
at the URL above.
I know that i need to use the elementsAtIndex: and
elementsAtIndex:index associatedPoints:points to modify the points
rather than remove them all
However what I do not know is where I would get this Index to use.
Any assistance would be appreciated.
Thanks,
Joseph Crawford
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com