Re: Drawing in Cocoa
Re: Drawing in Cocoa
- Subject: Re: Drawing in Cocoa
- From: "M. Uli Kusterer" <email@hidden>
- Date: Sat, 6 Dec 2003 21:33:46 +0100
At 14:51 Uhr +0100 06.12.2003, Ivan Myrvold wrote:
That is exactly what I want. In my Ortopedic journal application, I
have many custom views with outline drawings of the human body, some
are with amputated arms, other with legs etc. The cocoa drawing
environment are rendering these images beautiful, but it is a lot of
work to actually transfer these images to Cocoa drawing methods,
especially the bezier paths. I have actually done a few of these
drawings already with Cocoa methods, but it is hours of hard work.
I'm still not sure what you're trying to achieve by this? What
benefit do you expect to have in this over just saving your drawings
to a PDF file from whatever drawing program you did the original
drawings in and displaying that using an NSImageView?
You shouldn't really need to have Cocoa re-draw your images
line-wise unless you have some very special needs. What will your
users be doing with these images? Will they simply look at them? In
that case you really just want to use NSImage and NSImageView and be
done with it.
If your users will do something special with the images, it would
help to know what exactly.
This works for me, but as I said, the hard work is getting the
coordinates into the plist files.
It really looks like you're going at this way more complicated than
you need to.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.