Drawing with NSBezierPath
Drawing with NSBezierPath
- Subject: Drawing with NSBezierPath
- From: "Ethan" <email@hidden>
- Date: Wed, 18 Apr 2007 14:49:01 +0800
Hey guys,
Could someone give me any hint about what I'm intending to do for the following?
I wanna draw some basic shapes, let's say circles and lines in a customer view with cocoa application (not document-based application), I believe this step can be easily finished with using NSBezierPath.
Next, I'm seeking the possibilities to see if I can move the objects I've created in the view, in other words, I should be able to reposition them by using mouse dragging, I think I can catch the event of the mouse action, but I've no idea about the repositioning those paths created.
Last, I also need to combine(draw beside) some additional text(index/comment) to each path I created, so that when I drag the object, the text content can move together as well. I don't know if I can do this.
Thanks a lot for giving any help to me.
Ethan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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