class Inti::Gdk::Segment

Name

class Inti::Gdk::Segment -- 

Synopsis

class Inti::Gdk::Segment is declared in the header inti/gdk/gdkbase.h.

Superclasses. none

Subclasses. none

Class members

Public Constructors.
Segment ()
Segment (int x1, int y1, int x2, int y2)
Segment (const Point & point1, const Point & point2)

Public Methods.
int x1 () const
int y1 () const
int x2 () const
int y2 () const
void set_start (int x, int y)
void set_start (const Point & point)
void set_end (int x, int y)
void set_end (const Point & point)
void set (int x1, int y1, int x2, int y2)
void set (const Point & point1, const Point & point2)
bool operator== (const Segment & rhs) const
bool operator!= (const Segment & rhs) const
GdkSegment * gdk_segment () const

Description

Public Constructors

method Inti::Gdk::Segment::Segment

Segment ()

method Inti::Gdk::Segment::Segment

Segment (int x1, int y1, int x2, int y2)

x1 
y1 
x2 
y2 

method Inti::Gdk::Segment::Segment

Segment (const Point & point1, const Point & point2)

point1 
point2 

Public Methods

method Inti::Gdk::Segment::x1

int x1 () const

method Inti::Gdk::Segment::y1

int y1 () const

method Inti::Gdk::Segment::x2

int x2 () const

method Inti::Gdk::Segment::y2

int y2 () const

method Inti::Gdk::Segment::set_start

void set_start (int x, int y)

x 
y 

method Inti::Gdk::Segment::set_start

void set_start (const Point & point)

point 

method Inti::Gdk::Segment::set_end

void set_end (int x, int y)

x 
y 

method Inti::Gdk::Segment::set_end

void set_end (const Point & point)

point 

method Inti::Gdk::Segment::set

void set (int x1, int y1, int x2, int y2)

x1 
y1 
x2 
y2 

method Inti::Gdk::Segment::set

void set (const Point & point1, const Point & point2)

point1 
point2 

method Inti::Gdk::Segment::operator==

bool operator== (const Segment & rhs) const

rhs 

method Inti::Gdk::Segment::operator!=

bool operator!= (const Segment & rhs) const

rhs 

method Inti::Gdk::Segment::gdk_segment

GdkSegment * gdk_segment () const