33 #ifndef vtkTextProperty_h 
   34 #define vtkTextProperty_h 
   36 #include "vtkRenderingCoreModule.h"  
   55   vtkSetVector3Macro(
Color,
double);
 
   56   vtkGetVector3Macro(
Color,
double);
 
   64   vtkSetClampMacro(Opacity, 
double, 0., 1.);
 
   65   vtkGetMacro(Opacity,
double);
 
   72   vtkSetVector3Macro(BackgroundColor, 
double);
 
   73   vtkGetVector3Macro(BackgroundColor, 
double);
 
   81   vtkSetClampMacro(BackgroundOpacity, 
double, 0., 1.);
 
   82   vtkGetMacro(BackgroundOpacity, 
double);
 
   89   vtkSetVector3Macro(FrameColor, 
double);
 
   90   vtkGetVector3Macro(FrameColor, 
double);
 
   98   vtkGetMacro(Frame, 
int);
 
  108   vtkGetMacro(FrameWidth, 
int);
 
  119   vtkSetStringMacro(FontFamilyAsString);
 
  120   void SetFontFamily(
int t);
 
  123   void SetFontFamilyToArial();
 
  124   void SetFontFamilyToCourier();
 
  125   void SetFontFamilyToTimes();
 
  126   static int GetFontFamilyFromString( 
const char *f );
 
  127   static const char *GetFontFamilyAsString( 
int f );
 
  137   vtkSetStringMacro(FontFile)
 
  145   vtkGetMacro(FontSize, 
int);
 
  153   vtkGetMacro(Bold, 
int);
 
  162   vtkGetMacro(Italic, 
int);
 
  171   vtkGetMacro(Shadow, 
int);
 
  180   vtkSetVector2Macro(ShadowOffset,
int);
 
  181   vtkGetVectorMacro(ShadowOffset,
int,2);
 
  187   void GetShadowColor(
double color[3]);
 
  195   vtkGetMacro(Justification,
int);
 
  196   void SetJustificationToLeft()
 
  197     { this->SetJustification(VTK_TEXT_LEFT);};
 
  202   const char *GetJustificationAsString();
 
  211   vtkGetMacro(VerticalJustification,
int);
 
  218   const char *GetVerticalJustificationAsString();
 
  229   vtkGetMacro(UseTightBoundingBox, 
int);
 
  238   vtkGetMacro(Orientation,
double);
 
  247   vtkGetMacro(LineSpacing, 
double);
 
  255   vtkGetMacro(LineOffset, 
double);
 
  269   double BackgroundColor[3];
 
  272   double FrameColor[3];
 
  316   this->SetFontFamilyAsString( this->GetFontFamilyAsString( t ) );
 
  336   if ( strcmp( f, GetFontFamilyAsString( 
VTK_ARIAL ) ) == 0 )
 
  340   else if ( strcmp( f, GetFontFamilyAsString( 
VTK_COURIER ) ) == 0 )
 
  344   else if ( strcmp( f, GetFontFamilyAsString( 
VTK_TIMES ) ) == 0 )
 
  348   else if ( strcmp( f, GetFontFamilyAsString( 
VTK_FONT_FILE) ) == 0 )
 
  357   return GetFontFamilyFromString( this->FontFamilyAsString );
 
void SetFontFamilyToArial()
Set/Get the font family. 
void SetJustificationToRight()
Set/Get the horizontal justification to left (default), centered, or right. 
abstract base class for most VTK objects 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses. 
void SetVerticalJustificationToTop()
Set/Get the vertical justification to bottom (default), middle, or top. 
char * FontFamilyAsString
void SetVerticalJustificationToBottom()
Set/Get the vertical justification to bottom (default), middle, or top. 
void SetVerticalJustificationToCentered()
Set/Get the vertical justification to bottom (default), middle, or top. 
#define VTK_TEXT_CENTERED
a simple class to control print indentation 
int GetFontFamily()
Set/Get the font family. 
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions. 
int GetFontFamilyMinValue()
Set/Get the font family. 
represent text properties. 
void SetFontFamilyToCourier()
Set/Get the font family. 
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
static int GetFontFamilyFromString(const char *f)
Set/Get the font family. 
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
int VerticalJustification
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
const char * GetVerticalJustificationAsString()
Set/Get the vertical justification to bottom (default), middle, or top. 
void SetFontFamilyToTimes()
Set/Get the font family. 
void SetJustificationToCentered()
Set/Get the horizontal justification to left (default), centered, or right. 
void SetFontFamily(int t)
Set/Get the font family. 
const char * GetJustificationAsString()
Set/Get the horizontal justification to left (default), centered, or right.