32 #ifndef __vtkTextProperty_h
33 #define __vtkTextProperty_h
49 vtkSetVector3Macro(
Color,
double);
50 vtkGetVector3Macro(
Color,
double);
56 vtkSetMacro(Opacity,
double);
57 vtkGetMacro(Opacity,
double);
62 vtkGetStringMacro(FontFamilyAsString);
63 vtkSetStringMacro(FontFamilyAsString);
64 void SetFontFamily(
int t);
67 void SetFontFamilyToArial();
68 void SetFontFamilyToCourier();
69 void SetFontFamilyToTimes();
70 static int GetFontFamilyFromString(
const char *f );
71 static const char *GetFontFamilyAsString(
int f );
77 vtkGetMacro(FontSize,
int);
82 vtkSetMacro(Bold,
int);
83 vtkGetMacro(Bold,
int);
84 vtkBooleanMacro(Bold,
int);
89 vtkSetMacro(Italic,
int);
90 vtkGetMacro(Italic,
int);
91 vtkBooleanMacro(Italic,
int);
96 vtkSetMacro(Shadow,
int);
97 vtkGetMacro(Shadow,
int);
98 vtkBooleanMacro(Shadow,
int);
104 vtkSetVector2Macro(ShadowOffset,
int);
105 vtkGetVectorMacro(ShadowOffset,
int,2);
109 void GetShadowColor(
double color[3]);
115 vtkGetMacro(Justification,
int);
122 const char *GetJustificationAsString();
129 vtkGetMacro(VerticalJustification,
int);
136 const char *GetVerticalJustificationAsString();
141 vtkSetMacro(Orientation,
double);
142 vtkGetMacro(Orientation,
double);
148 vtkSetMacro(LineSpacing,
double);
149 vtkGetMacro(LineSpacing,
double);
154 vtkSetMacro(LineOffset,
double);
155 vtkGetMacro(LineOffset,
double);
void SetFontFamilyToArial()
void SetJustificationToRight()
abstract base class for most VTK objects
void SetVerticalJustificationToTop()
char * FontFamilyAsString
void SetVerticalJustificationToBottom()
void SetVerticalJustificationToCentered()
#define VTK_TEXT_CENTERED
virtual void SetFontFamilyAsString(const char *)
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
int GetFontFamilyMinValue()
void SetJustificationToLeft()
represent text properties.
void SetFontFamilyToCourier()
static int GetFontFamilyFromString(const char *f)
virtual char * GetFontFamilyAsString()
#define VTK_LARGE_INTEGER
int VerticalJustification
const char * GetVerticalJustificationAsString()
void SetFontFamilyToTimes()
void SetJustificationToCentered()
void SetFontFamily(int t)
const char * GetJustificationAsString()