Drawing in Cocoa
Drawing in Cocoa
- Subject: Drawing in Cocoa
- From: Ivan Myrvold <email@hidden>
- Date: Fri, 5 Dec 2003 13:53:22 +0100
Cocoa have a very extensive set of methods for drawing any kind of
objects, like bezier paths, circles, rectangles etc. The result is very
impressive.
But to be able to draw a complex object to a window, you have to know
all the coordinates of the object to be able to draw it. With bezier
paths, this is indeed very challenging. I made an outline of a human,
just by plotting the coordinates first on paper, and then transferring
this to a set of calls to moveToPoint, appendBezierPath etc.
I was thinking that there has to be a better way to do this. I was
dreaming about a drawing program that you use to draw all the objects
you want, and then dump all the coordinates to a file, and use these
coordinates to draw this in a custom view in Cocoa.
Is this just a dream, or have anyone else been thinking along the same
lines?
Ivan
_______________________________________________
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.