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

CGContextClipToMask


  • Subject: CGContextClipToMask
  • From: aashram <email@hidden>
  • Date: Mon, 13 Apr 2009 11:53:52 +0100
  • Thread-topic: CGContextClipToMask

I need to fill a shape which is in a image with a gradient fill
like progress bar. Looking into CGContextClipToMask and using a mask to
achieve this. Would this be the best way ?

Does anyone have a very simple example where I have a grayspace mask and a
image and doing a gradient fill. I am not very familiar with CG and trying
to get to understand it better.



_______________________________________________

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

References: 
 >Re: How to open two nibs at app launch ? Beginners question (From: Mario KuĆĄnjer <email@hidden>)

  • Prev by Date: Re: Best way to pass large objects between tasks?
  • Next by Date: 'Strange' issue with NSOutlineView in NSMenuItem
  • Previous by thread: Re: How to open two nibs at app launch ? Beginners question
  • Next by thread: NSDocument reference held by NSSavePanel?
  • Index(es):
    • Date
    • Thread