Magick++ 7.1.1
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
 
virtual void operator() (MagickCore::DrawingWand *) const
 
virtual DrawableBasecopy () const
 

Private Attributes

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

Detailed Description

Definition at line 1493 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 1496 of file Drawable.h.

1499 : _upperLeftX(upperLeftX_),
1500 _upperLeftY(upperLeftY_),
1501 _lowerRightX(lowerRightX_),
1502 _lowerRightY(lowerRightY_),
1503 _cornerWidth(cornerWidth_),
1504 _cornerHeight(cornerHeight_)
1505 { }

◆ ~DrawableRoundRectangle()

Magick::DrawableRoundRectangle::~DrawableRoundRectangle ( void  )

Definition at line 1105 of file Drawable.cpp.

1106{
1107}

Member Function Documentation

◆ centerX() [1/2]

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

Definition at line 1517 of file Drawable.h.

1518 {
1519 _upperLeftX = centerX_;
1520 }

◆ centerX() [2/2]

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

Definition at line 1521 of file Drawable.h.

1522 {
1523 return _upperLeftX;
1524 }

◆ centerY() [1/2]

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

Definition at line 1526 of file Drawable.h.

1527 {
1528 _upperLeftY = centerY_;
1529 }

◆ centerY() [2/2]

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

Definition at line 1530 of file Drawable.h.

1531 {
1532 return _upperLeftY;
1533 }

◆ copy()

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

Reimplemented from Magick::DrawableBase.

Definition at line 1114 of file Drawable.cpp.

1115{
1116 return new DrawableRoundRectangle(*this);
1117}

◆ cornerHeight() [1/2]

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

Definition at line 1600 of file Drawable.h.

1601 {
1602 _cornerHeight = cornerHeight_;
1603 }

◆ cornerHeight() [2/2]

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

Definition at line 1604 of file Drawable.h.

1605 {
1606 return _cornerHeight;
1607 }

◆ cornerWidth() [1/2]

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

Definition at line 1591 of file Drawable.h.

1592 {
1593 _cornerWidth = cornerWidth_;
1594 }

◆ cornerWidth() [2/2]

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

Definition at line 1595 of file Drawable.h.

1596 {
1597 return _cornerWidth;
1598 }

◆ hight() [1/2]

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

Definition at line 1544 of file Drawable.h.

1545 {
1546 _lowerRightY = hight_;
1547 }

◆ hight() [2/2]

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

Definition at line 1548 of file Drawable.h.

1549 {
1550 return _lowerRightY;
1551 }

◆ lowerRightX() [1/2]

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

Definition at line 1573 of file Drawable.h.

1574 {
1575 _lowerRightX = lowerRightX_;
1576 }

◆ lowerRightX() [2/2]

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

Definition at line 1577 of file Drawable.h.

1578 {
1579 return _lowerRightX;
1580 }

◆ lowerRightY() [1/2]

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

Definition at line 1582 of file Drawable.h.

1583 {
1584 _lowerRightY = lowerRightY_;
1585 }

◆ lowerRightY() [2/2]

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

Definition at line 1586 of file Drawable.h.

1587 {
1588 return _lowerRightY;
1589 }

◆ operator()()

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

Reimplemented from Magick::DrawableBase.

Definition at line 1108 of file Drawable.cpp.

1110{
1111 DrawRoundRectangle(context_,_upperLeftX,_upperLeftY,_lowerRightX,
1112 _lowerRightY,_cornerWidth, _cornerHeight);
1113}

◆ upperLeftX() [1/2]

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

Definition at line 1555 of file Drawable.h.

1556 {
1557 _upperLeftX = upperLeftX_;
1558 }

◆ upperLeftX() [2/2]

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

Definition at line 1559 of file Drawable.h.

1560 {
1561 return _upperLeftX;
1562 }

◆ upperLeftY() [1/2]

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

Definition at line 1564 of file Drawable.h.

1565 {
1566 _upperLeftY = upperLeftY_;
1567 }

◆ upperLeftY() [2/2]

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

Definition at line 1568 of file Drawable.h.

1569 {
1570 return _upperLeftY;
1571 }

◆ width() [1/2]

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

Definition at line 1535 of file Drawable.h.

1536 {
1537 _lowerRightX = width_;
1538 }

◆ width() [2/2]

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

Definition at line 1539 of file Drawable.h.

1540 {
1541 return _lowerRightX;
1542 }

Member Data Documentation

◆ _cornerHeight

double Magick::DrawableRoundRectangle::_cornerHeight
private

Definition at line 1615 of file Drawable.h.

◆ _cornerWidth

double Magick::DrawableRoundRectangle::_cornerWidth
private

Definition at line 1614 of file Drawable.h.

◆ _lowerRightX

double Magick::DrawableRoundRectangle::_lowerRightX
private

Definition at line 1612 of file Drawable.h.

◆ _lowerRightY

double Magick::DrawableRoundRectangle::_lowerRightY
private

Definition at line 1613 of file Drawable.h.

◆ _upperLeftX

double Magick::DrawableRoundRectangle::_upperLeftX
private

Definition at line 1610 of file Drawable.h.

◆ _upperLeftY

double Magick::DrawableRoundRectangle::_upperLeftY
private

Definition at line 1611 of file Drawable.h.


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