Function

CGContextSynchronize

Marks a window context for update.

Declaration

void CGContextSynchronize(CGContextRef c);

Parameters

c

The window context to synchronize. If you pass a PDF context or a bitmap context, this function does nothing.

Discussion

When you call this function, all drawing operations since the last update are flushed at the next regular opportunity. Under normal conditions, you do not need to call this function.

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.

CGContextRelease

Decrements the retain count of a graphics context.

CGContextRetain

Increments the retain count of a graphics context.