TuttleOFX  1
tuttle::plugin::text::TextPlugin Class Reference

Text plugin. More...

#include <TextPlugin.hpp>

Inheritance diagram for tuttle::plugin::text::TextPlugin:
Collaboration diagram for tuttle::plugin::text::TextPlugin:

Public Member Functions

 TextPlugin (OfxImageEffectHandle handle)
TextProcessParams getProcessParams (const OfxPointD &renderScale=OFX::kNoRenderScale) const
void getClipPreferences (OFX::ClipPreferencesSetter &clipPreferences)
 get the clip preferences
void render (const OFX::RenderArguments &args)
 The overridden render function.

Data Fields

OFX::StringParam_paramText
 the text to rasterize in the image
OFX::BooleanParam_paramIsExpression
OFX::StringParam_paramFontPath
OFX::ChoiceParam_paramFont
OFX::IntParam_paramSize
OFX::DoubleParam_paramRatio
OFX::RGBAParam_paramColor
OFX::RGBAParam_paramBackgroundColor
OFX::Double2DParam_paramPosition
OFX::DoubleParam_paramLetterSpacing
OFX::ChoiceParam_paramVAlign
OFX::ChoiceParam_paramHAlign
OFX::BooleanParam_paramVerticalFlip
OFX::BooleanParam_paramItalic
OFX::BooleanParam_paramBold
OFX::ChoiceParam_paramMerge

Private Member Functions

template<class View >
void render (const OFX::RenderArguments &args)
 client render function, this is one of the few that must be overridden
template<class View , template< typename > class Functor>
void render (const OFX::RenderArguments &args)
 client render function, this is one of the few that must be overridden
template<class View , template< typename > class Functor>
void render_if (const OFX::RenderArguments &args, boost::mpl::false_)
template<class View , template< typename > class Functor>
void render_if (const OFX::RenderArguments &args, boost::mpl::true_)

Detailed Description

Text plugin.

Definition at line 37 of file TextPlugin.hpp.


Constructor & Destructor Documentation


Member Function Documentation

void tuttle::plugin::text::TextPlugin::getClipPreferences ( OFX::ClipPreferencesSetter clipPreferences) [virtual]

get the clip preferences

Reimplemented from tuttle::plugin::GeneratorPlugin.

Definition at line 68 of file TextPlugin.cpp.

TextProcessParams tuttle::plugin::text::TextPlugin::getProcessParams ( const OfxPointD renderScale = OFX::kNoRenderScale) const
template<class View >
void tuttle::plugin::text::TextPlugin::render ( const OFX::RenderArguments args) [private, virtual]

client render function, this is one of the few that must be overridden

Reimplemented from tuttle::plugin::GeneratorPlugin.

template<class View , template< typename > class Functor>
void tuttle::plugin::text::TextPlugin::render ( const OFX::RenderArguments args) [private, virtual]

client render function, this is one of the few that must be overridden

Reimplemented from tuttle::plugin::GeneratorPlugin.

template<class View , template< typename > class Functor>
void tuttle::plugin::text::TextPlugin::render_if ( const OFX::RenderArguments args,
boost::mpl::false_   
) [private]

Definition at line 376 of file TextPlugin.cpp.

template<class View , template< typename > class Functor>
void tuttle::plugin::text::TextPlugin::render_if ( const OFX::RenderArguments args,
boost::mpl::true_   
) [private]

Definition at line 368 of file TextPlugin.cpp.

References tuttle::plugin::ImageProcessor::setupAndProcess().

Here is the call graph for this function:


Field Documentation

the text to rasterize in the image

Definition at line 60 of file TextPlugin.hpp.

Referenced by getProcessParams(), and TextPlugin().


The documentation for this class was generated from the following files: