Instance Method
convertToQuadratic()convertToQuadraticWithError:convertToQuadraticWithError_
Converts the path to quadratic curve segments.
Declaration
func convertToQuadratic() throwsDeclaration
- (BOOL) convertToQuadraticWithError:(NSError **) error;Declaration
convertToQuadraticWithError_() -> tuple[bool, NSError]Parameters
errorOn output, a pointer to an error object that describes why the method failed, or
nilif no error occurred. If you are not interested in the error information, passnilfor this parameter.
Discussion
The conversion uses convertToTrueTypeError() as its curve tolerance.
Return Value
YES if the method succeeded, otherwise NO.
Discussion
The conversion uses convertToTrueTypeErrorconvertToTrueTypeError as its curve tolerance.
See Also
Curve Conversion
The default tolerance for converting cubic curve segments to quadratic curve segments.
Converts the path to cubic curve segments.
The tolerance used when converting the path to quadratic curve segments.
Converts special curve node types to Bezier curve segments.
Converts the path to Hobby curve segments.
Applies converted quadratic segments to existing nodes.
See Also
Curve Conversion
The default tolerance for converting cubic curve segments to quadratic curve segments.
Converts the path to cubic curve segments.
The tolerance used when converting the path to quadratic curve segments.
Converts the path to quadratic curve segments.
Converts special curve node types to Bezier curve segments.
Converts the path to Hobby curve segments.
Applies converted quadratic segments to existing nodes.