On Mar 12, 2008, at 1:01 PM, Luigi Castelli wrote:
Well, the results suggest that the CGGradient approach is more than
20 times slower than CGShading.
I am guessing that has to do with the fact that with CGGradient the
user is forced to calculate the geometry of the gradient at drawing
time,
whereas CGShading can do that at object creation time.
I just explored this with the Quartz2DShadings sample and found that
there was virtually no difference between the two methods in
performance today for either linear or radial shadings. Could you
expand some on your methodology? (including source code if possible)
--
David Duncan
Apple DTS Animation and Printing
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden