Definition at line 208 of file Geometry.h.
◆ Point() [1/6]
| Magick::Point::Point |
( |
void | | ) |
|
Definition at line 583 of file Geometry.cpp.
584 : _x(0.0),
585 _y(0.0)
586{
587}
◆ Point() [2/6]
| Magick::Point::Point |
( |
const char * | point_ | ) |
|
Definition at line 589 of file Geometry.cpp.
590 : _x(0.0),
591 _y(0.0)
592{
593 *this=point_;
594}
◆ Point() [3/6]
| Magick::Point::Point |
( |
const Point & | point_ | ) |
|
Definition at line 596 of file Geometry.cpp.
597 : _x(point_._x),
598 _y(point_._y)
599{
600}
◆ Point() [4/6]
| Magick::Point::Point |
( |
const std::string & | point_ | ) |
|
Definition at line 602 of file Geometry.cpp.
603 : _x(0.0),
604 _y(0.0)
605{
606 *this=point_;
607}
◆ Point() [5/6]
| Magick::Point::Point |
( |
double | x_, |
|
|
double | y_ ) |
Definition at line 609 of file Geometry.cpp.
610 : _x(x_),
611 _y(y_)
612{
613}
◆ Point() [6/6]
| Magick::Point::Point |
( |
double | xy_ | ) |
|
Definition at line 615 of file Geometry.cpp.
616 : _x(xy_),
617 _y(xy_)
618{
619}
◆ ~Point()
| Magick::Point::~Point |
( |
void | | ) |
|
◆ isValid()
| bool Magick::Point::isValid |
( |
void | | ) |
const |
Definition at line 692 of file Geometry.cpp.
693{
694 return(_x > 0.0);
695}
◆ operator std::string()
| Magick::Point::operator std::string |
( |
| ) |
const |
Definition at line 665 of file Geometry.cpp.
666{
667 char
668 buffer[MagickPathExtent];
669
670 string
671 point;
672
673 if (_x < 0.0)
674 point+="-";
675 else
676 point+="+";
677
678 FormatLocaleString(buffer,MagickPathExtent,"%.17g",_x);
679 point+=buffer;
680
681 if (_y < 0.0)
682 point+="x-";
683 else
684 point+="x+";
685
686 FormatLocaleString(buffer,MagickPathExtent,"%.17g",(double) _y);
687 point+=buffer;
688
689 return(point);
690}
◆ operator=() [1/4]
| const Magick::Point & Magick::Point::operator= |
( |
const char * | point_ | ) |
|
Definition at line 625 of file Geometry.cpp.
626{
627 MagickCore::GeometryInfo
628 geometry_info;
629
630 MagickCore::MagickStatusType
631 flags;
632
633 flags=ParseGeometry(point_,&geometry_info);
634 _x=geometry_info.rho;
635 _y=geometry_info.sigma;
636 if ((flags & MagickCore::SigmaValue) == 0)
637 _y=_x;
638 return(*this);
639}
◆ operator=() [2/4]
Definition at line 648 of file Geometry.cpp.
649{
650
651 if (this != &point_)
652 {
653 _x=point_._x;
654 _y=point_._y;
655 }
656 return(*this);
657}
◆ operator=() [3/4]
| const Magick::Point & Magick::Point::operator= |
( |
const std::string & | point_ | ) |
|
Definition at line 659 of file Geometry.cpp.
660{
661 *this=point_.c_str();
662 return(*this);
663}
◆ operator=() [4/4]
Definition at line 641 of file Geometry.cpp.
642{
643 _x=xy_;
644 _y=xy_;
645 return(*this);
646}
◆ x()
| double Magick::Point::x |
( |
void | | ) |
const |
◆ y()
| double Magick::Point::y |
( |
void | | ) |
const |
◆ _x
◆ _y
The documentation for this class was generated from the following files:
- /home/cristy/Attic/Build/ImageMagick-7.1.2/rpmbuild/BUILD/ImageMagick-7.1.2-build/ImageMagick-7.1.2-32/Magick++/lib/Magick++/Geometry.h
- /home/cristy/Attic/Build/ImageMagick-7.1.2/rpmbuild/BUILD/ImageMagick-7.1.2-build/ImageMagick-7.1.2-32/Magick++/lib/Geometry.cpp