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

mask nsimage


  • Subject: mask nsimage
  • From: Dominik Pich <email@hidden>
  • Date: Fri, 25 Apr 2008 18:37:35 +0200

Hi,
for hours I thought on this without coming to a working solution.

I have an NSImage I need to draw (correctly scaled) in a pecifc drawRect. (got that of course)
Now whenever I draw it I want to mask it so it appears beveled, rounded and (to make it harder) kinda '3d-isch'
--> see an IPhoto event for what I want to doo aproximaty.


Now what technqiue should I use.. I mean CG kinda looks like it does what I need but I wanted to know if there wasn't an easier way :) (the CG APIs look 'weird' and the docs dont provide sample or pseudo code for _this_)

thanks,
dominik
_______________________________________________

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


  • Follow-Ups:
    • Re: mask nsimage
      • From: David Duncan <email@hidden>
  • Prev by Date: [ANN] Media App Developer position (Northern NJ)
  • Next by Date: -init and awakeFromNib called twice.
  • Previous by thread: [ANN] Media App Developer position (Northern NJ)
  • Next by thread: Re: mask nsimage
  • Index(es):
    • Date
    • Thread