TuttleOFX
1
|
#include <CropMargin.hpp>
Public Member Functions | |
CropOverlay (OfxInteractHandle handle, OFX::ImageEffect *effect) | |
virtual bool | draw (const OFX::DrawArgs &args) |
the function called to draw in the interact |
Definition at line 14 of file CropMargin.hpp.
tuttle::plugin::crop::CropOverlay::CropOverlay | ( | OfxInteractHandle | handle, |
OFX::ImageEffect * | effect | ||
) | [inline] |
Definition at line 17 of file CropMargin.hpp.
References OFX::Interact::_effect.
bool tuttle::plugin::crop::CropOverlay::draw | ( | const OFX::DrawArgs & | args | ) | [virtual] |
the function called to draw in the interact
Reimplemented from OFX::InteractI.
Definition at line 15 of file CropMargin.cpp.
References tuttle::plugin::crop::CropProcessParams< Pixel >::_cropRegion, OFX::Interact::_effect, tuttle::plugin::overlay::displayRect(), OFX::InteractArgs::renderScale, and OFX::InteractArgs::time.