|
| | 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 2006 of file Drawable.h.
◆ DrawableText() [1/3]
| Magick::DrawableText::DrawableText |
( |
const double | x_, |
|
|
const double | y_, |
|
|
const std::string & | text_ ) |
Definition at line 1437 of file Drawable.cpp.
1439 : _x(x_),
1440 _y(y_),
1441 _text(text_),
1442 _encoding()
1443{
1444}
◆ DrawableText() [2/3]
| Magick::DrawableText::DrawableText |
( |
const double | x_, |
|
|
const double | y_, |
|
|
const std::string & | text_, |
|
|
const std::string & | encoding_ ) |
Definition at line 1445 of file Drawable.cpp.
1447 : _x(x_),
1448 _y(y_),
1449 _text(text_),
1450 _encoding(encoding_)
1451{
1452}
◆ DrawableText() [3/3]
| Magick::DrawableText::DrawableText |
( |
const DrawableText & | original_ | ) |
|
Definition at line 1453 of file Drawable.cpp.
1454 : DrawableBase (original_),
1455 _x(original_._x),
1456 _y(original_._y),
1457 _text(original_._text),
1458 _encoding(original_._encoding)
1459{
1460}
◆ ~DrawableText()
| Magick::DrawableText::~DrawableText |
( |
void | | ) |
|
◆ copy()
◆ encoding()
| void Magick::DrawableText::encoding |
( |
const std::string & | encoding_ | ) |
|
|
inline |
Definition at line 2024 of file Drawable.h.
2025 {
2026 _encoding = encoding_;
2027 }
◆ operator()()
| void Magick::DrawableText::operator() |
( |
MagickCore::DrawingWand * | context_ | ) |
const |
|
virtual |
Reimplemented from Magick::DrawableBase.
Definition at line 1464 of file Drawable.cpp.
1466{
1467 DrawSetTextEncoding( context_, _encoding.c_str() );
1468 DrawAnnotation( context_, _x, _y,
1469 reinterpret_cast<const unsigned char*>(_text.c_str()) );
1470}
◆ text() [1/2]
| void Magick::DrawableText::text |
( |
const std::string & | text_ | ) |
|
|
inline |
Definition at line 2047 of file Drawable.h.
2048 {
2049 _text = text_;
2050 }
◆ text() [2/2]
| std::string Magick::DrawableText::text |
( |
void | | ) |
const |
|
inline |
Definition at line 2051 of file Drawable.h.
2052 {
2053 return _text;
2054 }
◆ x() [1/2]
| void Magick::DrawableText::x |
( |
double | x_ | ) |
|
|
inline |
Definition at line 2029 of file Drawable.h.
2030 {
2031 _x = x_;
2032 }
◆ x() [2/2]
| double Magick::DrawableText::x |
( |
void | | ) |
const |
|
inline |
Definition at line 2033 of file Drawable.h.
2034 {
2035 return _x;
2036 }
◆ y() [1/2]
| void Magick::DrawableText::y |
( |
double | y_ | ) |
|
|
inline |
Definition at line 2038 of file Drawable.h.
2039 {
2040 _y = y_;
2041 }
◆ y() [2/2]
| double Magick::DrawableText::y |
( |
void | | ) |
const |
|
inline |
Definition at line 2042 of file Drawable.h.
2043 {
2044 return _y;
2045 }
◆ _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:
- /build/imagemagick-dmo-7.1.2.34+dmo/Magick++/lib/Magick++/Drawable.h
- /build/imagemagick-dmo-7.1.2.34+dmo/Magick++/lib/Drawable.cpp