Function

CGContextEOFillPath

Paints the area within the current path, using the even-odd fill rule.

Declaration

void CGContextEOFillPath(CGContextRef c);

Parameters

c

A graphics context that contains a path to fill.

Discussion

Each subpath is treated as if it were closed by calling CGContextClosePath. The even-odd rule is described in Filling a Path in Quartz 2D Programming Guide. The current path is cleared as a side effect of calling this function.

See Also

Painting Paths

CGContextClearRect

Paints a transparent rectangle.

CGContextDrawPath

Draws the current path using the provided drawing mode.

CGContextFillPath

Paints the area within the current path, using the nonzero winding number rule.

CGContextFillRect

Paints the area contained within the provided rectangle, using the fill color in the current graphics state.

CGContextFillRects

Paints the areas contained within the provided rectangles, using the fill color in the current graphics state.

CGContextFillEllipseInRect

Paints the area of the ellipse that fits inside the provided rectangle, using the fill color in the current graphics state.

CGContextStrokePath

Paints a line along the current path.

CGContextStrokeRect

Paints a rectangular path.

CGContextStrokeRectWithWidth

Paints a rectangular path, using the specified line width.

CGContextReplacePathWithStrokedPath

Replaces the path in the graphics context with the stroked version of the path.

CGContextStrokeEllipseInRect

Strokes an ellipse that fits inside the specified rectangle.

CGContextStrokeLineSegments

Strokes a sequence of line segments.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software