|
| DrawableText (const double x_, const double y_, const std::string &text_) |
|
| DrawableText (const double x_, const double y_, const std::string &text_, const std::string &encoding_) |
|
| DrawableText (const DrawableText &original_) |
|
void | operator() (MagickCore::DrawingWand *context_) const |
|
DrawableBase * | copy () const |
|
void | encoding (const std::string &encoding_) |
|
void | x (double x_) |
|
double | x (void) const |
|
void | y (double y_) |
|
double | y (void) const |
|
void | text (const std::string &text_) |
|
std::string | text (void) const |
|
Definition at line 2002 of file Drawable.h.
◆ DrawableText() [1/3]
Magick::DrawableText::DrawableText |
( |
const double | x_, |
|
|
const double | y_, |
|
|
const std::string & | text_ ) |
Definition at line 1440 of file Drawable.cpp.
1442 : _x(x_),
1443 _y(y_),
1444 _text(text_),
1445 _encoding()
1446{
1447}
◆ DrawableText() [2/3]
Magick::DrawableText::DrawableText |
( |
const double | x_, |
|
|
const double | y_, |
|
|
const std::string & | text_, |
|
|
const std::string & | encoding_ ) |
Definition at line 1448 of file Drawable.cpp.
1450 : _x(x_),
1451 _y(y_),
1452 _text(text_),
1453 _encoding(encoding_)
1454{
1455}
◆ DrawableText() [3/3]
Magick::DrawableText::DrawableText |
( |
const DrawableText & | original_ | ) |
|
Definition at line 1456 of file Drawable.cpp.
1457 : DrawableBase (original_),
1458 _x(original_._x),
1459 _y(original_._y),
1460 _text(original_._text),
1461 _encoding(original_._encoding)
1462{
1463}
◆ ~DrawableText()
Magick::DrawableText::~DrawableText |
( |
void | | ) |
|
◆ copy()
◆ encoding()
void Magick::DrawableText::encoding |
( |
const std::string & | encoding_ | ) |
|
|
inline |
Definition at line 2020 of file Drawable.h.
2021 {
2022 _encoding = encoding_;
2023 }
◆ operator()()
void Magick::DrawableText::operator() |
( |
MagickCore::DrawingWand * | context_ | ) |
const |
|
virtual |
Reimplemented from Magick::DrawableBase.
Definition at line 1467 of file Drawable.cpp.
1469{
1470 DrawSetTextEncoding( context_, _encoding.c_str() );
1471 DrawAnnotation( context_, _x, _y,
1472 reinterpret_cast<const unsigned char*>(_text.c_str()) );
1473}
◆ text() [1/2]
void Magick::DrawableText::text |
( |
const std::string & | text_ | ) |
|
|
inline |
Definition at line 2043 of file Drawable.h.
2044 {
2045 _text = text_;
2046 }
◆ text() [2/2]
std::string Magick::DrawableText::text |
( |
void | | ) |
const |
|
inline |
Definition at line 2047 of file Drawable.h.
2048 {
2049 return _text;
2050 }
◆ x() [1/2]
void Magick::DrawableText::x |
( |
double | x_ | ) |
|
|
inline |
Definition at line 2025 of file Drawable.h.
2026 {
2027 _x = x_;
2028 }
◆ x() [2/2]
double Magick::DrawableText::x |
( |
void | | ) |
const |
|
inline |
Definition at line 2029 of file Drawable.h.
2030 {
2031 return _x;
2032 }
◆ y() [1/2]
void Magick::DrawableText::y |
( |
double | y_ | ) |
|
|
inline |
Definition at line 2034 of file Drawable.h.
2035 {
2036 _y = y_;
2037 }
◆ y() [2/2]
double Magick::DrawableText::y |
( |
void | | ) |
const |
|
inline |
Definition at line 2038 of file Drawable.h.
2039 {
2040 return _y;
2041 }
◆ _encoding
std::string Magick::DrawableText::_encoding |
|
private |
◆ _text
std::string Magick::DrawableText::_text |
|
private |
◆ _x
double Magick::DrawableText::_x |
|
private |
◆ _y
double Magick::DrawableText::_y |
|
private |
The documentation for this class was generated from the following files: