#include "ofxCore.h" #define kOfxInteractActionPenMotion "OfxInteractActionPenMotion"
handlehandle to an interact instance, cast to an
inArgshas 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 pixels
kOfxInteractPropBackgroundColour- the background colour of the application behind the current view
kOfxPropTime- the effect time at which changed occured
kOfxImageEffectPropRenderScale- the render scale applied to any image fetched
kOfxInteractPropPenPosition- postion of the pen in,
kOfxInteractPropPenViewportPosition- postion of the pen in,
kOfxInteractPropPenPressure- the pressure of the pen,
outArgsis redundant and is set to NULL.
This action is issued whenever the pen moves an the interact's has focus. It should be issued whether the pen is currently up or down.
No openGL calls should be issued by the plug-in during this action.
kOfxStatOK, the host should not pass the pen motion to any other interactive object it may own that shares the same view.