32 #ifndef __vtkTextProperty_h
33 #define __vtkTextProperty_h
50 vtkSetVector3Macro(
Color,
double);
51 vtkGetVector3Macro(
Color,
double);
57 vtkSetMacro(Opacity,
double);
58 vtkGetMacro(Opacity,
double);
66 vtkGetStringMacro(FontFamilyAsString);
67 vtkSetStringMacro(FontFamilyAsString);
68 void SetFontFamily(
int t);
71 void SetFontFamilyToArial();
72 void SetFontFamilyToCourier();
73 void SetFontFamilyToTimes();
74 static int GetFontFamilyFromString(
const char *
f );
75 static const char *GetFontFamilyAsString(
int f );
82 vtkGetStringMacro(FontFile)
83 vtkSetStringMacro(FontFile)
89 vtkGetMacro(FontSize,
int);
94 vtkSetMacro(Bold,
int);
95 vtkGetMacro(Bold,
int);
96 vtkBooleanMacro(Bold,
int);
101 vtkSetMacro(Italic,
int);
102 vtkGetMacro(Italic,
int);
103 vtkBooleanMacro(Italic,
int);
108 vtkSetMacro(Shadow,
int);
109 vtkGetMacro(Shadow,
int);
110 vtkBooleanMacro(Shadow,
int);
116 vtkSetVector2Macro(ShadowOffset,
int);
117 vtkGetVectorMacro(ShadowOffset,
int,2);
121 void GetShadowColor(
double color[3]);
127 vtkGetMacro(Justification,
int);
128 void SetJustificationToLeft()
129 { this->SetJustification(VTK_TEXT_LEFT);};
134 const char *GetJustificationAsString();
141 vtkGetMacro(VerticalJustification,
int);
148 const char *GetVerticalJustificationAsString();
153 vtkSetMacro(Orientation,
double);
154 vtkGetMacro(Orientation,
double);
160 vtkSetMacro(LineSpacing,
double);
161 vtkGetMacro(LineSpacing,
double);
166 vtkSetMacro(LineOffset,
double);
167 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()
represent text properties.
void SetFontFamilyToCourier()
static int GetFontFamilyFromString(const char *f)
#define VTKRENDERINGCORE_EXPORT
virtual char * GetFontFamilyAsString()
int VerticalJustification
const char * GetVerticalJustificationAsString()
void SetFontFamilyToTimes()
void SetJustificationToCentered()
void SetFontFamily(int t)
const char * GetJustificationAsString()