Function Summary | |
---|---|
null | CGContextRelease() This function is just here for source compatability. |
void | CGContextEOFillPath(aContext) Fills in the area of the current path, using the even-odd fill rule. |
void | CGContextFillPath(aContext) Fills in the area of the current path, using the non-zero winding number rule. |
void | CGContextAddEllipseInRect(aContext, aRect) Draws the outline of an ellipse bounded by a rectangle. |
void | CGContextFillEllipseInRect(aContext, aRect) Fills an ellipse bounded by a rectangle. |
void | CGContextStrokeEllipseInRect(aContext, aRect) Strokes an ellipse bounded by the specified rectangle. |
void | CGContextStrokePath(aContext) Paints a line in the current path of the current context. |
void | CGContextStrokeLineSegments(aContext, points, count) Strokes multiple line segments. |
void | CGContextSetFillColor(aContext, aColor) Sets the current fill color. |
void | CGContextSetStrokeColor(aContext, aColor) Sets the current stroke color. |
void | CGContextFillRoundedRectangleInRect(aContext, aRect, aRadius, ne, se, sw, nw) Fills a rounded rectangle. |
Function Detail |
---|
function CGContextRelease()
function CGContextEOFillPath(aContext)
aContext
- the CGContext of the pathfunction CGContextFillPath(aContext)
aContext
- the CGContext of the pathfunction CGContextAddEllipseInRect(aContext, aRect)
aContext
- CGContext to draw onaRect
- the rectangle bounding the ellipsefunction CGContextFillEllipseInRect(aContext, aRect)
aContext
- CGContext to draw onaRect
- the rectangle bounding the ellipsefunction CGContextStrokeEllipseInRect(aContext, aRect)
aContext
- CGContext to draw onaRect
- the rectangle bounding the ellipsefunction CGContextStrokePath(aContext)
aContext
- CGContext to draw onfunction CGContextStrokeLineSegments(aContext, points, count)
aContext
- CGContext to draw onpoints
- an array with an even number of points. The
first point is the beginning of the first line segment, the second
is the end of the first line segment. The third point is
the beginning of second line segment, etc.count
- the number of points in the arrayfunction CGContextSetFillColor(aContext, aColor)
aContext
- the CGContextaColor
- the new color for the fillfunction CGContextSetStrokeColor(aContext, aColor)
aContext
- the CGContextaColor
- the new color for the strokefunction CGContextFillRoundedRectangleInRect(aContext, aRect, aRadius, ne, se, sw, nw)
aContext
- the CGContext to draw intoaRect
- the base rectangleaRadius
- the distance from the rectange corner to the rounded cornerne
- set it to YES
for a rounded northeast cornerse
- set it to YES
for a rounded southeast cornersw
- set it to YES
for a rounded southwest cornernw
- set it to YES
for a rounded northwest corner