|
| | 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 1927 of file Drawable.h.
◆ DrawableText() [1/3]
| Magick::DrawableText::DrawableText |
( |
const double | x_, |
|
|
const double | y_, |
|
|
const std::string & | text_ ) |
Definition at line 1289 of file Drawable.cpp.
1291 : _x(x_),
1292 _y(y_),
1293 _text(text_),
1294 _encoding()
1295{
1296}
◆ DrawableText() [2/3]
| Magick::DrawableText::DrawableText |
( |
const double | x_, |
|
|
const double | y_, |
|
|
const std::string & | text_, |
|
|
const std::string & | encoding_ ) |
Definition at line 1297 of file Drawable.cpp.
1299 : _x(x_),
1300 _y(y_),
1301 _text(text_),
1302 _encoding(encoding_)
1303{
1304}
◆ DrawableText() [3/3]
| Magick::DrawableText::DrawableText |
( |
const DrawableText & | original_ | ) |
|
Definition at line 1305 of file Drawable.cpp.
1306 : DrawableBase (original_),
1307 _x(original_._x),
1308 _y(original_._y),
1309 _text(original_._text),
1310 _encoding(original_._encoding)
1311{
1312}
◆ ~DrawableText()
| Magick::DrawableText::~DrawableText |
( |
void | | ) |
|
◆ copy()
◆ encoding()
| void Magick::DrawableText::encoding |
( |
const std::string & | encoding_ | ) |
|
|
inline |
Definition at line 1945 of file Drawable.h.
1946 {
1947 _encoding = encoding_;
1948 }
◆ operator()()
| void Magick::DrawableText::operator() |
( |
MagickCore::DrawingWand * | context_ | ) |
const |
|
virtual |
Implements Magick::DrawableBase.
Definition at line 1316 of file Drawable.cpp.
1318{
1319 DrawSetTextEncoding( context_, _encoding.c_str() );
1320 DrawAnnotation( context_, _x, _y,
1321 reinterpret_cast<const unsigned char*>(_text.c_str()) );
1322}
◆ text() [1/2]
| void Magick::DrawableText::text |
( |
const std::string & | text_ | ) |
|
|
inline |
Definition at line 1968 of file Drawable.h.
1969 {
1970 _text = text_;
1971 }
◆ text() [2/2]
| std::string Magick::DrawableText::text |
( |
void | | ) |
const |
|
inline |
Definition at line 1972 of file Drawable.h.
1973 {
1974 return _text;
1975 }
◆ x() [1/2]
| void Magick::DrawableText::x |
( |
double | x_ | ) |
|
|
inline |
Definition at line 1950 of file Drawable.h.
1951 {
1952 _x = x_;
1953 }
◆ x() [2/2]
| double Magick::DrawableText::x |
( |
void | | ) |
const |
|
inline |
Definition at line 1954 of file Drawable.h.
1955 {
1956 return _x;
1957 }
◆ y() [1/2]
| void Magick::DrawableText::y |
( |
double | y_ | ) |
|
|
inline |
Definition at line 1959 of file Drawable.h.
1960 {
1961 _y = y_;
1962 }
◆ y() [2/2]
| double Magick::DrawableText::y |
( |
void | | ) |
const |
|
inline |
Definition at line 1963 of file Drawable.h.
1964 {
1965 return _y;
1966 }
◆ _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: