Type Method
processShapes(_:extraHandles:grid:didChange:error:) processShapes:extraHandles:grid:didChange:error: processShapes_extraHandles_grid_didChange_error_
Is called to process some shapes before output
Declaration
static func processShapes(_ shapes: [GSShape], extraHandles: NSMutableArray?, grid: GSGridSettings, didChange: UnsafeMutablePointer<ObjCBool>, error: NSErrorPointer) -> [Any]Declaration
+ (NSArray *) processShapes:(NSArray<GSShape *> *) shapes extraHandles:(NSMutableArray *) extraHandles grid:(GSGridSettings) grid didChange:(BOOL *) didChange error:(NSError **) error;Declaration
processShapes_extraHandles_grid_didChange_error_(shapes: list[GSShape], extraHandles: list, grid: GSGridSettings, didChange: bool) -> tuple[list, NSError]Parameters
shapesThe shapes to process
extraHandlesOn return, a list of GSHandle objects that are shown as small black dots in the UI
didChangeIf there where any changes
Return Value
NO if there was an error
Discussion
This is used when color layers where each set of path with the same attributes has to be processed separately