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

Public Member Functions

 DrawableDashOffset (const double offset_)
 
void operator() (MagickCore::DrawingWand *context_) const
 
DrawableBasecopy () const
 
void offset (const double offset_)
 
double offset (void) const
 

Private Attributes

double _offset
 

Detailed Description

Definition at line 1693 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableDashOffset()

Magick::DrawableDashOffset::DrawableDashOffset ( const double offset_)
inline

Definition at line 1696 of file Drawable.h.

1697 : _offset(offset_)
1698 { }

◆ ~DrawableDashOffset()

Magick::DrawableDashOffset::~DrawableDashOffset ( void )

Definition at line 1161 of file Drawable.cpp.

1162{
1163}

Member Function Documentation

◆ copy()

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

Implements Magick::DrawableBase.

Definition at line 1169 of file Drawable.cpp.

1170{
1171 return new DrawableDashOffset(*this);
1172}

◆ offset() [1/2]

void Magick::DrawableDashOffset::offset ( const double offset_)
inline

Definition at line 1708 of file Drawable.h.

1709 {
1710 _offset = offset_;
1711 }

◆ offset() [2/2]

double Magick::DrawableDashOffset::offset ( void ) const
inline

Definition at line 1712 of file Drawable.h.

1713 {
1714 return _offset;
1715 }

◆ operator()()

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

Implements Magick::DrawableBase.

Definition at line 1164 of file Drawable.cpp.

1166{
1167 DrawSetStrokeDashOffset( context_, _offset );
1168}

Member Data Documentation

◆ _offset

double Magick::DrawableDashOffset::_offset
private

Definition at line 1718 of file Drawable.h.


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