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

Re: CGShading


  • Subject: Re: CGShading
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 31 Jul 2004 16:09:03 -0700

On Jul 31, 2004, at 3:40 PM, Peter Laurens wrote:

Hi,

I am attempting to draw a simple gradient shade, and I have been slowly going through the Quartz documentation to try and learn how to achieve this.

I was pleased to see a sample project that shows off some code how to do this. Unfortunately it's a very complex set of code with all sorts of bits scattered all over the place in strange different functions, and so it's difficult for me to follow properly... impossible in fact. I am having a hard time stripping out the core stuff I need for a gradient to be drawn, and the extra fluff the developer has added around it.

Does anyone have a real simple CGShading demo project for me to take a look at?

I'd be incredibly grateful for any help at all,

Do these help you?

<http://developer.apple.com/documentation/GraphicsImaging/Conceptual/ drawingwithquartz2d/dq_shadings/chapter_10_section_4.html>

<http://www.cocoadev.com/index.pl?GradientFill7>

-Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >CGShading (From: Peter Laurens <email@hidden>)

  • Prev by Date: Re: Networking in cocoa
  • Next by Date: Re: What does it mean when po puts % before class name?
  • Previous by thread: Re: CGShading
  • Next by thread: Re: CGShading
  • Index(es):
    • Date
    • Thread