FxOnScreenControlAPI

Declared In:

Introduction

Defines the methods the host application provides to manage conversions between various OnScreen coordinate spaces.



Methods

-convertPointFromSpace:fromX:fromY:toSpace:toX:toY:
Converts a position from object space to canvas space.

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


Converts a position from object space to canvas space.

- (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
X coordinate of the position to convert from.
fromY
Y coordinate of the position to convert from.
toSpace
The coordinate space to convert to.
toX
Pointer for the x coordinate of the computed position.
toY
Pointer for the y coordinate of the computed position.

Did this document help you? Yes It's good, but... Not helpful...
Last Updated: 2009-04-14