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

Public Member Functions

 DrawableDensity (const std::string &density_)
 
void operator() (MagickCore::DrawingWand *context_) const
 
DrawableBasecopy () const
 

Private Attributes

std::string _density
 

Detailed Description

Definition at line 751 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableDensity()

Magick::DrawableDensity::DrawableDensity ( const std::string & density_)

Definition at line 555 of file Drawable.cpp.

556 : _density(density_)
557{
558}

◆ ~DrawableDensity()

Magick::DrawableDensity::~DrawableDensity ( void )

Definition at line 560 of file Drawable.cpp.

561{
562}

Member Function Documentation

◆ copy()

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

Implements Magick::DrawableBase.

Definition at line 570 of file Drawable.cpp.

571{
572 return(new DrawableDensity(*this));
573}

◆ operator()()

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

Implements Magick::DrawableBase.

Definition at line 564 of file Drawable.cpp.

566{
567 DrawSetDensity(context_,_density.c_str());
568}

Member Data Documentation

◆ _density

std::string Magick::DrawableDensity::_density
private

Definition at line 764 of file Drawable.h.


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