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::DrawableStrokeColor Class Reference

#include <Drawable.h>

Inheritance diagram for Magick::DrawableStrokeColor:

Inheritance graph
[legend]
Collaboration diagram for Magick::DrawableStrokeColor:

Collaboration graph
[legend]

Public Member Functions

 DrawableStrokeColor (const Color &color_)
 DrawableStrokeColor (const DrawableStrokeColor &original_)
 ~DrawableStrokeColor (void)
void operator() (MagickLib::DrawContext context_) const
DrawableBasecopy () const
void color (const Color &color_)
Color color (void) const
 DrawableStrokeColor (const Color &color_)
 DrawableStrokeColor (const DrawableStrokeColor &original_)
 ~DrawableStrokeColor (void)
void operator() (MagickLib::DrawContext context_) const
DrawableBasecopy () const
void color (const Color &color_)
Color color (void) const

Private Attributes

Color _color

Constructor & Destructor Documentation

Magick::DrawableStrokeColor::DrawableStrokeColor const Color color_  ) 
 

Definition at line 1196 of file Drawable.cpp.

01197 : _color(color_) 01198 { 01199 }

Magick::DrawableStrokeColor::DrawableStrokeColor const DrawableStrokeColor original_  ) 
 

Definition at line 1201 of file Drawable.cpp.

01202 : DrawableBase (original_), 01203 _color(original_._color) 01204 { 01205 }

Magick::DrawableStrokeColor::~DrawableStrokeColor void   ) 
 

Definition at line 1206 of file Drawable.cpp.

01207 { 01208 }

Magick::DrawableStrokeColor::DrawableStrokeColor const Color color_  ) 
 

Magick::DrawableStrokeColor::DrawableStrokeColor const DrawableStrokeColor original_  ) 
 

Magick::DrawableStrokeColor::~DrawableStrokeColor void   ) 
 


Member Function Documentation

Color Magick::DrawableStrokeColor::color void   )  const [inline]
 

Definition at line 1796 of file Drawable.h.

01797 { 01798 return _color; 01799 }

void Magick::DrawableStrokeColor::color const Color color_  )  [inline]
 

Definition at line 1792 of file Drawable.h.

01793 { 01794 _color = color_; 01795 }

Color Magick::DrawableStrokeColor::color void   )  const [inline]
 

Definition at line 1796 of file Drawable.h.

01797 { 01798 return _color; 01799 }

void Magick::DrawableStrokeColor::color const Color color_  )  [inline]
 

Definition at line 1792 of file Drawable.h.

01793 { 01794 _color = color_; 01795 }

DrawableBase* Magick::DrawableStrokeColor::copy  )  const [virtual]
 

Implements Magick::DrawableBase.

Magick::DrawableBase * Magick::DrawableStrokeColor::copy  )  const [virtual]
 

Implements Magick::DrawableBase.

Definition at line 1218 of file Drawable.cpp.

01219 { 01220 return new DrawableStrokeColor(*this); 01221 }

void Magick::DrawableStrokeColor::operator() MagickLib::DrawContext  context_  )  const [virtual]
 

Implements Magick::DrawableBase.

void Magick::DrawableStrokeColor::operator() MagickLib::DrawContext  context_  )  const [virtual]
 

Implements Magick::DrawableBase.

Definition at line 1210 of file Drawable.cpp.

References DestroyPixelWand(), DrawSetStrokeColor(), NewPixelWand(), PixelPacket, PixelSetQuantumColor(), and PixelWand.

01211 { 01212 PixelPacket color = static_cast<PixelPacket>(_color); 01213 PixelWand *pixel_wand=NewPixelWand(); 01214 PixelSetQuantumColor(pixel_wand,&color); 01215 DrawSetStrokeColor(context_,pixel_wand); 01216 pixel_wand=DestroyPixelWand(pixel_wand); 01217 }

Here is the call graph for this function:


Field Documentation

Color Magick::DrawableStrokeColor::_color [private]
 

Definition at line 1802 of file Drawable.h.


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