CGContextRetain
Increments the retain count of a graphics context.
Declaration
extern CGContextRef CGContextRetain(CGContextRef c);Parameters
- c:
The graphics context to retain.
Return Value
The same graphics context you passed in as the context parameter.
Discussion
This function is equivalent to CFRetain, except it does not cause an error if c is NULL.