#include <Text.hpp>
Collaboration diagram for Text:

example11.cpp, and example13.cpp.
Definition at line 46 of file Text.hpp.
Public Types | |
| enum | ALIGNMENT { LEFT, CENTER, RIGHT } |
| Enumeration of alignment constants. More... | |
Public Member Functions | |
| Text (const char *str, double ix, double iy, ALIGNMENT align=LEFT, int angle=0) | |
| Constructs text at some coordinate. | |
| Text (const char *str, double ix, double iy, const TextStyle &its, ALIGNMENT align=LEFT, int angle=0) | |
| Constructs text at some coordinate. | |
| Text (int num, double ix, double iy, ALIGNMENT align=LEFT, int angle=0) | |
| Constructs text at some coordinate. | |
| Text (int num, double ix, double iy, const TextStyle &its, ALIGNMENT align=LEFT, int angle=0) | |
| Constructs text at some coordinate. | |
| void | setText (const std::string &str) |
| Modifier for the output string of the text. | |
| void | setStyle (TextStyle &its) |
| Modifier for the style of the text. | |
| void | removeStyle () |
| Remove the text style. | |
| void | setPosition (double ix, double iy) |
| Modifier for the position on the image of the text. | |
| void | setAlignment (ALIGNMENT align) |
| Modifier for the angle of the text. | |
| void | setAngle (int angle) |
| Modifier for the angle of the text. | |
| std::string | getString (void) const |
| Accessor to get the text string. | |
| bool | hasOwnTextStyle (void) const |
| Accessor to see if text as its own style. | |
| TextStyle | getStyle (void) const |
| Accessor to get the text style. | |
| bool | isCenter (void) const |
| Accessor to see if text is centered. | |
| bool | isLeft (void) const |
| Accessor to see if text is aligned anchored left. | |
| bool | isRight (void) const |
| Accessor to see if text is aligned anchored right. | |
| int | getAngle (void) const |
| Accessor to get the angle of the text. | |
Public Attributes | |
| double | x |
| X coordinate of the text. | |
| double | y |
| Y coordinate of the text. | |
|
|
Enumeration of alignment constants.
|
|
||||||||||||||||||||||||
|
Constructs text at some coordinate.
|
|
||||||||||||||||||||||||||||
|
Constructs text at some coordinate.
|
|
||||||||||||||||||||||||
|
Constructs text at some coordinate.
|
|
||||||||||||||||||||||||||||
|
Constructs text at some coordinate.
|
|
|
Accessor to get the angle of the text.
Definition at line 174 of file Text.hpp. Referenced by SVGImage::text(), and PSImageBase::text(). |
|
|
Accessor to get the text string.
Definition at line 156 of file Text.hpp. Referenced by SVGImage::text(), and PSImageBase::text(). |
|
|
Accessor to get the text style.
|
|
|
Accessor to see if text as its own style.
|
|
|
Accessor to see if text is centered.
Definition at line 165 of file Text.hpp. Referenced by SVGImage::text(), and PSImageBase::text(). |
|
|
Accessor to see if text is aligned anchored left.
Definition at line 168 of file Text.hpp. Referenced by SVGImage::text(). |
|
|
Accessor to see if text is aligned anchored right.
Definition at line 171 of file Text.hpp. Referenced by PSImageBase::text(). |
|
|
Remove the text style.
|
|
|
Modifier for the angle of the text.
|
|
|
Modifier for the angle of the text.
|
|
||||||||||||
|
Modifier for the position on the image of the text.
|
|
|
Modifier for the style of the text.
|
|
|
Modifier for the output string of the text.
|
|
|
X coordinate of the text.
Definition at line 51 of file Text.hpp. Referenced by Text(), SVGImage::text(), and PSImageBase::text(). |
|
|
Y coordinate of the text.
Definition at line 54 of file Text.hpp. Referenced by Text(), SVGImage::text(), and PSImageBase::text(). |
1.3.9.1