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

Re: NSBezierPath from NSImage


  • Subject: Re: NSBezierPath from NSImage
  • From: "Alan Smith" <email@hidden>
  • Date: Wed, 27 Dec 2006 18:06:23 -0500

Thanks Steve, that will work great but not in one case. If I don't
have the image I can't add such a shadow. And I don't really want to
just give it a shadow/focus ring.

Let me explain further.

In the end, I want to be able to "restrict" drawing to the image. In
other words, the drawing I perform should be not able to go outisde of
the edge of the image. I thought that I might somehow be able to use a
NSBezierPath to do this. I want the "image outline" to be an object
that can be passed around for drawing into.

If it helps any, I'll be able to get the rect that the image will be
drawn into before and after. So, perhaps I could take a "snapshot"
before and after and overlay the two and come out with an image of the
image that was drawn. Even if I knew how to do this I would still have
to find a way to make some sort of "restrictor."

Many thanks.
Peace, Alan


-- // Quotes from yours truly ------------------------- "You don't forget, you just don't remember." "Maturity resides in the mind." "Silence is the Universe's greatest gift." "When the World realizes that religion really is unnecessary, then it shall evolve." _______________________________________________

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: NSBezierPath from NSImage
      • From: Andrew Farmer <email@hidden>
References: 
 >Re: NSBezierPath from NSImage (From: Gregory Weston <email@hidden>)

  • Prev by Date: [Meeting] Toronto Area Cocoa and WebObjects Developer Group - January 9, 2007
  • Next by Date: changing cell controls in an NSOutlineView
  • Previous by thread: Re: NSBezierPath from NSImage
  • Next by thread: Re: NSBezierPath from NSImage
  • Index(es):
    • Date
    • Thread