Definition at line 159 of file Geometry.h.
◆ Offset() [1/5]
Magick::Offset::Offset |
( |
void | | ) |
|
Definition at line 403 of file Geometry.cpp.
404 : _x(0),
405 _y(0)
406{
407}
◆ Offset() [2/5]
Magick::Offset::Offset |
( |
const char * | offset_ | ) |
|
Definition at line 409 of file Geometry.cpp.
410 : _x(0),
411 _y(0)
412{
413 *this=offset_;
414}
◆ Offset() [3/5]
Magick::Offset::Offset |
( |
const Offset & | offset_ | ) |
|
Definition at line 416 of file Geometry.cpp.
417 : _x(offset_._x),
418 _y(offset_._y)
419{
420}
◆ Offset() [4/5]
Magick::Offset::Offset |
( |
const std::string & | offset_ | ) |
|
Definition at line 422 of file Geometry.cpp.
423 : _x(0),
424 _y(0)
425{
426 *this=offset_;
427}
◆ Offset() [5/5]
Magick::Offset::Offset |
( |
ssize_t | x_, |
|
|
ssize_t | y_ ) |
Definition at line 429 of file Geometry.cpp.
430 : _x(x_),
431 _y(y_)
432{
433}
◆ ~Offset()
Magick::Offset::~Offset |
( |
void | | ) |
|
◆ operator MagickCore::OffsetInfo()
Magick::Offset::operator MagickCore::OffsetInfo |
( |
| ) |
const |
Definition at line 482 of file Geometry.cpp.
483{
484 OffsetInfo offset;
485 offset.x=_x;
486 offset.y=_y;
487 return(offset);
488}
◆ operator=() [1/3]
const Magick::Offset & Magick::Offset::operator= |
( |
const char * | offset_ | ) |
|
Definition at line 439 of file Geometry.cpp.
440{
441 MagickCore::GeometryInfo
442 geometry_info;
443
444 MagickCore::MagickStatusType
445 flags;
446
447 flags=ParseGeometry(offset_,&geometry_info);
448 _x=(ssize_t) geometry_info.rho;
449 _y=(ssize_t) geometry_info.sigma;
450 if ((flags & MagickCore::SigmaValue) == 0)
451 _y=_x;
452 return(*this);
453}
◆ operator=() [2/3]
Definition at line 455 of file Geometry.cpp.
456{
457
458 if (this != &offset_)
459 {
460 _x=offset_._x;
461 _y=offset_._y;
462 }
463 return(*this);
464}
◆ operator=() [3/3]
const Magick::Offset & Magick::Offset::operator= |
( |
const std::string & | offset_ | ) |
|
Definition at line 466 of file Geometry.cpp.
467{
468 *this=offset_.c_str();
469 return(*this);
470}
◆ x()
ssize_t Magick::Offset::x |
( |
void | | ) |
const |
◆ y()
ssize_t Magick::Offset::y |
( |
void | | ) |
const |
◆ _x
ssize_t Magick::Offset::_x |
|
private |
◆ _y
ssize_t Magick::Offset::_y |
|
private |
The documentation for this class was generated from the following files: