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

Private Attributes

double _x
 
double _y
 

Detailed Description

Definition at line 1145 of file Drawable.h.

Constructor & Destructor Documentation

◆ DrawablePoint()

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

Definition at line 1148 of file Drawable.h.

1149 : _x(x_),
1150 _y(y_)
1151 { }

◆ ~DrawablePoint()

Magick::DrawablePoint::~DrawablePoint ( void )

Definition at line 775 of file Drawable.cpp.

776{
777}

Member Function Documentation

◆ copy()

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

Implements Magick::DrawableBase.

Definition at line 782 of file Drawable.cpp.

783{
784 return new DrawablePoint(*this);
785}

◆ operator()()

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

Implements Magick::DrawableBase.

Definition at line 778 of file Drawable.cpp.

779{
780 DrawPoint( context_, _x, _y );
781}

◆ x() [1/2]

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

Definition at line 1161 of file Drawable.h.

1162 {
1163 _x = x_;
1164 }

◆ x() [2/2]

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

Definition at line 1165 of file Drawable.h.

1166 {
1167 return _x;
1168 }

◆ y() [1/2]

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

Definition at line 1170 of file Drawable.h.

1171 {
1172 _y = y_;
1173 }

◆ y() [2/2]

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

Definition at line 1174 of file Drawable.h.

1175 {
1176 return _y;
1177 }

Member Data Documentation

◆ _x

double Magick::DrawablePoint::_x
private

Definition at line 1180 of file Drawable.h.

◆ _y

double Magick::DrawablePoint::_y
private

Definition at line 1181 of file Drawable.h.


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