Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC
ADC Home > Reference Library > Reference > Apple Applications > Final Cut Pro/Final Cut Express > FxPlug Reference

 


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: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Last Updated: 2008-06-05