[Previous]
[Up]
[Next]
NSBezierPath
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Gui/NSBezierPath.h
Inherits from: NSObject
Conforms to: NSCoding
Instance Variables
Methods
Class Methods
+ (NSBezierPath*) bezierPath;
+ (NSBezierPath*) bezierPathWithRect: (NSRect)aRect;
+ (void) clipRect: (NSRect)aRect;
+ (void) drawPackedGlyphs: (constchar*)packedGlyphs;
+ (void) fillRect: (NSRect)aRect;
+ (void) setFlatness: (float)flatness;
+ (void) setHalftonePhase: (NSPoint)aPoint;
+ (void) setLineCapStyle: (NSLineCapStyle)lineCap;
+ (void) setLineJoinStyle: (NSLineJoinStyle)lineJoinStyle;
+ (void) setLineWidth: (float)width;
+ (void) setMiterLimit: (float)limit;
+ (void) strokeLineFromPoint: (NSPoint)point1 toPoint: (NSPoint)point2;
+ (void) strokeRect: (NSRect)aRect;
Instances Methods
- (void) addClip;
- (void) appendBezierPath: (NSBezierPath*)aPath;
- (void) appendBezierPathWithArcWithCenter: (NSPoint)center radius: (float)radius startAngle: (float)startAngle;
- (void) appendBezierPathWithGlyph: (NSGlyph)aGlyph;
- (void) appendBezierPathWithGlyphs: (NSGlyph*)glyphs count: (int)count inFont: (NSFont*)fontObj;
- (void) appendBezierPathWithOvalInRect: (NSRect)aRect;
- (void) appendBezierPathWithPackedGlyphs: (constchar*)packedGlyphs;
- (void) appendBezierPathWithPoints: (NSPoint*)points;
- (void) appendBezierPathWithRect: (NSRect)aRect;
- (NSRect) bounds;
- (BOOL) cachesBezierPath;
- (void) closePath;
- (NSRect) controlPointBounds;
- (NSPoint) currentPoint;
- (void) curveToPoint: (NSPoint)aPoint controlPoint1: (NSPoint)controlPoint1;
- (int) elementCount;
- (NSBezierPathElementType) elementTypeAtIndex: (int)index;
- (NSBezierPathElementType) elementTypeAtIndex: (int)index associatedPoints: (NSPoint*)points;
- (void) fill;
- (BOOL) isHitByPath: (NSBezierPath*)aBezierPath;
- (BOOL) isHitByPoint: (NSPoint)aPoint;
- (BOOL) isHitByRect: (NSRect)aRect;
- (BOOL) isStrokeHitByPath: (NSBezierpath*)aBezierPath;
- (BOOL) isStrokeHitByPoint: (NSPoint)aPoint;
- (BOOL) isStrokeHitByRect: (NSRect)aRect;
- (void) lineToPoint: (NSPoint)aPoint;
- (void) moveToPoint: (NSPoint)aPoint;
- (int) pathElementIndexForPointIndex: (int)index;
- (NSPoint) pointAtIndex: (int)index;
- (int) pointCount;
- (int) pointIndexForPathElementIndex: (int)index;
- (void) relativeCurveToPoint: (NSPoint)aPoint controlPoint1: (NSPoint)controlPoint1;
- (void) relativeLineToPoint: (NSPoint)aPoint;
- (void) relativeMoveToPoint: (NSPoint)aPoint;
- (void) removeLastElement;
- (void) reset;
- (void) setCachesBezierPath: (BOOL)flag;
- (void) setClip;
- (void) setPointAtIndex: (int)index toPoint: (NSPoint)aPoint;
- (void) setWindingRule: (NSWindingRule)aWindingRule;
- (void) stroke;
- (NSWindingRule) windingRule;