The docs for CGShadingCreateAxial don't mention if the CGFunctionRef
passed to it is retained by the shading or not.
At the moment (10.4.1) it seems that CGShadingCreateAxial is
retaining the CGFunctionRef (or only using it before the create
function returns), as I can release it after passing it to
CGShadingCreateAxial and everything behaves. Is this behaviour
guaranteed, or just an aspect of the current implementation?
CGColorSpaceRelease(colorspace); //Docs specify that this is
retained by the CGShadingRef
CGFunctionRelease(function); //Don't know if this is safe
Cheers - Tom
_______________________________________________
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