Powered by Pair ImageMagick logo
Image Magick
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

Magick::DrawablePoint Class Reference

#include <Drawable.h>

Inheritance diagram for Magick::DrawablePoint:

Inheritance graph
[legend]
Collaboration diagram for Magick::DrawablePoint:

Collaboration graph
[legend]

Public Member Functions

 DrawablePoint (double x_, double y_)
 ~DrawablePoint (void)
void operator() (MagickLib::DrawContext context_) const
DrawableBasecopy () const
void x (double x_)
double x (void) const
void y (double y_)
double y (void) const
 DrawablePoint (double x_, double y_)
 ~DrawablePoint (void)
void operator() (MagickLib::DrawContext 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

Constructor & Destructor Documentation

Magick::DrawablePoint::DrawablePoint double  x_,
double  y_
[inline]
 

Definition at line 1130 of file Drawable.h.

01131 : _x(x_), 01132 _y(y_) 01133 { }

Magick::DrawablePoint::~DrawablePoint void   ) 
 

Definition at line 753 of file Drawable.cpp.

00754 { 00755 }

Magick::DrawablePoint::DrawablePoint double  x_,
double  y_
[inline]
 

Definition at line 1130 of file Drawable.h.

01131 : _x(x_), 01132 _y(y_) 01133 { }

Magick::DrawablePoint::~DrawablePoint void   ) 
 


Member Function Documentation

DrawableBase* Magick::DrawablePoint::copy  )  const [virtual]
 

Implements Magick::DrawableBase.

Magick::DrawableBase * Magick::DrawablePoint::copy  )  const [virtual]
 

Implements Magick::DrawableBase.

Definition at line 760 of file Drawable.cpp.

00761 { 00762 return new DrawablePoint(*this); 00763 }

void Magick::DrawablePoint::operator() MagickLib::DrawContext  context_  )  const [virtual]
 

Implements Magick::DrawableBase.

void Magick::DrawablePoint::operator() MagickLib::DrawContext  context_  )  const [virtual]
 

Implements Magick::DrawableBase.

Definition at line 756 of file Drawable.cpp.

References _x, _y, DrawPoint(), and operator()().

Referenced by operator()().

00757 { 00758 DrawPoint( context_, _x, _y ); 00759 }

Here is the call graph for this function:

double Magick::DrawablePoint::x void   )  const [inline]
 

Definition at line 1147 of file Drawable.h.

01148 { 01149 return _x; 01150 }

void Magick::DrawablePoint::x double  x_  )  [inline]
 

Definition at line 1143 of file Drawable.h.

01144 { 01145 _x = x_; 01146 }

double Magick::DrawablePoint::x void   )  const [inline]
 

Definition at line 1147 of file Drawable.h.

01148 { 01149 return _x; 01150 }

void Magick::DrawablePoint::x double  x_  )  [inline]
 

Definition at line 1143 of file Drawable.h.

01144 { 01145 _x = x_; 01146 }

double Magick::DrawablePoint::y void   )  const [inline]
 

Definition at line 1156 of file Drawable.h.

01157 { 01158 return _y; 01159 }

void Magick::DrawablePoint::y double  y_  )  [inline]
 

Definition at line 1152 of file Drawable.h.

01153 { 01154 _y = y_; 01155 }

double Magick::DrawablePoint::y void   )  const [inline]
 

Definition at line 1156 of file Drawable.h.

01157 { 01158 return _y; 01159 }

void Magick::DrawablePoint::y double  y_  )  [inline]
 

Definition at line 1152 of file Drawable.h.

01153 { 01154 _y = y_; 01155 }


Field Documentation

double Magick::DrawablePoint::_x [private]
 

Definition at line 1162 of file Drawable.h.

Referenced by operator()().

double Magick::DrawablePoint::_y [private]
 

Definition at line 1163 of file Drawable.h.

Referenced by operator()().


The documentation for this class was generated from the following files:
Generated on Mon Oct 25 13:47:39 2004 for ImageMagick by doxygen 1.3.7
ImageMagick Copyright © 2004, ImageMagick Studio LLC