API  0.9.10
CGPath.j File Reference

Go to the source code of this file.

Typedefs

typedef CGPath kCGPathElementMoveToPoint = 0
 

Functions

function CGPathAddArc (aPath, aTransform, x, y, aRadius, aStartAngle, anEndAngle, isClockwise)
 
function CGPathAddArcToPoint (aPath, aTransform, x1, y1, x2, y2, aRadius)
 
function CGPathAddCurveToPoint (aPath, aTransform, cp1x, cp1y, cp2x, cp2y, x, y)
 
function CGPathAddLines (aPath, aTransform, points, count)
 
function CGPathAddLineToPoint (aPath, aTransform, x, y)
 
function CGPathAddPath (aPath, aTransform, anotherPath)
 
function CGPathAddQuadCurveToPoint (aPath, aTransform, cpx, cpy, x, y)
 
function CGPathAddRect (aPath, aTransform, aRect)
 
function CGPathAddRects (aPath, aTransform, rects, count)
 
function CGPathCloseSubpath (aPath)
 
function CGPathContainsPoint (aPath, aTransform, point, eoFill)
 
function CGPathCreateCopy (aPath)
 
function CGPathCreateMutable ()
 
function CGPathCreateMutableCopy (aPath)
 
function CGPathEqualToPath (aPath, anotherPath)
 
function CGPathGetBoundingBox (aPath)
 
function CGPathGetCurrentPoint (aPath)
 
function CGPathIsEmpty (aPath)
 
function CGPathMoveToPoint (aPath, aTransform, x, y)
 
function CGPathRelease (aPath)
 
function CGPathRetain (aPath)
 
function CGPathWithEllipseInRect (aRect)
 
function CGPathWithRoundedRectangleInRect (aRect, xRadius, yRadius, ne, se, sw, nw)
 

Variables

var KAPPA = 4.0 * ((SQRT2 - 1.0) / 3.0)
 
 kCGPathElementAddArc = 5
 
 kCGPathElementAddArcToPoint = 6
 
 kCGPathElementAddCurveToPoint = 3
 
 kCGPathElementAddLineToPoint = 1
 
 kCGPathElementAddQuadCurveToPoint = 2
 
 kCGPathElementCloseSubpath = 4
 

Typedef Documentation

◆ kCGPathElementMoveToPoint

typedef CGPath kCGPathElementMoveToPoint = 0

Definition at line 26 of file CGPath.j.

Variable Documentation

◆ kCGPathElementAddArc

kCGPathElementAddArc = 5

Definition at line 32 of file CGPath.j.

◆ kCGPathElementAddArcToPoint

kCGPathElementAddArcToPoint = 6

Definition at line 33 of file CGPath.j.

◆ kCGPathElementAddCurveToPoint

kCGPathElementAddCurveToPoint = 3

Definition at line 29 of file CGPath.j.

◆ kCGPathElementAddLineToPoint

kCGPathElementAddLineToPoint = 1

Definition at line 27 of file CGPath.j.

◆ kCGPathElementAddQuadCurveToPoint

kCGPathElementAddQuadCurveToPoint = 2

Definition at line 28 of file CGPath.j.

◆ kCGPathElementCloseSubpath

kCGPathElementCloseSubpath = 4

Definition at line 30 of file CGPath.j.