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

Public Member Functions

 DrawablePoint (double x_, double y_)
 
void operator() (MagickCore::DrawingWand *context_) const
 
DrawableBasecopy () const
 
void x (double x_)
 
double x (void) const
 
void y (double y_)
 
double y (void) const
 
virtual void operator() (MagickCore::DrawingWand *) const
 
virtual DrawableBasecopy () const
 

Private Attributes

double _x
 
double _y
 

Detailed Description

Definition at line 1204 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawablePoint()

Magick::DrawablePoint::DrawablePoint ( double  x_,
double  y_ 
)
inline

Definition at line 1207 of file Drawable.h.

1208 : _x(x_),
1209 _y(y_)
1210 { }

◆ ~DrawablePoint()

Magick::DrawablePoint::~DrawablePoint ( void  )

Definition at line 894 of file Drawable.cpp.

895{
896}

Member Function Documentation

◆ copy()

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

Reimplemented from Magick::DrawableBase.

Definition at line 901 of file Drawable.cpp.

902{
903 return new DrawablePoint(*this);
904}

◆ operator()()

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

Reimplemented from Magick::DrawableBase.

Definition at line 897 of file Drawable.cpp.

898{
899 DrawPoint( context_, _x, _y );
900}

◆ x() [1/2]

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

Definition at line 1220 of file Drawable.h.

1221 {
1222 _x = x_;
1223 }

◆ x() [2/2]

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

Definition at line 1224 of file Drawable.h.

1225 {
1226 return _x;
1227 }

◆ y() [1/2]

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

Definition at line 1229 of file Drawable.h.

1230 {
1231 _y = y_;
1232 }

◆ y() [2/2]

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

Definition at line 1233 of file Drawable.h.

1234 {
1235 return _y;
1236 }

Member Data Documentation

◆ _x

double Magick::DrawablePoint::_x
private

Definition at line 1239 of file Drawable.h.

◆ _y

double Magick::DrawablePoint::_y
private

Definition at line 1240 of file Drawable.h.


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