#include <point.h>
Public Member Functions | |
Point (gdouble x=0.0, gdouble y=0.0) | |
Point (const ArtPoint &artpoint) | |
Point (const Point &src) | |
Point & | operator= (const Point &src) |
~Point () | |
gdouble | get_x () const |
void | set_x (gdouble x) |
gdouble | get_y () const |
void | set_y (gdouble y) |
Point | operator+ (const Point &p2) |
Point | operator- (const Point &p2) |
Point const & | operator+= (const Point &other) |
Point const & | operator-= (const Point &other) |
ArtPoint * | gobj () |
const ArtPoint * | gobj () const |
Protected Attributes | |
ArtPoint | m_ArtPoint |
Used by AffineTrans and CanvasPoints.
Gnome::Art::Point::Point | ( | gdouble | x = 0.0 , |
|
gdouble | y = 0.0 | |||
) |
Gnome::Art::Point::Point | ( | const ArtPoint & | artpoint | ) |
Gnome::Art::Point::Point | ( | const Point & | src | ) |
Gnome::Art::Point::~Point | ( | ) |
gdouble Gnome::Art::Point::get_x | ( | ) | const |
gdouble Gnome::Art::Point::get_y | ( | ) | const |
const ArtPoint* Gnome::Art::Point::gobj | ( | ) | const |
ArtPoint* Gnome::Art::Point::gobj | ( | ) |
void Gnome::Art::Point::set_x | ( | gdouble | x | ) |
void Gnome::Art::Point::set_y | ( | gdouble | y | ) |
ArtPoint Gnome::Art::Point::m_ArtPoint [protected] |