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

#include <Drawable.h>

Inheritance diagram for Magick::DrawableTextUnderColor:

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

Collaboration graph
[legend]

Public Member Functions

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

Definition at line 1342 of file Drawable.cpp.

01343 : _color(color_) 01344 { 01345 }

Magick::DrawableTextUnderColor::DrawableTextUnderColor const DrawableTextUnderColor original_  ) 
 

Definition at line 1347 of file Drawable.cpp.

01348 : DrawableBase (original_), 01349 _color(original_._color) 01350 { 01351 }

Magick::DrawableTextUnderColor::~DrawableTextUnderColor void   ) 
 

Definition at line 1352 of file Drawable.cpp.

01353 { 01354 }

Magick::DrawableTextUnderColor::DrawableTextUnderColor const Color color_  ) 
 

Magick::DrawableTextUnderColor::DrawableTextUnderColor const DrawableTextUnderColor original_  ) 
 

Magick::DrawableTextUnderColor::~DrawableTextUnderColor void   ) 
 


Member Function Documentation

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

Definition at line 2000 of file Drawable.h.

02001 { 02002 return _color; 02003 }

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

Definition at line 1996 of file Drawable.h.

01997 { 01998 _color = color_; 01999 }

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

Definition at line 2000 of file Drawable.h.

02001 { 02002 return _color; 02003 }

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

Definition at line 1996 of file Drawable.h.

01997 { 01998 _color = color_; 01999 }

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

Implements Magick::DrawableBase.

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

Implements Magick::DrawableBase.

Definition at line 1364 of file Drawable.cpp.

01365 { 01366 return new DrawableTextUnderColor(*this); 01367 }

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

Implements Magick::DrawableBase.

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

Implements Magick::DrawableBase.

Definition at line 1356 of file Drawable.cpp.

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

01357 { 01358 PixelPacket color = static_cast<PixelPacket>(_color); 01359 PixelWand *pixel_wand=NewPixelWand(); 01360 PixelSetQuantumColor(pixel_wand,&color); 01361 DrawSetTextUnderColor(context_,pixel_wand); 01362 pixel_wand=DestroyPixelWand(pixel_wand); 01363 }

Here is the call graph for this function:


Field Documentation

Color Magick::DrawableTextUnderColor::_color [private]
 

Definition at line 2006 of file Drawable.h.


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