convertPoint(fromSpace:fromX:fromY:toSpace:toX:toY:)
Converts a position from object space to canvas space.
Declaration
func convertPoint(fromSpace: FxDrawingCoordinates, fromX: Double, fromY: Double, toSpace: FxDrawingCoordinates, toX: UnsafeMutablePointer<Double>!, toY: UnsafeMutablePointer<Double>!)Parameters
- fromSpace:
The coordinate space to convert from.
- fromX:
The X coordinate of the position to convert from.
- fromY:
The Y coordinate of the position to convert from.
- toSpace:
The coordinate space to convert to.
- toX:
Returns, by-reference, the X coordinate of the computed position.
- toY:
Returns, by-reference, the Y coordinate of the computed position.