Function

UIGraphicsPopContext

Removes the current graphics context from the top of the stack, restoring the previous context.

Declaration

void UIGraphicsPopContext(void);

Discussion

Use this function to balance calls to the UIGraphicsPushContext function.

This function may be called from any thread of your app.

See Also

Drawing Context Primitives

UIGraphicsGetCurrentContext

Returns the current graphics context.

UIGraphicsPushContext

Makes the specified graphics context the current context.

UIGraphicsBeginImageContextWithOptions

Creates a bitmap-based graphics context with the specified options.

UIRectClip

Modifies the current clipping path by intersecting it with the specified rectangle.