Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGShading



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,

Thanks,

- Peter Laurens
_______________________________________________
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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.