Powered by Pair ImageMagick logo
Image Magick
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

Magick::Drawable Class Reference

#include <Drawable.h>

Collaboration diagram for Magick::Drawable:

Collaboration graph
[legend]

Public Member Functions

 Drawable (void)
 Drawable (const DrawableBase &original_)
 ~Drawable (void)
 Drawable (const Drawable &original_)
Drawableoperator= (const Drawable &original_)
void operator() (MagickLib::DrawContext context_) const
 Drawable (void)
 Drawable (const DrawableBase &original_)
 ~Drawable (void)
 Drawable (const Drawable &original_)
Drawableoperator= (const Drawable &original_)
void operator() (MagickLib::DrawContext context_) const

Private Attributes

DrawableBasedp
DrawableBasedp

Constructor & Destructor Documentation

Magick::Drawable::Drawable void   ) 
 

Definition at line 59 of file Drawable.cpp.

00060 : dp(0) 00061 { 00062 }

Magick::Drawable::Drawable const DrawableBase original_  ) 
 

Definition at line 65 of file Drawable.cpp.

00066 : dp(original_.copy()) 00067 { 00068 }

Magick::Drawable::~Drawable void   ) 
 

Definition at line 71 of file Drawable.cpp.

References dp.

00072 { 00073 delete dp; 00074 dp = 0; 00075 }

Magick::Drawable::Drawable const Drawable original_  ) 
 

Definition at line 78 of file Drawable.cpp.

00079 : dp(original_.dp? original_.dp->copy(): 0) 00080 { 00081 }

Magick::Drawable::Drawable void   ) 
 

Magick::Drawable::Drawable const DrawableBase original_  ) 
 

Magick::Drawable::~Drawable void   ) 
 

Magick::Drawable::Drawable const Drawable original_  ) 
 


Member Function Documentation

void Magick::Drawable::operator() MagickLib::DrawContext  context_  )  const
 

void Magick::Drawable::operator() MagickLib::DrawContext  context_  )  const
 

Definition at line 96 of file Drawable.cpp.

References dp, and operator()().

Referenced by operator()().

00097 { 00098 if(dp) 00099 dp->operator()( context_ ); 00100 }

Here is the call graph for this function:

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

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

Definition at line 84 of file Drawable.cpp.

References Magick::DrawableBase::copy(), and dp.

00085 { 00086 if (this != &original_) 00087 { 00088 DrawableBase* temp_dp = (original_.dp ? original_.dp->copy() : 0); 00089 delete dp; 00090 dp = temp_dp; 00091 } 00092 return *this; 00093 }

Here is the call graph for this function:


Field Documentation

DrawableBase* Magick::Drawable::dp [private]
 

Definition at line 155 of file Drawable.h.

DrawableBase* Magick::Drawable::dp [private]
 

Definition at line 155 of file Drawable.h.

Referenced by operator()(), operator=(), and ~Drawable().


The documentation for this class was generated from the following files:
Generated on Mon Oct 25 13:47:32 2004 for ImageMagick by doxygen 1.3.7
ImageMagick Copyright © 2004, ImageMagick Studio LLC