Privacy
An open-source, flexible 3D physical simulation framework
osg_text::TextFactoryInterface Class Referenceabstract

#include <TextFactoryInterface.h>

Public Member Functions

 TextFactoryInterface (lib_manager::LibManager *theManager)
 
virtual ~TextFactoryInterface ()
 
 CREATE_MODULE_INFO ()
 
int getLibVersion () const
 
const std::string getLibName () const
 
virtual TextInterfacecreateText (std::string text="", double fontSize=12, Color textColor=Color(), double posX=0., double posY=0., TextAlign textAlign=ALIGN_LEFT, double paddingL=0., double paddingT=0., double paddingR=0., double paddingB=0., Color backgroundColor=Color(), Color borderColor=Color(), double borderWidth=0.0)=0
 
- Public Member Functions inherited from lib_manager::LibInterface
 LibInterface (LibManager *theManager)
 
virtual ~LibInterface (void)
 
ModuleInfo getModuleInfo () const
 
virtual void newLibLoaded (const std::string &libName)
 
virtual void createModuleInfo (void)
 

Additional Inherited Members

- Protected Attributes inherited from lib_manager::LibInterface
LibManagerlibManager
 
ModuleInfo moduleInfo
 

Detailed Description

Definition at line 40 of file TextFactoryInterface.h.

Constructor & Destructor Documentation

◆ TextFactoryInterface()

osg_text::TextFactoryInterface::TextFactoryInterface ( lib_manager::LibManager theManager)
inline

Definition at line 43 of file TextFactoryInterface.h.

◆ ~TextFactoryInterface()

virtual osg_text::TextFactoryInterface::~TextFactoryInterface ( )
inlinevirtual

Definition at line 46 of file TextFactoryInterface.h.

Member Function Documentation

◆ CREATE_MODULE_INFO()

osg_text::TextFactoryInterface::CREATE_MODULE_INFO ( )

◆ createText()

virtual TextInterface* osg_text::TextFactoryInterface::createText ( std::string  text = "",
double  fontSize = 12,
Color  textColor = Color(),
double  posX = 0.,
double  posY = 0.,
TextAlign  textAlign = ALIGN_LEFT,
double  paddingL = 0.,
double  paddingT = 0.,
double  paddingR = 0.,
double  paddingB = 0.,
Color  backgroundColor = Color(),
Color  borderColor = Color(),
double  borderWidth = 0.0 
)
pure virtual

Implemented in osg_text::TextFactory.

◆ getLibName()

const std::string osg_text::TextFactoryInterface::getLibName ( ) const
inlinevirtual

Implements lib_manager::LibInterface.

Definition at line 51 of file TextFactoryInterface.h.

◆ getLibVersion()

int osg_text::TextFactoryInterface::getLibVersion ( ) const
inlinevirtual

Implements lib_manager::LibInterface.

Definition at line 50 of file TextFactoryInterface.h.


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