Magick++ 6.9.13
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
 

Private Attributes

double _x
 
double _y
 
PaintMethod _paintMethod
 

Detailed Description

Definition at line 590 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableColor()

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

Definition at line 593 of file Drawable.h.

595 : _x(x_),
596 _y(y_),
597 _paintMethod(paintMethod_)
598 { }

◆ ~DrawableColor()

Magick::DrawableColor::~DrawableColor ( void )

Definition at line 383 of file Drawable.cpp.

384{
385}

Member Function Documentation

◆ copy()

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

Implements Magick::DrawableBase.

Definition at line 390 of file Drawable.cpp.

391{
392 return new DrawableColor(*this);
393}

◆ operator()()

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

Implements Magick::DrawableBase.

Definition at line 386 of file Drawable.cpp.

387{
388 DrawColor( context_, _x, _y, _paintMethod );
389}

◆ paintMethod() [1/2]

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

Definition at line 626 of file Drawable.h.

627 {
628 _paintMethod = paintMethod_;
629 }

◆ paintMethod() [2/2]

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

Definition at line 630 of file Drawable.h.

631 {
632 return _paintMethod;
633 }

◆ x() [1/2]

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

Definition at line 608 of file Drawable.h.

609 {
610 _x = x_;
611 }

◆ x() [2/2]

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

Definition at line 612 of file Drawable.h.

613 {
614 return _x;
615 }

◆ y() [1/2]

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

Definition at line 617 of file Drawable.h.

618 {
619 _y = y_;
620 }

◆ y() [2/2]

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

Definition at line 621 of file Drawable.h.

622 {
623 return _y;
624 }

Member Data Documentation

◆ _paintMethod

PaintMethod Magick::DrawableColor::_paintMethod
private

Definition at line 638 of file Drawable.h.

◆ _x

double Magick::DrawableColor::_x
private

Definition at line 636 of file Drawable.h.

◆ _y

double Magick::DrawableColor::_y
private

Definition at line 637 of file Drawable.h.


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