Magick++ 7.1.2-32
Convert, Edit, Or Compose Bitmap Images
Loading...
Searching...
No Matches
Magick::Drawable Class Reference

Public Member Functions

 Drawable (const DrawableBase &original_)
 Drawable (const Drawable &original_)
Drawable & operator= (const Drawable &original_)
void operator() (MagickCore::DrawingWand *) const

Private Attributes

DrawableBasedp

Detailed Description

Definition at line 120 of file Drawable.h.

Constructor & Destructor Documentation

◆ Drawable() [1/3]

Magick::Drawable::Drawable ( void )

Definition at line 79 of file Drawable.cpp.

80 : dp((Magick::DrawableBase *) NULL)
81{
82}

◆ Drawable() [2/3]

Magick::Drawable::Drawable ( const DrawableBase & original_)

Definition at line 84 of file Drawable.cpp.

85 : dp(original_.copy())
86{
87}

◆ ~Drawable()

Magick::Drawable::~Drawable ( void )

Definition at line 89 of file Drawable.cpp.

90{
91 delete dp;
92 dp=(Magick::DrawableBase *) NULL;
93}

◆ Drawable() [3/3]

Magick::Drawable::Drawable ( const Drawable & original_)

Definition at line 95 of file Drawable.cpp.

96 : dp((original_.dp != (Magick::DrawableBase *) NULL ? original_.dp->copy() :
97 (Magick::DrawableBase *) NULL))
98{
99}

Member Function Documentation

◆ operator()()

void Magick::Drawable::operator() ( MagickCore::DrawingWand * context_) const

Definition at line 117 of file Drawable.cpp.

118{
119 if (dp != (Magick::DrawableBase *) NULL)
120 dp->operator()(context_);
121}

◆ operator=()

Magick::Drawable & Magick::Drawable::operator= ( const Drawable & original_)

Definition at line 101 of file Drawable.cpp.

103{
104 DrawableBase
105 *temp_dp;
106
107 if (this != &original_)
108 {
109 temp_dp=(original_.dp != (Magick::DrawableBase *) NULL ?
110 original_.dp->copy() : (Magick::DrawableBase *) NULL);
111 delete dp;
112 dp=temp_dp;
113 }
114 return(*this);
115}

Field Documentation

◆ dp

DrawableBase* Magick::Drawable::dp
private

Definition at line 143 of file Drawable.h.


The documentation for this class was generated from the following files:
  • /home/cristy/Attic/Build/ImageMagick-7.1.2/rpmbuild/BUILD/ImageMagick-7.1.2-build/ImageMagick-7.1.2-32/Magick++/lib/Magick++/Drawable.h
  • /home/cristy/Attic/Build/ImageMagick-7.1.2/rpmbuild/BUILD/ImageMagick-7.1.2-build/ImageMagick-7.1.2-32/Magick++/lib/Drawable.cpp