Function

CGContextGetPathCurrentPoint

Returns the current point in a non-empty path.

Declaration

CGPoint CGContextGetPathCurrentPoint(CGContextRef c);

Parameters

c

The graphics context containing the path to examine.

Return Value

The location, in user space, of the current point in the context’s path. If there is no path, the function returns CGPointZero.

See Also

Getting Information About Paths

CGContextIsPathEmpty

Indicates whether the current path contains any subpaths.

CGContextGetPathBoundingBox

Returns the smallest rectangle that contains the current path.

CGContextPathContainsPoint

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