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

Public Member Functions

 DrawableRotation (double angle_)
void operator() (MagickCore::DrawingWand *context_) const
DrawableBasecopy () const
void angle (double angle_)
double angle (void) const

Private Attributes

double _angle

Detailed Description

Definition at line 1405 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableRotation()

Magick::DrawableRotation::DrawableRotation ( double angle_)
inline

Definition at line 1408 of file Drawable.h.

1409 : _angle( angle_ )
1410 { }

◆ ~DrawableRotation()

Magick::DrawableRotation::~DrawableRotation ( void )

Definition at line 972 of file Drawable.cpp.

973{
974}

Member Function Documentation

◆ angle() [1/2]

void Magick::DrawableRotation::angle ( double angle_)
inline

Definition at line 1420 of file Drawable.h.

1421 {
1422 _angle = angle_;
1423 }

◆ angle() [2/2]

double Magick::DrawableRotation::angle ( void ) const
inline

Definition at line 1424 of file Drawable.h.

1425 {
1426 return _angle;
1427 }

◆ copy()

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

Implements Magick::DrawableBase.

Definition at line 980 of file Drawable.cpp.

981{
982 return new DrawableRotation(*this);
983}

◆ operator()()

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

Implements Magick::DrawableBase.

Definition at line 975 of file Drawable.cpp.

977{
978 DrawRotate( context_, _angle );
979}

Member Data Documentation

◆ _angle

double Magick::DrawableRotation::_angle
private

Definition at line 1430 of file Drawable.h.


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