// // IJSVGPath.h // IconJar // // Created by Curtis Hard on 30/08/2014. // Copyright (c) 2014 Curtis Hard. All rights reserved. // #import "IJSVGBezierPathAdditions.h" #import "IJSVGNode.h" #import @class IJSVGGroup; @interface IJSVGPath : IJSVGNode { NSBezierPath* path; NSBezierPath* subpath; CGPoint lastControlPoint; } @property (nonatomic, readonly) NSBezierPath* path; @property (nonatomic, readonly) NSBezierPath* subpath; @property (nonatomic, assign) CGPoint lastControlPoint; @property (atomic, readonly) CGPathRef CGPath; - (NSBezierPath*)currentSubpath; - (void)close; - (NSPoint)currentPoint; - (void)overwritePath:(NSBezierPath*)aPath; - (CGPathRef)newPathRefByAutoClosingPath:(BOOL)autoClose; @end