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

Private Attributes

double _angle
 

Detailed Description

Definition at line 1464 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableRotation()

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

Definition at line 1467 of file Drawable.h.

1468 : _angle( angle_ )
1469 { }

◆ ~DrawableRotation()

Magick::DrawableRotation::~DrawableRotation ( void  )

Definition at line 1091 of file Drawable.cpp.

1092{
1093}

Member Function Documentation

◆ angle() [1/2]

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

Definition at line 1479 of file Drawable.h.

1480 {
1481 _angle = angle_;
1482 }

◆ angle() [2/2]

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

Definition at line 1483 of file Drawable.h.

1484 {
1485 return _angle;
1486 }

◆ copy()

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

Reimplemented from Magick::DrawableBase.

Definition at line 1099 of file Drawable.cpp.

1100{
1101 return new DrawableRotation(*this);
1102}

◆ operator()()

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

Reimplemented from Magick::DrawableBase.

Definition at line 1094 of file Drawable.cpp.

1096{
1097 DrawRotate( context_, _angle );
1098}

Member Data Documentation

◆ _angle

double Magick::DrawableRotation::_angle
private

Definition at line 1489 of file Drawable.h.


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