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

Public Member Functions

 DrawableRoundRectangle (double upperLeftX_, double upperLeftY_, double lowerRightX_, double lowerRightY_, double cornerWidth_, double cornerHeight_)
void operator() (MagickCore::DrawingWand *context_) const
DrawableBasecopy () const
void centerX (double centerX_)
double centerX (void) const
void centerY (double centerY_)
double centerY (void) const
void width (double width_)
double width (void) const
void hight (double hight_)
double hight (void) 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
void cornerWidth (double cornerWidth_)
double cornerWidth (void) const
void cornerHeight (double cornerHeight_)
double cornerHeight (void) const

Private Attributes

double _upperLeftX
double _upperLeftY
double _lowerRightX
double _lowerRightY
double _cornerWidth
double _cornerHeight

Detailed Description

Definition at line 1434 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableRoundRectangle()

Magick::DrawableRoundRectangle::DrawableRoundRectangle ( double upperLeftX_,
double upperLeftY_,
double lowerRightX_,
double lowerRightY_,
double cornerWidth_,
double cornerHeight_ )
inline

Definition at line 1437 of file Drawable.h.

1440 : _upperLeftX(upperLeftX_),
1441 _upperLeftY(upperLeftY_),
1442 _lowerRightX(lowerRightX_),
1443 _lowerRightY(lowerRightY_),
1444 _cornerWidth(cornerWidth_),
1445 _cornerHeight(cornerHeight_)
1446 { }

◆ ~DrawableRoundRectangle()

Magick::DrawableRoundRectangle::~DrawableRoundRectangle ( void )

Definition at line 986 of file Drawable.cpp.

987{
988}

Member Function Documentation

◆ centerX() [1/2]

void Magick::DrawableRoundRectangle::centerX ( double centerX_)
inline

Definition at line 1458 of file Drawable.h.

1459 {
1460 _upperLeftX = centerX_;
1461 }

◆ centerX() [2/2]

double Magick::DrawableRoundRectangle::centerX ( void ) const
inline

Definition at line 1462 of file Drawable.h.

1463 {
1464 return _upperLeftX;
1465 }

◆ centerY() [1/2]

void Magick::DrawableRoundRectangle::centerY ( double centerY_)
inline

Definition at line 1467 of file Drawable.h.

1468 {
1469 _upperLeftY = centerY_;
1470 }

◆ centerY() [2/2]

double Magick::DrawableRoundRectangle::centerY ( void ) const
inline

Definition at line 1471 of file Drawable.h.

1472 {
1473 return _upperLeftY;
1474 }

◆ copy()

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

Implements Magick::DrawableBase.

Definition at line 995 of file Drawable.cpp.

996{
997 return new DrawableRoundRectangle(*this);
998}

◆ cornerHeight() [1/2]

void Magick::DrawableRoundRectangle::cornerHeight ( double cornerHeight_)
inline

Definition at line 1541 of file Drawable.h.

1542 {
1543 _cornerHeight = cornerHeight_;
1544 }

◆ cornerHeight() [2/2]

double Magick::DrawableRoundRectangle::cornerHeight ( void ) const
inline

Definition at line 1545 of file Drawable.h.

1546 {
1547 return _cornerHeight;
1548 }

◆ cornerWidth() [1/2]

void Magick::DrawableRoundRectangle::cornerWidth ( double cornerWidth_)
inline

Definition at line 1532 of file Drawable.h.

1533 {
1534 _cornerWidth = cornerWidth_;
1535 }

◆ cornerWidth() [2/2]

double Magick::DrawableRoundRectangle::cornerWidth ( void ) const
inline

Definition at line 1536 of file Drawable.h.

1537 {
1538 return _cornerWidth;
1539 }

◆ hight() [1/2]

void Magick::DrawableRoundRectangle::hight ( double hight_)
inline

Definition at line 1485 of file Drawable.h.

1486 {
1487 _lowerRightY = hight_;
1488 }

◆ hight() [2/2]

double Magick::DrawableRoundRectangle::hight ( void ) const
inline

Definition at line 1489 of file Drawable.h.

1490 {
1491 return _lowerRightY;
1492 }

◆ lowerRightX() [1/2]

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

Definition at line 1514 of file Drawable.h.

1515 {
1516 _lowerRightX = lowerRightX_;
1517 }

◆ lowerRightX() [2/2]

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

Definition at line 1518 of file Drawable.h.

1519 {
1520 return _lowerRightX;
1521 }

◆ lowerRightY() [1/2]

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

Definition at line 1523 of file Drawable.h.

1524 {
1525 _lowerRightY = lowerRightY_;
1526 }

◆ lowerRightY() [2/2]

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

Definition at line 1527 of file Drawable.h.

1528 {
1529 return _lowerRightY;
1530 }

◆ operator()()

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

Implements Magick::DrawableBase.

Definition at line 989 of file Drawable.cpp.

991{
992 DrawRoundRectangle(context_,_upperLeftX,_upperLeftY,_lowerRightX,
993 _lowerRightY,_cornerWidth, _cornerHeight);
994}

◆ upperLeftX() [1/2]

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

Definition at line 1496 of file Drawable.h.

1497 {
1498 _upperLeftX = upperLeftX_;
1499 }

◆ upperLeftX() [2/2]

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

Definition at line 1500 of file Drawable.h.

1501 {
1502 return _upperLeftX;
1503 }

◆ upperLeftY() [1/2]

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

Definition at line 1505 of file Drawable.h.

1506 {
1507 _upperLeftY = upperLeftY_;
1508 }

◆ upperLeftY() [2/2]

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

Definition at line 1509 of file Drawable.h.

1510 {
1511 return _upperLeftY;
1512 }

◆ width() [1/2]

void Magick::DrawableRoundRectangle::width ( double width_)
inline

Definition at line 1476 of file Drawable.h.

1477 {
1478 _lowerRightX = width_;
1479 }

◆ width() [2/2]

double Magick::DrawableRoundRectangle::width ( void ) const
inline

Definition at line 1480 of file Drawable.h.

1481 {
1482 return _lowerRightX;
1483 }

Member Data Documentation

◆ _cornerHeight

double Magick::DrawableRoundRectangle::_cornerHeight
private

Definition at line 1556 of file Drawable.h.

◆ _cornerWidth

double Magick::DrawableRoundRectangle::_cornerWidth
private

Definition at line 1555 of file Drawable.h.

◆ _lowerRightX

double Magick::DrawableRoundRectangle::_lowerRightX
private

Definition at line 1553 of file Drawable.h.

◆ _lowerRightY

double Magick::DrawableRoundRectangle::_lowerRightY
private

Definition at line 1554 of file Drawable.h.

◆ _upperLeftX

double Magick::DrawableRoundRectangle::_upperLeftX
private

Definition at line 1551 of file Drawable.h.

◆ _upperLeftY

double Magick::DrawableRoundRectangle::_upperLeftY
private

Definition at line 1552 of file Drawable.h.


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