#include "ofxCore.h" #define kOfxInteractActionPenUp "OfxInteractActionPenUp"
handle
handle to an interact instance, cast to an OfxInteractHandle
inArgs
has the following properties on an image effect plugin,
kOfxPropEffectInstance
- a handle to the effect for which the interact has been,kOfxInteractPropPixelScale
- the scale factor to convert cannonical pixels to screen pixelskOfxInteractPropBackgroundColour
- the background colour of the application behind the current viewkOfxPropTime
- the effect time at which changed occuredkOfxImageEffectPropRenderScale
- the render scale applied to any image fetchedkOfxInteractPropPenPosition
- postion of the pen in,kOfxInteractPropPenViewportPosition
- postion of the pen in,kOfxInteractPropPenPressure
- the pressure of the pen,outArgs
is redundant and is set to NULL.
This action is issued when a pen transitions for the 'down' to the 'up' state.
No openGL calls should be issued by the plug-in during this action.
kOfxActionCreateInstance
has been called on the instance handle,kOfxInteractActionGainFocus
called on it
kOfxStatOK
, the host should not pass
the pen motion to any other interactive object it may own that shares the same view.
kOfxStatOK
, the action was trapped and the host should not pass the event to other objects it may ownkOfxStatReplyDefault
, the action was not trapped and the host can deal with it if it wants