Magick++ 7.1.2-34
Convert, Edit, Or Compose Bitmap Images
Loading...
Searching...
No Matches
Magick::DrawableRectangle Class Reference
Inheritance diagram for Magick::DrawableRectangle:
Magick::DrawableBase

Public Member Functions

 DrawableRectangle (double upperLeftX_, double upperLeftY_, double lowerRightX_, double lowerRightY_)
void operator() (MagickCore::DrawingWand *context_) const
DrawableBase * copy () const
void upperLeftX (double upperLeftX_)
double upperLeftX (void) const
void upperLeftY (double upperLeftY_)
double upperLeftY (void) const
void lowerRightX (double lowerRightX_)
double lowerRightX (void) const
void lowerRightY (double lowerRightY_)
double lowerRightY (void) const

Private Attributes

double _upperLeftX
double _upperLeftY
double _lowerRightX
double _lowerRightY

Detailed Description

Definition at line 1405 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableRectangle()

Magick::DrawableRectangle::DrawableRectangle ( double upperLeftX_,
double upperLeftY_,
double lowerRightX_,
double lowerRightY_ )
inline

Definition at line 1408 of file Drawable.h.

1410 : _upperLeftX(upperLeftX_),
1411 _upperLeftY(upperLeftY_),
1412 _lowerRightX(lowerRightX_),
1413 _lowerRightY(lowerRightY_)
1414 { }

◆ ~DrawableRectangle()

Magick::DrawableRectangle::~DrawableRectangle ( void )

Definition at line 1074 of file Drawable.cpp.

1075{
1076}

Member Function Documentation

◆ copy()

Magick::DrawableBase * Magick::DrawableRectangle::copy ( ) const
virtual

Reimplemented from Magick::DrawableBase.

Definition at line 1083 of file Drawable.cpp.

1084{
1085 return new DrawableRectangle(*this);
1086}

◆ lowerRightX() [1/2]

void Magick::DrawableRectangle::lowerRightX ( double lowerRightX_)
inline

Definition at line 1442 of file Drawable.h.

1443 {
1444 _lowerRightX = lowerRightX_;
1445 }

◆ lowerRightX() [2/2]

double Magick::DrawableRectangle::lowerRightX ( void ) const
inline

Definition at line 1446 of file Drawable.h.

1447 {
1448 return _lowerRightX;
1449 }

◆ lowerRightY() [1/2]

void Magick::DrawableRectangle::lowerRightY ( double lowerRightY_)
inline

Definition at line 1451 of file Drawable.h.

1452 {
1453 _lowerRightY = lowerRightY_;
1454 }

◆ lowerRightY() [2/2]

double Magick::DrawableRectangle::lowerRightY ( void ) const
inline

Definition at line 1455 of file Drawable.h.

1456 {
1457 return _lowerRightY;
1458 }

◆ operator()()

void Magick::DrawableRectangle::operator() ( MagickCore::DrawingWand * context_) const
virtual

Reimplemented from Magick::DrawableBase.

Definition at line 1077 of file Drawable.cpp.

1079{
1080 DrawRectangle( context_, _upperLeftX, _upperLeftY,
1081 _lowerRightX, _lowerRightY );
1082}

◆ upperLeftX() [1/2]

void Magick::DrawableRectangle::upperLeftX ( double upperLeftX_)
inline

Definition at line 1424 of file Drawable.h.

1425 {
1426 _upperLeftX = upperLeftX_;
1427 }

◆ upperLeftX() [2/2]

double Magick::DrawableRectangle::upperLeftX ( void ) const
inline

Definition at line 1428 of file Drawable.h.

1429 {
1430 return _upperLeftX;
1431 }

◆ upperLeftY() [1/2]

void Magick::DrawableRectangle::upperLeftY ( double upperLeftY_)
inline

Definition at line 1433 of file Drawable.h.

1434 {
1435 _upperLeftY = upperLeftY_;
1436 }

◆ upperLeftY() [2/2]

double Magick::DrawableRectangle::upperLeftY ( void ) const
inline

Definition at line 1437 of file Drawable.h.

1438 {
1439 return _upperLeftY;
1440 }

Field Documentation

◆ _lowerRightX

double Magick::DrawableRectangle::_lowerRightX
private

Definition at line 1463 of file Drawable.h.

◆ _lowerRightY

double Magick::DrawableRectangle::_lowerRightY
private

Definition at line 1464 of file Drawable.h.

◆ _upperLeftX

double Magick::DrawableRectangle::_upperLeftX
private

Definition at line 1461 of file Drawable.h.

◆ _upperLeftY

double Magick::DrawableRectangle::_upperLeftY
private

Definition at line 1462 of file Drawable.h.


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