![]() |
API
0.9.6
|
Go to the source code of this file.
Macros | |
#define | rotate_scale(a, b, c, d) |
#define | rotate_scale(a, b, c, d) |
#define | scale_rotate(a, b, c, d) |
#define | scale_rotate(a, b, c, d) |
Functions | |
function | CGBitmapGraphicsContextCreate () |
function | CGContextAddArc (aContext, x, y, radius, startAngle, endAngle, clockwise) |
function | CGContextAddArcToPoint (aContext, x1, y1, x2, y2, radius) |
function | CGContextAddCurveToPoint (aContext, cp1x, cp1y, cp2x, cp2y, x, y) |
function | CGContextAddLineToPoint (aContext, x, y) |
function | CGContextAddPath (aContext, aPath) |
function | CGContextAddRect (aContext, aRect) |
function | CGContextAddRects (aContext, rects, count) |
function | CGContextBeginPath (aContext) |
function | CGContextClearRect (aContext, aRect) |
function | CGContextClip (aContext) |
function | CGContextClipToRect (aContext, aRect) |
function | CGContextClipToRects (aContext, rects, count) |
function | CGContextClosePath (aContext) |
function | CGContextDrawImage (aContext, aRect, anImage) |
function | CGContextDrawLinearGradient (aContext, aGradient, aStartPoint, anEndPoint, options) |
function | CGContextDrawPath (aContext, aMode) |
function | CGContextFillRect (aContext, aRect) |
function | CGContextFillRects (aContext, rects, count) |
function | CGContextMoveToPoint (aContext, x, y) |
function | CGContextRestoreGState (aContext) |
function | CGContextRotateCTM (aContext, anAngle) |
function | CGContextSaveGState (aContext) |
function | CGContextScaleCTM (aContext, sx, sy) |
function | CGContextSetAlpha (aContext, anAlpha) |
function | CGContextSetBlendMode (aContext, aBlendMode) |
function | CGContextSetFillColor (aContext, aColor) |
function | CGContextSetLineCap (aContext, aLineCap) |
function | CGContextSetLineJoin (aContext, aLineJoin) |
function | CGContextSetLineWidth (aContext, aLineWidth) |
function | CGContextSetMiterLimit (aContext, aMiterLimit) |
function | CGContextSetShadow (aContext, aSize, aBlur) |
function | CGContextSetShadowWithColor (aContext, aSize, aBlur, aColor) |
function | CGContextSetStrokeColor (aContext, aColor) |
function | CGContextStrokeRect (aContext, aRect) |
function | CGContextTranslateCTM (aContext, tx, ty) |
function | eigen (anAffineTransform) |
if (CPFeatureIsCompatible(CPJavaScriptCanvasTransformFeature)) | |
function | to_string (aColor) |
Variables | |
var | CANVAS_COMPOSITE_TABLE |
var | CANVAS_LINECAP_TABLE = [ "butt", "round", "square" ] |
var | CANVAS_LINEJOIN_TABLE = [ "miter", "round", "bevel" ] |
else | |
#define rotate_scale | ( | a, | |
b, | |||
c, | |||
d | |||
) |
#define rotate_scale | ( | a, | |
b, | |||
c, | |||
d | |||
) |
Definition at line 324 of file CGContextCanvas.j.
#define scale_rotate | ( | a, | |
b, | |||
c, | |||
d | |||
) |
Definition at line 299 of file CGContextCanvas.j.
#define scale_rotate | ( | a, | |
b, | |||
c, | |||
d | |||
) |
function CGBitmapGraphicsContextCreate | ( | ) |
Definition at line 459 of file CGContextCanvas.j.
function CGContextAddArc | ( | aContext | , |
x | , | ||
y | , | ||
radius | , | ||
startAngle | , | ||
endAngle | , | ||
clockwise | |||
) |
Definition at line 81 of file CGContextCanvas.j.
function CGContextAddArcToPoint | ( | aContext | , |
x1 | , | ||
y1 | , | ||
x2 | , | ||
y2 | , | ||
radius | |||
) |
Definition at line 88 of file CGContextCanvas.j.
function CGContextAddCurveToPoint | ( | aContext | , |
cp1x | , | ||
cp1y | , | ||
cp2x | , | ||
cp2y | , | ||
x | , | ||
y | |||
) |
Definition at line 93 of file CGContextCanvas.j.
function CGContextAddLineToPoint | ( | aContext | , |
x | , | ||
y | |||
) |
Definition at line 98 of file CGContextCanvas.j.
function CGContextAddPath | ( | aContext | , |
aPath | |||
) |
Definition at line 103 of file CGContextCanvas.j.
function CGContextAddRect | ( | aContext | , |
aRect | |||
) |
Definition at line 138 of file CGContextCanvas.j.
function CGContextAddRects | ( | aContext | , |
rects | , | ||
count | |||
) |
Definition at line 143 of file CGContextCanvas.j.
function CGContextBeginPath | ( | aContext | ) |
Definition at line 157 of file CGContextCanvas.j.
function CGContextClearRect | ( | aContext | , |
aRect | |||
) |
Definition at line 172 of file CGContextCanvas.j.
function CGContextClip | ( | aContext | ) |
Definition at line 212 of file CGContextCanvas.j.
function CGContextClipToRect | ( | aContext | , |
aRect | |||
) |
Definition at line 217 of file CGContextCanvas.j.
function CGContextClipToRects | ( | aContext | , |
rects | , | ||
count | |||
) |
Definition at line 226 of file CGContextCanvas.j.
function CGContextClosePath | ( | aContext | ) |
Definition at line 162 of file CGContextCanvas.j.
function CGContextDrawImage | ( | aContext | , |
aRect | , | ||
anImage | |||
) |
Definition at line 435 of file CGContextCanvas.j.
function CGContextDrawLinearGradient | ( | aContext | , |
aGradient | , | ||
aStartPoint | , | ||
anEndPoint | , | ||
options | |||
) |
Definition at line 445 of file CGContextCanvas.j.
function CGContextDrawPath | ( | aContext | , |
aMode | |||
) |
Definition at line 177 of file CGContextCanvas.j.
function CGContextFillRect | ( | aContext | , |
aRect | |||
) |
Definition at line 188 of file CGContextCanvas.j.
function CGContextFillRects | ( | aContext | , |
rects | , | ||
count | |||
) |
Definition at line 193 of file CGContextCanvas.j.
function CGContextMoveToPoint | ( | aContext | , |
x | , | ||
y | |||
) |
Definition at line 167 of file CGContextCanvas.j.
function CGContextRestoreGState | ( | aContext | ) |
Definition at line 51 of file CGContextCanvas.j.
function CGContextRotateCTM | ( | aContext | , |
anAngle | |||
) |
Definition at line 284 of file CGContextCanvas.j.
function CGContextSaveGState | ( | aContext | ) |
Definition at line 46 of file CGContextCanvas.j.
function CGContextScaleCTM | ( | aContext | , |
sx | , | ||
sy | |||
) |
Definition at line 289 of file CGContextCanvas.j.
function CGContextSetAlpha | ( | aContext | , |
anAlpha | |||
) |
Definition at line 236 of file CGContextCanvas.j.
function CGContextSetBlendMode | ( | aContext | , |
aBlendMode | |||
) |
Definition at line 76 of file CGContextCanvas.j.
function CGContextSetFillColor | ( | aContext | , |
aColor | |||
) |
Definition at line 241 of file CGContextCanvas.j.
function CGContextSetLineCap | ( | aContext | , |
aLineCap | |||
) |
Definition at line 56 of file CGContextCanvas.j.
function CGContextSetLineJoin | ( | aContext | , |
aLineJoin | |||
) |
Definition at line 61 of file CGContextCanvas.j.
function CGContextSetLineWidth | ( | aContext | , |
aLineWidth | |||
) |
Definition at line 66 of file CGContextCanvas.j.
function CGContextSetMiterLimit | ( | aContext | , |
aMiterLimit | |||
) |
Definition at line 71 of file CGContextCanvas.j.
function CGContextSetShadow | ( | aContext | , |
aSize | , | ||
aBlur | |||
) |
Definition at line 269 of file CGContextCanvas.j.
function CGContextSetShadowWithColor | ( | aContext | , |
aSize | , | ||
aBlur | , | ||
aColor | |||
) |
Definition at line 276 of file CGContextCanvas.j.
function CGContextSetStrokeColor | ( | aContext | , |
aColor | |||
) |
Definition at line 264 of file CGContextCanvas.j.
function CGContextStrokeRect | ( | aContext | , |
aRect | |||
) |
Definition at line 207 of file CGContextCanvas.j.
function CGContextTranslateCTM | ( | aContext | , |
tx | , | ||
ty | |||
) |
Definition at line 294 of file CGContextCanvas.j.
function eigen | ( | anAffineTransform | ) |
Definition at line 349 of file CGContextCanvas.j.
Definition at line 355 of file CGContextCanvas.j.
function to_string | ( | aColor | ) |
Definition at line 440 of file CGContextCanvas.j.
var CANVAS_COMPOSITE_TABLE |
Definition at line 25 of file CGContextCanvas.j.
var CANVAS_LINECAP_TABLE = [ "butt", "round", "square" ] |
Definition at line 23 of file CGContextCanvas.j.
var CANVAS_LINEJOIN_TABLE = [ "miter", "round", "bevel" ] |
Definition at line 24 of file CGContextCanvas.j.
else |
Definition at line 365 of file CGContextCanvas.j.