NSBezierPath.m
Authors
- Enrico Sersale(
enrico@imago.ro
)
-
The NSBezierPath class
Copyright: (C) 1999 Free Software Foundation, Inc.
Software documentation for the NSBezierPath class
Declared: AppKit/NSBezierPath.h
Conform: NSCopying
Conform: NSCoding
bezierPath
+ (NSBezierPath*) bezierPath;
bezierPathWithOvalInRect:
+ (NSBezierPath*) bezierPathWithOvalInRect: (NSRect)rect;
bezierPathWithRect:
+ (NSBezierPath*) bezierPathWithRect: (NSRect)aRect;
clipRect:
+ (void) clipRect: (NSRect)aRect;
defaultFlatness
+ (float) defaultFlatness;
defaultLineCapStyle
+ (NSLineCapStyle) defaultLineCapStyle;
defaultLineJoinStyle
+ (NSLineJoinStyle) defaultLineJoinStyle;
defaultLineWidth
+ (float) defaultLineWidth;
defaultMiterLimit
+ (float) defaultMiterLimit;
defaultWindingRule
+ (NSWindingRule) defaultWindingRule;
drawPackedGlyphs:atPoint:
+ (void) drawPackedGlyphs: (const char*)packedGlyphs atPoint: (NSPoint)aPoint;
fillRect:
+ (void) fillRect: (NSRect)aRect;
setDefaultFlatness:
+ (void) setDefaultFlatness: (float)flatness;
setDefaultLineCapStyle:
+ (void) setDefaultLineCapStyle: (NSLineCapStyle)lineCapStyle;
setDefaultLineJoinStyle:
+ (void) setDefaultLineJoinStyle: (NSLineJoinStyle)lineJoinStyle;
setDefaultLineWidth:
+ (void) setDefaultLineWidth: (float)lineWidth;
setDefaultMiterLimit:
+ (void) setDefaultMiterLimit: (float)limit;
setDefaultWindingRule:
+ (void) setDefaultWindingRule: (NSWindingRule)windingRule;
strokeLineFromPoint:toPoint:
+ (void) strokeLineFromPoint: (NSPoint)point1 toPoint: (NSPoint)point2;
strokeRect:
+ (void) strokeRect: (NSRect)aRect;
addClip
- (void) addClip;
appendBezierPath:
- (void) appendBezierPath: (NSBezierPath*)aPath;
appendBezierPathWithArcFromPoint:toPoint:radius:
- (void) appendBezierPathWithArcFromPoint: (NSPoint)point1 toPoint: (NSPoint)point2 radius: (float)radius;
appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:
- (void) appendBezierPathWithArcWithCenter: (NSPoint)center radius: (float)radius startAngle: (float)startAngle endAngle: (float)endAngle;
appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:clockwise:
- (void) appendBezierPathWithArcWithCenter: (NSPoint)center radius: (float)radius startAngle: (float)startAngle endAngle: (float)endAngle clockwise: (BOOL)clockwise;
appendBezierPathWithGlyph:inFont:
- (void) appendBezierPathWithGlyph: (NSGlyph)glyph inFont: (NSFont*)font;
appendBezierPathWithGlyphs:count:inFont:
- (void) appendBezierPathWithGlyphs: (NSGlyph*)glyphs count: (int)count inFont: (NSFont*)font;
appendBezierPathWithOvalInRect:
- (void) appendBezierPathWithOvalInRect: (NSRect)aRect;
appendBezierPathWithPackedGlyphs:
- (void) appendBezierPathWithPackedGlyphs: (const char*)packedGlyphs;
appendBezierPathWithPoints:count:
- (void) appendBezierPathWithPoints: (NSPoint*)points count: (int)count;
appendBezierPathWithRect:
- (void) appendBezierPathWithRect: (NSRect)rect;
bezierPathByFlatteningPath
- (NSBezierPath*) bezierPathByFlatteningPath;
bezierPathByReversingPath
- (NSBezierPath*) bezierPathByReversingPath;
bounds
- (NSRect) bounds;
cachesBezierPath
- (BOOL) cachesBezierPath;
closePath
- (void) closePath;
containsPoint:
- (BOOL) containsPoint: (NSPoint)point;
controlPointBounds
- (NSRect) controlPointBounds;
currentPoint
- (NSPoint) currentPoint;
curveToPoint:controlPoint1:controlPoint2:
- (void) curveToPoint: (NSPoint)aPoint controlPoint1: (NSPoint)controlPoint1 controlPoint2: (NSPoint)controlPoint2;
elementAtIndex:
- (NSBezierPathElement) elementAtIndex: (int)index;
elementAtIndex:associatedPoints:
- (NSBezierPathElement) elementAtIndex: (int)index associatedPoints: (NSPoint*)points;
elementCount
- (int) elementCount;
fill
- (void) fill;
flatness
- (float) flatness;
getLineDash:count:phase:
- (void) getLineDash: (float*)pattern count: (int*)count phase: (float*)phase;
isEmpty
- (BOOL) isEmpty;
lineCapStyle
- (NSLineCapStyle) lineCapStyle;
lineJoinStyle
- (NSLineJoinStyle) lineJoinStyle;
lineToPoint:
- (void) lineToPoint: (NSPoint)aPoint;
lineWidth
- (float) lineWidth;
miterLimit
- (float) miterLimit;
moveToPoint:
- (void) moveToPoint: (NSPoint)aPoint;
relativeCurveToPoint:controlPoint1:controlPoint2:
- (void) relativeCurveToPoint: (NSPoint)aPoint controlPoint1: (NSPoint)controlPoint1 controlPoint2: (NSPoint)controlPoint2;
relativeLineToPoint:
- (void) relativeLineToPoint: (NSPoint)aPoint;
relativeMoveToPoint:
- (void) relativeMoveToPoint: (NSPoint)aPoint;
removeAllPoints
- (void) removeAllPoints;
setAssociatedPoints:atIndex:
- (void) setAssociatedPoints: (NSPoint*)points atIndex: (int)index;
setCachesBezierPath:
- (void) setCachesBezierPath: (BOOL)flag;
setClip
- (void) setClip;
setFlatness:
- (void) setFlatness: (float)flatness;
setLineCapStyle:
- (void) setLineCapStyle: (NSLineCapStyle)lineCapStyle;
setLineDash:count:phase:
- (void) setLineDash: (const float*)pattern count: (int)count phase: (float)phase;
setLineJoinStyle:
- (void) setLineJoinStyle: (NSLineJoinStyle)lineJoinStyle;
setLineWidth:
- (void) setLineWidth: (float)lineWidth;
setMiterLimit:
- (void) setMiterLimit: (float)limit;
setWindingRule:
- (void) setWindingRule: (NSWindingRule)windingRule;
stroke
- (void) stroke;
transformUsingAffineTransform:
- (void) transformUsingAffineTransform: (NSAffineTransform*)transform;
windingRule
- (NSWindingRule) windingRule;