API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CGContext.j File Reference

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 CGContextIsPathEmpty (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 CGContextSetLineDash (aContext, aPhase, someDashes)
 
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
 
 kCGLineCapButt = 0
 
 kCGLineCapRound = 1
 
 kCGLineCapSquare = 2
 
 kCGLineJoinBevel = 2
 
 kCGLineJoinMiter = 0
 
 kCGLineJoinRound = 1
 
 kCGPathEOFill = 1
 
 kCGPathEOFillStroke = 4
 
 kCGPathFill = 0
 
 kCGPathFillStroke = 3
 
 kCGPathStroke = 2
 

Variable Documentation

kCGBlendModeClear = 16

Definition at line 59 of file CGContext.j.

kCGBlendModeColor = 14

Definition at line 57 of file CGContext.j.

kCGBlendModeColorBurn = 7

Definition at line 50 of file CGContext.j.

kCGBlendModeColorDodge = 6

Definition at line 49 of file CGContext.j.

kCGBlendModeCopy = 17

Definition at line 60 of file CGContext.j.

kCGBlendModeDarken = 4

Definition at line 47 of file CGContext.j.

kCGBlendModeDestinationAtop = 24

Definition at line 67 of file CGContext.j.

kCGBlendModeDestinationIn = 22

Definition at line 65 of file CGContext.j.

kCGBlendModeDestinationOut = 23

Definition at line 66 of file CGContext.j.

kCGBlendModeDestinationOver = 21

Definition at line 64 of file CGContext.j.

kCGBlendModeDifference = 10

Definition at line 53 of file CGContext.j.

kCGBlendModeExclusion = 11

Definition at line 54 of file CGContext.j.

kCGBlendModeHardLight = 9

Definition at line 52 of file CGContext.j.

kCGBlendModeHue = 12

Definition at line 55 of file CGContext.j.

kCGBlendModeLighten = 5

Definition at line 48 of file CGContext.j.

kCGBlendModeLuminosity = 15

Definition at line 58 of file CGContext.j.

kCGBlendModeMultiply = 1

Definition at line 44 of file CGContext.j.

kCGBlendModeNormal = 0

CGBlendMode

Definition at line 43 of file CGContext.j.

kCGBlendModeOverlay = 3

Definition at line 46 of file CGContext.j.

kCGBlendModePlusDarker = 26

Definition at line 69 of file CGContext.j.

kCGBlendModePlusLighter = 27

Definition at line 70 of file CGContext.j.

kCGBlendModeSaturation = 13

Definition at line 56 of file CGContext.j.

kCGBlendModeScreen = 2

Definition at line 45 of file CGContext.j.

kCGBlendModeSoftLight = 8

Definition at line 51 of file CGContext.j.

kCGBlendModeSourceAtop = 20

Definition at line 63 of file CGContext.j.

kCGBlendModeSourceIn = 18

Definition at line 61 of file CGContext.j.

kCGBlendModeSourceOut = 19

Definition at line 62 of file CGContext.j.

kCGBlendModeXOR = 25

Definition at line 68 of file CGContext.j.

kCGLineCapButt = 0

Definition at line 25 of file CGContext.j.

kCGLineCapRound = 1

Definition at line 26 of file CGContext.j.

kCGLineCapSquare = 2

Definition at line 27 of file CGContext.j.

kCGLineJoinBevel = 2

Definition at line 31 of file CGContext.j.

kCGLineJoinMiter = 0

Definition at line 29 of file CGContext.j.

kCGLineJoinRound = 1

Definition at line 30 of file CGContext.j.

kCGPathEOFill = 1

Definition at line 34 of file CGContext.j.

kCGPathEOFillStroke = 4

Definition at line 37 of file CGContext.j.

kCGPathFill = 0

Definition at line 33 of file CGContext.j.

kCGPathFillStroke = 3

Definition at line 36 of file CGContext.j.

kCGPathStroke = 2

Definition at line 35 of file CGContext.j.