Re: Writing a simple vector graphics editor - how to implement?
Re: Writing a simple vector graphics editor - how to implement?
- Subject: Re: Writing a simple vector graphics editor - how to implement?
- From: Conrad Shultz <email@hidden>
- Date: Wed, 05 Oct 2011 13:11:06 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/5/11 12:39 PM, Nick wrote:
> I am a beginner in this kind of programs (usually I ended up with
> placing few buttons/standard Cocoa controls and implemented rather
> low level logic of the application). I need an advice how would
> experienced developers implement this basic functionality.
Good for you! UI can be frustrating at times, but it can also be a
lot of fun.
> Is it correct to implement all the objects as views, that are the
> subviews of the "sheet view"? But since this sheet can be bigger
> than the window, I will need some kind of scrolling support.. And I
> need to have the objects to be editable by their edges.. Not sure
> how to do it.
You might start by taking a look at NSScrollView, which will enclose
your canvas.
> Could you please give me a basic idea of how such kind of editors
> are usually implemented? If there are some simple opensource
> programs, I'd be thankful for their names.
Graham Cox will probably respond to your message as well, and I
recommend you take a look at his DrawKit framework
(http://apptree.net/drawkit.htm), which includes a nice sample program
putting the pieces together.
Apple's Sketch is probably useful too.
- --
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFOjLnZaOlrz5+0JdURAmUdAJ4/nN/byNUBz6gvWQlbiMG4kMLSsQCeLIM7
SsTuZNVqfiIvKCEF8vggA/I=
=Jobs
-----END PGP SIGNATURE-----
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden