API  0.9.10
CGContext.j File Reference

Go to the source code of this file.

Typedefs

typedef CGContext kCGLineCapButt = 0
 

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
 
 kCGLineCapRound = 1
 
 kCGLineCapSquare = 2
 
 kCGLineJoinBevel = 2
 
 kCGLineJoinMiter = 0
 
 kCGLineJoinRound = 1
 
 kCGPathEOFill = 1
 
 kCGPathEOFillStroke = 4
 
 kCGPathFill = 0
 
 kCGPathFillStroke = 3
 
 kCGPathStroke = 2
 

Typedef Documentation

◆ kCGLineCapButt

typedef CGContext kCGLineCapButt = 0

Definition at line 26 of file CGContext.j.

Variable Documentation

◆ kCGBlendModeClear

kCGBlendModeClear = 16

Definition at line 60 of file CGContext.j.

◆ kCGBlendModeColor

kCGBlendModeColor = 14

Definition at line 58 of file CGContext.j.

◆ kCGBlendModeColorBurn

kCGBlendModeColorBurn = 7

Definition at line 51 of file CGContext.j.

◆ kCGBlendModeColorDodge

kCGBlendModeColorDodge = 6

Definition at line 50 of file CGContext.j.

◆ kCGBlendModeCopy

kCGBlendModeCopy = 17

Definition at line 61 of file CGContext.j.

◆ kCGBlendModeDarken

kCGBlendModeDarken = 4

Definition at line 48 of file CGContext.j.

◆ kCGBlendModeDestinationAtop

kCGBlendModeDestinationAtop = 24

Definition at line 68 of file CGContext.j.

◆ kCGBlendModeDestinationIn

kCGBlendModeDestinationIn = 22

Definition at line 66 of file CGContext.j.

◆ kCGBlendModeDestinationOut

kCGBlendModeDestinationOut = 23

Definition at line 67 of file CGContext.j.

◆ kCGBlendModeDestinationOver

kCGBlendModeDestinationOver = 21

Definition at line 65 of file CGContext.j.

◆ kCGBlendModeDifference

kCGBlendModeDifference = 10

Definition at line 54 of file CGContext.j.

◆ kCGBlendModeExclusion

kCGBlendModeExclusion = 11

Definition at line 55 of file CGContext.j.

◆ kCGBlendModeHardLight

kCGBlendModeHardLight = 9

Definition at line 53 of file CGContext.j.

◆ kCGBlendModeHue

kCGBlendModeHue = 12

Definition at line 56 of file CGContext.j.

◆ kCGBlendModeLighten

kCGBlendModeLighten = 5

Definition at line 49 of file CGContext.j.

◆ kCGBlendModeLuminosity

kCGBlendModeLuminosity = 15

Definition at line 59 of file CGContext.j.

◆ kCGBlendModeMultiply

kCGBlendModeMultiply = 1

Definition at line 45 of file CGContext.j.

◆ kCGBlendModeNormal

kCGBlendModeNormal = 0

CGBlendMode

Definition at line 44 of file CGContext.j.

◆ kCGBlendModeOverlay

kCGBlendModeOverlay = 3

Definition at line 47 of file CGContext.j.

◆ kCGBlendModePlusDarker

kCGBlendModePlusDarker = 26

Definition at line 70 of file CGContext.j.

◆ kCGBlendModePlusLighter

kCGBlendModePlusLighter = 27

Definition at line 71 of file CGContext.j.

◆ kCGBlendModeSaturation

kCGBlendModeSaturation = 13

Definition at line 57 of file CGContext.j.

◆ kCGBlendModeScreen

kCGBlendModeScreen = 2

Definition at line 46 of file CGContext.j.

◆ kCGBlendModeSoftLight

kCGBlendModeSoftLight = 8

Definition at line 52 of file CGContext.j.

◆ kCGBlendModeSourceAtop

kCGBlendModeSourceAtop = 20

Definition at line 64 of file CGContext.j.

◆ kCGBlendModeSourceIn

kCGBlendModeSourceIn = 18

Definition at line 62 of file CGContext.j.

◆ kCGBlendModeSourceOut

kCGBlendModeSourceOut = 19

Definition at line 63 of file CGContext.j.

◆ kCGBlendModeXOR

kCGBlendModeXOR = 25

Definition at line 69 of file CGContext.j.

◆ kCGLineCapRound

kCGLineCapRound = 1

Definition at line 27 of file CGContext.j.

◆ kCGLineCapSquare

kCGLineCapSquare = 2

Definition at line 28 of file CGContext.j.

◆ kCGLineJoinBevel

kCGLineJoinBevel = 2

Definition at line 32 of file CGContext.j.

◆ kCGLineJoinMiter

kCGLineJoinMiter = 0

Definition at line 30 of file CGContext.j.

◆ kCGLineJoinRound

kCGLineJoinRound = 1

Definition at line 31 of file CGContext.j.

◆ kCGPathEOFill

kCGPathEOFill = 1

Definition at line 35 of file CGContext.j.

◆ kCGPathEOFillStroke

kCGPathEOFillStroke = 4

Definition at line 38 of file CGContext.j.

◆ kCGPathFill

kCGPathFill = 0

Definition at line 34 of file CGContext.j.

◆ kCGPathFillStroke

kCGPathFillStroke = 3

Definition at line 37 of file CGContext.j.

◆ kCGPathStroke

kCGPathStroke = 2

Definition at line 36 of file CGContext.j.