Magick++ 6.9.13
Loading...
Searching...
No Matches
Magick::DrawableRectangle Class Reference
Inheritance diagram for Magick::DrawableRectangle:
Collaboration diagram for Magick::DrawableRectangle:

Public Member Functions

 DrawableRectangle (double upperLeftX_, double upperLeftY_, double lowerRightX_, double lowerRightY_)
void operator() (MagickCore::DrawingWand *context_) const
DrawableBasecopy () 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 1342 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableRectangle()

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

Definition at line 1345 of file Drawable.h.

1347 : _upperLeftX(upperLeftX_),
1348 _upperLeftY(upperLeftY_),
1349 _lowerRightX(lowerRightX_),
1350 _lowerRightY(lowerRightY_)
1351 { }

◆ ~DrawableRectangle()

Magick::DrawableRectangle::~DrawableRectangle ( void )

Definition at line 957 of file Drawable.cpp.

958{
959}

Member Function Documentation

◆ copy()

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

Implements Magick::DrawableBase.

Definition at line 966 of file Drawable.cpp.

967{
968 return new DrawableRectangle(*this);
969}

◆ lowerRightX() [1/2]

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

Definition at line 1379 of file Drawable.h.

1380 {
1381 _lowerRightX = lowerRightX_;
1382 }

◆ lowerRightX() [2/2]

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

Definition at line 1383 of file Drawable.h.

1384 {
1385 return _lowerRightX;
1386 }

◆ lowerRightY() [1/2]

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

Definition at line 1388 of file Drawable.h.

1389 {
1390 _lowerRightY = lowerRightY_;
1391 }

◆ lowerRightY() [2/2]

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

Definition at line 1392 of file Drawable.h.

1393 {
1394 return _lowerRightY;
1395 }

◆ operator()()

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

Implements Magick::DrawableBase.

Definition at line 960 of file Drawable.cpp.

962{
963 DrawRectangle( context_, _upperLeftX, _upperLeftY,
964 _lowerRightX, _lowerRightY );
965}

◆ upperLeftX() [1/2]

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

Definition at line 1361 of file Drawable.h.

1362 {
1363 _upperLeftX = upperLeftX_;
1364 }

◆ upperLeftX() [2/2]

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

Definition at line 1365 of file Drawable.h.

1366 {
1367 return _upperLeftX;
1368 }

◆ upperLeftY() [1/2]

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

Definition at line 1370 of file Drawable.h.

1371 {
1372 _upperLeftY = upperLeftY_;
1373 }

◆ upperLeftY() [2/2]

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

Definition at line 1374 of file Drawable.h.

1375 {
1376 return _upperLeftY;
1377 }

Member Data Documentation

◆ _lowerRightX

double Magick::DrawableRectangle::_lowerRightX
private

Definition at line 1400 of file Drawable.h.

◆ _lowerRightY

double Magick::DrawableRectangle::_lowerRightY
private

Definition at line 1401 of file Drawable.h.

◆ _upperLeftX

double Magick::DrawableRectangle::_upperLeftX
private

Definition at line 1398 of file Drawable.h.

◆ _upperLeftY

double Magick::DrawableRectangle::_upperLeftY
private

Definition at line 1399 of file Drawable.h.


The documentation for this class was generated from the following files: