[Previous] [Up] [Next]

NSBezierPath

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSBezierPath

NSBezierPath

Declared in: Gui/NSBezierPath.h

Inherits from: NSObject

Conforms to: NSCoding



bezierPath

+ (NSBezierPath*) bezierPath

bezierPathWithRect:

+ (NSBezierPath*) bezierPathWithRect: (NSRect)aRect

clipRect:

+ (void) clipRect: (NSRect)aRect

drawPackedGlyphs:

+ (void) drawPackedGlyphs: (constchar*)packedGlyphs

fillRect:

+ (void) fillRect: (NSRect)aRect

setFlatness:

+ (void) setFlatness: (float)flatness

setHalftonePhase:

+ (void) setHalftonePhase: (NSPoint)aPoint

setLineCapStyle:

+ (void) setLineCapStyle: (NSLineCapStyle)lineCap

setLineJoinStyle:

+ (void) setLineJoinStyle: (NSLineJoinStyle)lineJoinStyle

setLineWidth:

+ (void) setLineWidth: (float)width

setMiterLimit:

+ (void) setMiterLimit: (float)limit

strokeLineFromPoint:toPoint:

+ (void) strokeLineFromPoint: (NSPoint)point1 toPoint: (NSPoint)point2

strokeRect:

+ (void) strokeRect: (NSRect)aRect

addClip

- (void) addClip

appendBezierPath:

- (void) appendBezierPath: (NSBezierPath*)aPath

appendBezierPathWithArcWithCenter:radius:startAngle:

- (void) appendBezierPathWithArcWithCenter: (NSPoint)center radius: (float)radius startAngle: (float)startAngle

appendBezierPathWithGlyph:

- (void) appendBezierPathWithGlyph: (NSGlyph)aGlyph

appendBezierPathWithGlyphs:count:inFont:

- (void) appendBezierPathWithGlyphs: (NSGlyph*)glyphs count: (int)count inFont: (NSFont*)fontObj

appendBezierPathWithOvalInRect:

- (void) appendBezierPathWithOvalInRect: (NSRect)aRect

appendBezierPathWithPackedGlyphs:

- (void) appendBezierPathWithPackedGlyphs: (constchar*)packedGlyphs

appendBezierPathWithPoints:

- (void) appendBezierPathWithPoints: (NSPoint*)points

appendBezierPathWithRect:

- (void) appendBezierPathWithRect: (NSRect)aRect

bounds

- (NSRect) bounds

cachesBezierPath

- (BOOL) cachesBezierPath

closePath

- (void) closePath

controlPointBounds

- (NSRect) controlPointBounds

currentPoint

- (NSPoint) currentPoint

curveToPoint:controlPoint1:

- (void) curveToPoint: (NSPoint)aPoint controlPoint1: (NSPoint)controlPoint1

elementCount

- (int) elementCount

elementTypeAtIndex:

- (NSBezierPathElementType) elementTypeAtIndex: (int)index

elementTypeAtIndex:associatedPoints:

- (NSBezierPathElementType) elementTypeAtIndex: (int)index associatedPoints: (NSPoint*)points

fill

- (void) fill

isHitByPath:

- (BOOL) isHitByPath: (NSBezierPath*)aBezierPath

isHitByPoint:

- (BOOL) isHitByPoint: (NSPoint)aPoint

isHitByRect:

- (BOOL) isHitByRect: (NSRect)aRect

isStrokeHitByPath:

- (BOOL) isStrokeHitByPath: (NSBezierpath*)aBezierPath

isStrokeHitByPoint:

- (BOOL) isStrokeHitByPoint: (NSPoint)aPoint

isStrokeHitByRect:

- (BOOL) isStrokeHitByRect: (NSRect)aRect

lineToPoint:

- (void) lineToPoint: (NSPoint)aPoint

moveToPoint:

- (void) moveToPoint: (NSPoint)aPoint

pathElementIndexForPointIndex:

- (int) pathElementIndexForPointIndex: (int)index

pointAtIndex:

- (NSPoint) pointAtIndex: (int)index

pointCount

- (int) pointCount

pointIndexForPathElementIndex:

- (int) pointIndexForPathElementIndex: (int)index

relativeCurveToPoint:controlPoint1:

- (void) relativeCurveToPoint: (NSPoint)aPoint controlPoint1: (NSPoint)controlPoint1

relativeLineToPoint:

- (void) relativeLineToPoint: (NSPoint)aPoint

relativeMoveToPoint:

- (void) relativeMoveToPoint: (NSPoint)aPoint

removeLastElement

- (void) removeLastElement

reset

- (void) reset

setCachesBezierPath:

- (void) setCachesBezierPath: (BOOL)flag

setClip

- (void) setClip

setPointAtIndex:toPoint:

- (void) setPointAtIndex: (int)index toPoint: (NSPoint)aPoint

setWindingRule:

- (void) setWindingRule: (NSWindingRule)aWindingRule

stroke

- (void) stroke

windingRule

- (NSWindingRule) windingRule