Instance Method
decomposeAndCleanupError()decomposeAndCleanupError:decomposeAndCleanupError_
Prepares compatible interpolation layers for TrueType curve conversion.
Declaration
func decomposeAndCleanupError() throwsDeclaration
- (BOOL) decomposeAndCleanupError:(NSError **) error;Declaration
decomposeAndCleanupError_() -> tuple[bool, NSError]Parameters
errorOn return, an error caused by invalid path structure.
Discussion
Components that cannot remain compatible are decomposed, component anchors are materialized when needed, and paths are cleaned up and validated. Hints are retained for the subsequent conversion.
Return Value
Whether the layers were compatible and preparation succeeded.
Discussion
Components that cannot remain compatible are decomposed, component anchors are materialized when needed, and paths are cleaned up and validated. Hints are retained for the subsequent conversion.
See Also
Curve Conversion
Converts the glyph’s compatible interpolation layers to quadratic curves.
Converts specified compatible layers to quadratic curves.
Converts cubic segments that can be approximated within a tolerance to quadratic segments.
Prepares selected interpolation layers for TrueType curve conversion.
Separates Alternative layer groups into glyphs for variable-font substitution.