32 #ifndef vtkTextProperty_h
33 #define vtkTextProperty_h
50 vtkSetVector3Macro(
Color,
double);
51 vtkGetVector3Macro(
Color,
double);
57 vtkSetClampMacro(Opacity,
double, 0., 1.);
58 vtkGetMacro(Opacity,
double);
63 vtkSetVector3Macro(BackgroundColor,
double);
64 vtkGetVector3Macro(BackgroundColor,
double);
70 vtkSetClampMacro(BackgroundOpacity,
double, 0., 1.);
71 vtkGetMacro(BackgroundOpacity,
double);
79 vtkGetStringMacro(FontFamilyAsString);
80 vtkSetStringMacro(FontFamilyAsString);
81 void SetFontFamily(
int t);
84 void SetFontFamilyToArial();
85 void SetFontFamilyToCourier();
86 void SetFontFamilyToTimes();
87 static int GetFontFamilyFromString(
const char *f );
88 static const char *GetFontFamilyAsString(
int f );
95 vtkGetStringMacro(FontFile)
96 vtkSetStringMacro(FontFile)
102 vtkGetMacro(FontSize,
int);
107 vtkSetMacro(Bold,
int);
108 vtkGetMacro(Bold,
int);
109 vtkBooleanMacro(Bold,
int);
114 vtkSetMacro(Italic,
int);
115 vtkGetMacro(Italic,
int);
116 vtkBooleanMacro(Italic,
int);
121 vtkSetMacro(Shadow,
int);
122 vtkGetMacro(Shadow,
int);
123 vtkBooleanMacro(Shadow,
int);
129 vtkSetVector2Macro(ShadowOffset,
int);
130 vtkGetVectorMacro(ShadowOffset,
int,2);
134 void GetShadowColor(
double color[3]);
140 vtkGetMacro(Justification,
int);
141 void SetJustificationToLeft()
142 { this->SetJustification(VTK_TEXT_LEFT);};
147 const char *GetJustificationAsString();
154 vtkGetMacro(VerticalJustification,
int);
161 const char *GetVerticalJustificationAsString();
166 vtkSetMacro(Orientation,
double);
167 vtkGetMacro(Orientation,
double);
173 vtkSetMacro(LineSpacing,
double);
174 vtkGetMacro(LineSpacing,
double);
179 vtkSetMacro(LineOffset,
double);
180 vtkGetMacro(LineOffset,
double);
192 double BackgroundColor[3];
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()