Instance Method

convertPointFromSpace:fromX:fromY:toSpace:toX:toY:

Converts a position from object space to canvas space.

Required.

Declaration

- (void)convertPointFromSpace:(FxDrawingCoordinates)fromSpace fromX:(double)fromX fromY:(double)fromY toSpace:(FxDrawingCoordinates)toSpace toX:(double *)toX toY:(double *)toY;

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.