• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Drawing in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Drawing in Cocoa
      • From: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: Re: How to display alert box in COCOA
  • Next by Date: Re: Drawing in Cocoa
  • Previous by thread: Re: How to display alert box in COCOA
  • Next by thread: Re: Drawing in Cocoa
  • Index(es):
    • Date
    • Thread