#include "CGGeometry.h"
#include "CGAffineTransform.h"
#include "CGContextCanvas.j"
#include "CGContextVML.j"
Go to the source code of this file.
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 | CGContextAddEllipseInRect (aContext, aRect) |
function | CGContextAddLines (aContext, points, count) |
function | CGContextAddLineToPoint (aContext, x, y) |
function | CGContextAddPath (aContext, aPath) |
function | CGContextAddQuadCurveToPoint (aContext, cpx, cpy, x, y) |
function | CGContextAddRect (aContext, aRect) |
function | CGContextAddRects (aContext, rects, count) |
function | CGContextBeginPath (aContext) |
function | CGContextClosePath (aContext) |
function | CGContextConcatCTM (aContext, aTransform) |
function | CGContextEOFillPath (aContext) |
function | CGContextFillEllipseInRect (aContext, aRect) |
function | CGContextFillPath (aContext) |
function | CGContextFillRect (aContext, aRect) |
function | CGContextFillRects (aContext, rects, count) |
function | CGContextFillRoundedRectangleInRect (aContext, aRect, aRadius, ne, se, sw, nw) |
function | CGContextGetCTM (aContext) |
function | CGContextMoveToPoint (aContext, x, y) |
function | CGContextRelease () |
function | CGContextRestoreGState (aContext) |
function | CGContextRetain (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 | CGContextStrokeEllipseInRect (aContext, aRect) |
function | CGContextStrokeLineSegments (aContext, points, count) |
function | CGContextStrokePath (aContext) |
function | CGContextStrokeRect (aContext, aRect) |
function | CGContextStrokeRectWithWidth (aContext, aRect, aWidth) |
function | CGContextStrokeRoundedRectangleInRect (aContext, aRect, aRadius, ne, se, sw, nw) |
function | CGContextTranslateCTM (aContext, tx, ty) |
function | CGGStateCreate () |
function | CGGStateCreateCopy (aGState) |
Variables | |
var | KAPPA = 4.0 * ((SQRT2 - 1.0) / 3.0) |
kCGBlendModeClear = 16 | |
kCGBlendModeColor = 14 | |
kCGBlendModeColorBurn = 7 | |
kCGBlendModeColorDodge = 6 | |
kCGBlendModeCopy = 17 | |
kCGBlendModeDarken = 4 | |
kCGBlendModeDestinationAtop = 24 | |
kCGBlendModeDestinationIn = 22 | |
kCGBlendModeDestinationOut = 23 | |
kCGBlendModeDestinationOver = 21 | |
kCGBlendModeDifference = 10 | |
kCGBlendModeExclusion = 11 | |
kCGBlendModeHardLight = 9 | |
kCGBlendModeHue = 12 | |
kCGBlendModeLighten = 5 | |
kCGBlendModeLuminosity = 15 | |
kCGBlendModeMultiply = 1 | |
kCGBlendModeNormal = 0 | |
kCGBlendModeOverlay = 3 | |
kCGBlendModePlusDarker = 26 | |
kCGBlendModePlusLighter = 27 | |
kCGBlendModeSaturation = 13 | |
kCGBlendModeScreen = 2 | |
kCGBlendModeSoftLight = 8 | |
kCGBlendModeSourceAtop = 20 | |
kCGBlendModeSourceIn = 18 | |
kCGBlendModeSourceOut = 19 | |
kCGBlendModeXOR = 25 | |
import CGGeometry j import CGAffineTransform j import CGPath j | kCGLineCapButt = 0 |
kCGLineCapRound = 1 | |
kCGLineCapSquare = 2 | |
kCGLineJoinBevel = 2 | |
kCGLineJoinMiter = 0 | |
kCGLineJoinRound = 1 | |
kCGPathEOFill = 1 | |
kCGPathEOFillStroke = 4 | |
kCGPathFill = 0 | |
kCGPathFillStroke = 3 | |
kCGPathStroke = 2 |
kCGBlendModeClear = 16 |
Definition at line 64 of file CGContext.j.
kCGBlendModeColor = 14 |
Definition at line 62 of file CGContext.j.
Definition at line 55 of file CGContext.j.
Definition at line 54 of file CGContext.j.
kCGBlendModeCopy = 17 |
Definition at line 65 of file CGContext.j.
Definition at line 52 of file CGContext.j.
Definition at line 72 of file CGContext.j.
Definition at line 70 of file CGContext.j.
Definition at line 71 of file CGContext.j.
Definition at line 69 of file CGContext.j.
Definition at line 58 of file CGContext.j.
Definition at line 59 of file CGContext.j.
Definition at line 57 of file CGContext.j.
kCGBlendModeHue = 12 |
Definition at line 60 of file CGContext.j.
Definition at line 53 of file CGContext.j.
Definition at line 63 of file CGContext.j.
Definition at line 49 of file CGContext.j.
CGBlendMode
Definition at line 48 of file CGContext.j.
Definition at line 51 of file CGContext.j.
Definition at line 74 of file CGContext.j.
Definition at line 75 of file CGContext.j.
Definition at line 61 of file CGContext.j.
Definition at line 50 of file CGContext.j.
Definition at line 56 of file CGContext.j.
Definition at line 68 of file CGContext.j.
kCGBlendModeSourceIn = 18 |
Definition at line 66 of file CGContext.j.
Definition at line 67 of file CGContext.j.
kCGBlendModeXOR = 25 |
Definition at line 73 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.