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

Re: Drawing with NSBezierPath


  • Subject: Re: Drawing with NSBezierPath
  • From: "Ethan" <email@hidden>
  • Date: Wed, 18 Apr 2007 15:11:07 +0800

Ok, I'm gonna stick to your suggestions.
Thanks.

----- Original Message ----- From: "I. Savant" <email@hidden>
To: "Ethan" <email@hidden>
Cc: <email@hidden>
Sent: Thursday, April 19, 2007 3:00 AM
Subject: Re: Drawing with NSBezierPath



On 4/18/07, Ethan <email@hidden> wrote:

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.

Well, yes, that's sort of what it's for. :-)

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.

Here's the skinny. Pay attention, it's rather brief:

1 - Navigate to /Developer/Examples/AppKit/Sketch and open the Sketch project.
2 - Delve in and figure out how it all works (it does pretty much
everything you're looking for).
3 - ???
4 - Profit!


 ;-)

--
I.S.


_______________________________________________

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


References: 
 >Drawing with NSBezierPath (From: "Ethan" <email@hidden>)
 >Re: Drawing with NSBezierPath (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Inserting localized text to NSTextView
  • Next by Date: NSURLConnection constantly redirecting
  • Previous by thread: Re: Drawing with NSBezierPath
  • Next by thread: NSURLConnection constantly redirecting
  • Index(es):
    • Date
    • Thread