Magick++ 7.1.1
Loading...
Searching...
No Matches
Magick::DrawableColor Class Reference
Inheritance diagram for Magick::DrawableColor:
Collaboration diagram for Magick::DrawableColor:

Public Member Functions

 DrawableColor (double x_, double y_, PaintMethod paintMethod_)
 
void operator() (MagickCore::DrawingWand *context_) const
 
DrawableBasecopy () const
 
void x (double x_)
 
double x (void) const
 
void y (double y_)
 
double y (void) const
 
void paintMethod (PaintMethod paintMethod_)
 
PaintMethod paintMethod (void) const
 
- Public Member Functions inherited from Magick::DrawableBase

Private Attributes

double _x
 
double _y
 
PaintMethod _paintMethod
 

Detailed Description

Definition at line 670 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableColor()

Magick::DrawableColor::DrawableColor ( double x_,
double y_,
PaintMethod paintMethod_ )
inline

Definition at line 673 of file Drawable.h.

675 : _x(x_),
676 _y(y_),
677 _paintMethod(paintMethod_)
678 { }

◆ ~DrawableColor()

Magick::DrawableColor::~DrawableColor ( void )

Definition at line 471 of file Drawable.cpp.

472{
473}

Member Function Documentation

◆ copy()

Magick::DrawableBase * Magick::DrawableColor::copy ( ) const
virtual

Reimplemented from Magick::DrawableBase.

Definition at line 478 of file Drawable.cpp.

479{
480 return new DrawableColor(*this);
481}

◆ operator()()

void Magick::DrawableColor::operator() ( MagickCore::DrawingWand * context_) const
virtual

Reimplemented from Magick::DrawableBase.

Definition at line 474 of file Drawable.cpp.

475{
476 DrawColor( context_, _x, _y, _paintMethod );
477}

◆ paintMethod() [1/2]

void Magick::DrawableColor::paintMethod ( PaintMethod paintMethod_)
inline

Definition at line 706 of file Drawable.h.

707 {
708 _paintMethod = paintMethod_;
709 }

◆ paintMethod() [2/2]

PaintMethod Magick::DrawableColor::paintMethod ( void ) const
inline

Definition at line 710 of file Drawable.h.

711 {
712 return _paintMethod;
713 }

◆ x() [1/2]

void Magick::DrawableColor::x ( double x_)
inline

Definition at line 688 of file Drawable.h.

689 {
690 _x = x_;
691 }

◆ x() [2/2]

double Magick::DrawableColor::x ( void ) const
inline

Definition at line 692 of file Drawable.h.

693 {
694 return _x;
695 }

◆ y() [1/2]

void Magick::DrawableColor::y ( double y_)
inline

Definition at line 697 of file Drawable.h.

698 {
699 _y = y_;
700 }

◆ y() [2/2]

double Magick::DrawableColor::y ( void ) const
inline

Definition at line 701 of file Drawable.h.

702 {
703 return _y;
704 }

Member Data Documentation

◆ _paintMethod

PaintMethod Magick::DrawableColor::_paintMethod
private

Definition at line 718 of file Drawable.h.

◆ _x

double Magick::DrawableColor::_x
private

Definition at line 716 of file Drawable.h.

◆ _y

double Magick::DrawableColor::_y
private

Definition at line 717 of file Drawable.h.


The documentation for this class was generated from the following files: