On Jun 22, 2005, at 12:37 PM, Scott Thompson wrote:
The routine CGLayerGetContext is a "Get" routine. You are not
responsible for releasing something that comes from a "Get" method
(only "Copy" or "Create").
function result
The graphics context associated with the layer. You are responsible
for releasing this object when you no longer need it.
To me this implies I should release the context.
Definitely.... either a BAD bug in CG that breaks the CF
Copy/Create/Get semantics for this API. Or incredibly wrong
documentation.
Bryan
_______________________________________________
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