Declaration

func decomposeAndCleanupError(_ error: NSErrorPointer, ignoreIncompatible: Bool) -> Bool

Declaration

- (BOOL) decomposeAndCleanupError:(NSError **) error ignoreIncompatible:(BOOL) ignoreIncompatible;

Declaration

decomposeAndCleanupError_ignoreIncompatible_(ignoreIncompatible: bool) -> tuple[bool, NSError]

Parameters

error

On return, an error caused by invalid path structure.

ignoreIncompatible

Whether to omit layers whose shapes are incompatible with the default master.

Return Value

Whether the selected 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. Layers incompatible with the default master are omitted when ignoreIncompatible is YES.

See Also

Curve Conversion