Mailing Lists: Apple Mailing Lists

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

CG Gradients



It seems that in core graphics to do a gradient there is this callback to change the colors. That seems like a very inefficient implementation to me. Are there any plans to provide an ability to provide a list of colors and the midpoints between the color changes. This way there could be all kinds of opportunities for optimization and caching internal to the implementation of gradients.

Also, what about other shapes where the color change is in both the x and y directions? (For example, rectangle or diamond shaped gradients or even arbitrary "mesh" like gradients based on paths.

Bryan
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
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.