Function

CGContextIsPathEmpty

Indicates whether the current path contains any subpaths.

Declaration

bool CGContextIsPathEmpty(CGContextRef c);

Parameters

c

The graphics context containing the path to examine.

Return Value

Returns 1 if the context’s path contains no subpaths, otherwise returns 0.

See Also

Getting Information About Paths

CGContextGetPathCurrentPoint

Returns the current point in a non-empty path.

CGContextGetPathBoundingBox

Returns the smallest rectangle that contains the current path.

CGContextPathContainsPoint

Checks to see whether the specified point is contained in the current path.