Function

CGContextRelease

Decrements the retain count of a graphics context.

Declaration

void CGContextRelease(CGContextRef c);

Parameters

c

The graphics context to release.

Discussion

This function is equivalent to CFRelease, except it does not cause an error if c is NULL.

See Also

Managing Graphics Contexts

CGContextFlush

Forces all pending drawing operations in a window context to be rendered immediately to the destination device.

CGContextGetTypeID

Returns the type identifier for a graphics context.

CGContextRetain

Increments the retain count of a graphics context.

CGContextSynchronize

Marks a window context for update.