• 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 15:53:18 -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,

First off do you know about the NSShadow [1] class which is part of Cocoa? It is not clear if you are dropping down to Quartz 2D just for shadow or for other reasons.

-Shawn

[1] <http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSShadow.html>
_______________________________________________
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.


  • Follow-Ups:
    • Re: CGShading
      • From: Shawn Erickson <email@hidden>
References: 
 >CGShading (From: Peter Laurens <email@hidden>)

  • Prev by Date: CGShading
  • Next by Date: Re: CGShading
  • Previous by thread: CGShading
  • Next by thread: Re: CGShading
  • Index(es):
    • Date
    • Thread