Protocol

FxOnScreenControlAPI

The FxOnScreenControlAPI protocol defines the methods the host application uses to draw controls and other user interface elements directly on the canvas where the user has applied the plug-in.

Declaration

@protocol FxOnScreenControlAPI

Overview

Plug-ins use protocol to direct manipulation of the object and is an intuitive means for users to interact with a plug-in.

Use this API to transform points from the drawing space of the canvas or document to the pixel space of the object the user wants to manipulate, and vice-versa.

Topics

Converting Points Between Coordinate Spaces

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

Converts a position from object space to canvas space.

Required.

Relationships

See Also

APIs

FxOnScreenControlAPI_v2

The FxOnScreenControlAPI_v2 protocol specifies additions to the FxOnScreenControlAPI protocol which defines the methods the host application provides to manage conversions between various on-screen coordinate spaces.

FxOnScreenControlAPI_v3

The FxOnScreenControlAPI_v3 protocol specifies additions to the FxOnScreenControlAPI protocol which defines the methods the host application provides to manage conversions between various on-screen coordinate spaces.

FxOnScreenControlAPI_v4

The FxOnScreenControlAPI_v4 protocol specifies additions to the FxOnScreenControlAPI protocol which defines the methods the host application provides to manage conversions between various on-screen coordinate spaces.