#include "CGGeometry.h"
#include "CGAffineTransform.h"
#include "CGContextCanvas.j"
#include "CGContextVML.j"
Go to the source code of this file.
function CGContextAddEllipseInRect | ( | aContext | , | |
aRect | ||||
) |
Draws the outline of an ellipse bounded by a rectangle.
aContext | CGContext to draw on | |
aRect | the rectangle bounding the ellipse |
Definition at line 460 of file CGContext.j.
function CGContextEOFillPath | ( | aContext | ) |
Fills in the area of the current path, using the even-odd fill rule.
aContext | the CGContext of the path |
Definition at line 435 of file CGContext.j.
function CGContextFillEllipseInRect | ( | aContext | , | |
aRect | ||||
) |
Fills an ellipse bounded by a rectangle.
aContext | CGContext to draw on | |
aRect | the rectangle bounding the ellipse |
Definition at line 489 of file CGContext.j.
function CGContextFillPath | ( | aContext | ) |
Fills in the area of the current path, using the non-zero winding number rule.
aContext | the CGContext of the path |
Definition at line 446 of file CGContext.j.
function CGContextFillRoundedRectangleInRect | ( | aContext | , | |
aRect | , | |||
aRadius | , | |||
ne | , | |||
se | , | |||
sw | , | |||
nw | ||||
) |
Fills a rounded rectangle.
aContext | the CGContext to draw into | |
aRect | the base rectangle | |
aRadius | the distance from the rectange corner to the rounded corner | |
ne | set it to YES for a rounded northeast corner | |
se | set it to YES for a rounded southeast corner | |
sw | set it to YES for a rounded southwest corner | |
nw | set it to YES for a rounded northwest corner |
Definition at line 590 of file CGContext.j.
function CGContextRelease | ( | ) |
This function is just here for source compatability. It does nothing. CGContext
Definition at line 190 of file CGContext.j.
function CGContextRetain | ( | aContext | ) |
This function is just here for source compatability. It does nothing.
aContext | a CGContext |
Definition at line 200 of file CGContext.j.
function CGContextSetFillColor | ( | aContext | , | |
aColor | ||||
) |
Sets the current fill color.
aContext | the CGContext | |
aColor | the new color for the fill |
Definition at line 559 of file CGContext.j.
function CGContextSetStrokeColor | ( | aContext | , | |
aColor | ||||
) |
Sets the current stroke color.
aContext | the CGContext | |
aColor | the new color for the stroke |
Definition at line 572 of file CGContext.j.
function CGContextStrokeEllipseInRect | ( | aContext | , | |
aRect | ||||
) |
Strokes an ellipse bounded by the specified rectangle.
aContext | CGContext to draw on | |
aRect | the rectangle bounding the ellipse |
Definition at line 502 of file CGContext.j.
function CGContextStrokeLineSegments | ( | aContext | , | |
points | , | |||
count | ||||
) |
Strokes multiple line segments.
aContext | CGContext to draw on | |
points | 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 array |
Definition at line 530 of file CGContext.j.
function CGContextStrokePath | ( | aContext | ) |
Paints a line in the current path of the current context.
aContext | CGContext to draw on |
Definition at line 514 of file CGContext.j.
else if | ( | CPFeatureIsCompatible(CPVMLFeature) | ) |
Definition at line 640 of file CGContext.j.
if | ( | CPFeatureIsCompatible(CPHTMLCanvasFeature) | ) |
Definition at line 636 of file CGContext.j.
if | ( | ! | CPFeatureIsCompatibleCPHTMLCanvasFeature | ) |
Definition at line 206 of file CGContext.j.
var KAPPA = 4.0 * ((SQRT2 - 1.0) / 3.0) |
Definition at line 451 of file CGContext.j.
kCGBlendModeClear = 16 |
Definition at line 128 of file CGContext.j.
kCGBlendModeColor = 14 |
Definition at line 118 of file CGContext.j.
Definition at line 83 of file CGContext.j.
Definition at line 78 of file CGContext.j.
kCGBlendModeCopy = 17 |
Definition at line 133 of file CGContext.j.
Definition at line 68 of file CGContext.j.
Definition at line 168 of file CGContext.j.
Definition at line 158 of file CGContext.j.
Definition at line 163 of file CGContext.j.
Definition at line 153 of file CGContext.j.
Definition at line 98 of file CGContext.j.
Definition at line 103 of file CGContext.j.
Definition at line 93 of file CGContext.j.
kCGBlendModeHue = 12 |
Definition at line 108 of file CGContext.j.
Definition at line 73 of file CGContext.j.
Definition at line 123 of file CGContext.j.
Definition at line 53 of file CGContext.j.
Definition at line 48 of file CGContext.j.
Definition at line 63 of file CGContext.j.
Definition at line 178 of file CGContext.j.
Definition at line 183 of file CGContext.j.
Definition at line 113 of file CGContext.j.
Definition at line 58 of file CGContext.j.
Definition at line 88 of file CGContext.j.
Definition at line 148 of file CGContext.j.
kCGBlendModeSourceIn = 18 |
Definition at line 138 of file CGContext.j.
Definition at line 143 of file CGContext.j.
kCGBlendModeXOR = 25 |
Definition at line 173 of file CGContext.j.
import CGGeometry j import CGAffineTransform j import CGPath j kCGLineCapButt = 0 |
Definition at line 30 of file CGContext.j.
kCGLineCapRound = 1 |
Definition at line 31 of file CGContext.j.
kCGLineCapSquare = 2 |
Definition at line 32 of file CGContext.j.
kCGLineJoinBevel = 2 |
Definition at line 36 of file CGContext.j.
kCGLineJoinMiter = 0 |
Definition at line 34 of file CGContext.j.
kCGLineJoinRound = 1 |
Definition at line 35 of file CGContext.j.
kCGPathEOFill = 1 |
Definition at line 39 of file CGContext.j.
Definition at line 42 of file CGContext.j.
kCGPathFill = 0 |
Definition at line 38 of file CGContext.j.
Definition at line 41 of file CGContext.j.
kCGPathStroke = 2 |
Definition at line 40 of file CGContext.j.