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

#include <Drawable.h>

Inheritance diagram for Magick::DrawableFillColor:

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

Collaboration graph
[legend]

Public Member Functions

 DrawableFillColor (const Color &color_)
 DrawableFillColor (const DrawableFillColor &original_)
 ~DrawableFillColor (void)
void operator() (MagickLib::DrawContext context_) const
DrawableBasecopy () const
void color (const Color &color_)
Color color (void) const
 DrawableFillColor (const Color &color_)
 DrawableFillColor (const DrawableFillColor &original_)
 ~DrawableFillColor (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::DrawableFillColor::DrawableFillColor const Color color_  ) 
 

Definition at line 569 of file Drawable.cpp.

References DrawableFillColor().

Referenced by DrawableFillColor().

00570 : _color(color_) 00571 { 00572 }

Here is the call graph for this function:

Magick::DrawableFillColor::DrawableFillColor const DrawableFillColor original_  ) 
 

Definition at line 574 of file Drawable.cpp.

00575 : DrawableBase (original_), 00576 _color(original_._color) 00577 { 00578 }

Magick::DrawableFillColor::~DrawableFillColor void   ) 
 

Definition at line 579 of file Drawable.cpp.

00580 { 00581 }

Magick::DrawableFillColor::DrawableFillColor const Color color_  ) 
 

Magick::DrawableFillColor::DrawableFillColor const DrawableFillColor original_  ) 
 

Magick::DrawableFillColor::~DrawableFillColor void   ) 
 


Member Function Documentation

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

Definition at line 855 of file Drawable.h.

00856 { 00857 return _color; 00858 }

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

Definition at line 851 of file Drawable.h.

00852 { 00853 _color = color_; 00854 }

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

Definition at line 855 of file Drawable.h.

00856 { 00857 return _color; 00858 }

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

Definition at line 851 of file Drawable.h.

00852 { 00853 _color = color_; 00854 }

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

Implements Magick::DrawableBase.

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

Implements Magick::DrawableBase.

Definition at line 591 of file Drawable.cpp.

00592 { 00593 return new DrawableFillColor(*this); 00594 }

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

Implements Magick::DrawableBase.

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

Implements Magick::DrawableBase.

Definition at line 583 of file Drawable.cpp.

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

00584 { 00585 PixelPacket color = static_cast<PixelPacket>(_color); 00586 PixelWand *pixel_wand=NewPixelWand(); 00587 PixelSetQuantumColor(pixel_wand,&color); 00588 DrawSetFillColor(context_,pixel_wand); 00589 pixel_wand=DestroyPixelWand(pixel_wand); 00590 }

Here is the call graph for this function:


Field Documentation

Color Magick::DrawableFillColor::_color [private]
 

Definition at line 861 of file Drawable.h.


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