Magick++ 7.1.1
Loading...
Searching...
No Matches
Magick::DrawableScaling Class Reference
Inheritance diagram for Magick::DrawableScaling:
Collaboration diagram for Magick::DrawableScaling:

Public Member Functions

 DrawableScaling (double x_, double y_)
 
void operator() (MagickCore::DrawingWand *context_) const
 
DrawableBasecopy () const
 
void x (double x_)
 
double x (void) const
 
void y (double y_)
 
double y (void) const
 
virtual void operator() (MagickCore::DrawingWand *) const
 
virtual DrawableBasecopy () const
 

Private Attributes

double _x
 
double _y
 

Detailed Description

Definition at line 1619 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableScaling()

Magick::DrawableScaling::DrawableScaling ( double  x_,
double  y_ 
)
inline

Definition at line 1622 of file Drawable.h.

1623 : _x(x_),
1624 _y(y_)
1625 { }

◆ ~DrawableScaling()

Magick::DrawableScaling::~DrawableScaling ( void  )

Definition at line 1120 of file Drawable.cpp.

1121{
1122}

Member Function Documentation

◆ copy()

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

Reimplemented from Magick::DrawableBase.

Definition at line 1128 of file Drawable.cpp.

1129{
1130 return new DrawableScaling(*this);
1131}

◆ operator()()

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

Reimplemented from Magick::DrawableBase.

Definition at line 1123 of file Drawable.cpp.

1125{
1126 DrawScale( context_, _x, _y );
1127}

◆ x() [1/2]

void Magick::DrawableScaling::x ( double  x_)
inline

Definition at line 1635 of file Drawable.h.

1636 {
1637 _x = x_;
1638 }

◆ x() [2/2]

double Magick::DrawableScaling::x ( void  ) const
inline

Definition at line 1639 of file Drawable.h.

1640 {
1641 return _x;
1642 }

◆ y() [1/2]

void Magick::DrawableScaling::y ( double  y_)
inline

Definition at line 1644 of file Drawable.h.

1645 {
1646 _y = y_;
1647 }

◆ y() [2/2]

double Magick::DrawableScaling::y ( void  ) const
inline

Definition at line 1648 of file Drawable.h.

1649 {
1650 return _y;
1651 }

Member Data Documentation

◆ _x

double Magick::DrawableScaling::_x
private

Definition at line 1654 of file Drawable.h.

◆ _y

double Magick::DrawableScaling::_y
private

Definition at line 1655 of file Drawable.h.


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