• 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 with NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Drawing with NSBezierPath
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Inserting localized text to NSTextView
  • Next by Date: Re: Drawing with NSBezierPath
  • Previous by thread: PopUpButton and NSArrayController's selection
  • Next by thread: Re: Drawing with NSBezierPath
  • Index(es):
    • Date
    • Thread