Magick++ 7.1.2-34
Convert, Edit, Or Compose Bitmap Images
Loading...
Searching...
No Matches
Magick::DrawableColor Class Reference
Inheritance diagram for Magick::DrawableColor:
Magick::DrawableBase

Public Member Functions

 DrawableColor (double x_, double y_, PaintMethod paintMethod_)
void operator() (MagickCore::DrawingWand *context_) const
DrawableBase * copy () 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 671 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawableColor()

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

Definition at line 674 of file Drawable.h.

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

◆ ~DrawableColor()

Magick::DrawableColor::~DrawableColor ( void )

Definition at line 468 of file Drawable.cpp.

469{
470}

Member Function Documentation

◆ copy()

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

Reimplemented from Magick::DrawableBase.

Definition at line 475 of file Drawable.cpp.

476{
477 return new DrawableColor(*this);
478}

◆ operator()()

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

Reimplemented from Magick::DrawableBase.

Definition at line 471 of file Drawable.cpp.

472{
473 DrawColor( context_, _x, _y, _paintMethod );
474}

◆ paintMethod() [1/2]

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

Definition at line 707 of file Drawable.h.

708 {
709 _paintMethod = paintMethod_;
710 }

◆ paintMethod() [2/2]

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

Definition at line 711 of file Drawable.h.

712 {
713 return _paintMethod;
714 }

◆ x() [1/2]

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

Definition at line 689 of file Drawable.h.

690 {
691 _x = x_;
692 }

◆ x() [2/2]

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

Definition at line 693 of file Drawable.h.

694 {
695 return _x;
696 }

◆ y() [1/2]

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

Definition at line 698 of file Drawable.h.

699 {
700 _y = y_;
701 }

◆ y() [2/2]

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

Definition at line 702 of file Drawable.h.

703 {
704 return _y;
705 }

Field Documentation

◆ _paintMethod

PaintMethod Magick::DrawableColor::_paintMethod
private

Definition at line 719 of file Drawable.h.

◆ _x

double Magick::DrawableColor::_x
private

Definition at line 717 of file Drawable.h.

◆ _y

double Magick::DrawableColor::_y
private

Definition at line 718 of file Drawable.h.


The documentation for this class was generated from the following files:
  • /build/imagemagick-dmo-7.1.2.34+dmo/Magick++/lib/Magick++/Drawable.h
  • /build/imagemagick-dmo-7.1.2.34+dmo/Magick++/lib/Drawable.cpp