class Inti::Gdk::Rectangle

Name

class Inti::Gdk::Rectangle -- 

Synopsis

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

Superclasses. none

Subclasses. none

Class members

Public Constructors.
Rectangle ()
Rectangle (int x, int y, int width, int height)

Public Methods.
int x () const
int y () const
int width () const
int height () const
void set_x (int x)
void set_y (int y)
void set_width (int w)
void set_height (int h)
void set (int x, int y, int width, int height)
void set_position (int x, int y)
void set_position (const Point & point)
void set_size (int width, int height)
bool intersects (const Rectangle & rect) const
bool intersection_with (const Rectangle & rect)
void union_with (const Rectangle & rect)
bool operator== (const Rectangle & rhs) const
bool operator!= (const Rectangle & rhs) const
GdkRectangle * gdk_rectangle () const

Public Functions.
Rectangle * wrap (GdkRectangle * src)

Description

Public Constructors

method Inti::Gdk::Rectangle::Rectangle

Rectangle ()

method Inti::Gdk::Rectangle::Rectangle

Rectangle (int x, int y, int width, int height)

x 
y 
width 
height 

Public Methods

method Inti::Gdk::Rectangle::x

int x () const

method Inti::Gdk::Rectangle::y

int y () const

method Inti::Gdk::Rectangle::width

int width () const

method Inti::Gdk::Rectangle::height

int height () const

method Inti::Gdk::Rectangle::set_x

void set_x (int x)

x 

method Inti::Gdk::Rectangle::set_y

void set_y (int y)

y 

method Inti::Gdk::Rectangle::set_width

void set_width (int w)

w 

method Inti::Gdk::Rectangle::set_height

void set_height (int h)

h 

method Inti::Gdk::Rectangle::set

void set (int x, int y, int width, int height)

x 
y 
width 
height 

method Inti::Gdk::Rectangle::set_position

void set_position (int x, int y)

x 
y 

method Inti::Gdk::Rectangle::set_position

void set_position (const Point & point)

point 

method Inti::Gdk::Rectangle::set_size

void set_size (int width, int height)

width 
height 

method Inti::Gdk::Rectangle::intersects

bool intersects (const Rectangle & rect) const

rect 

method Inti::Gdk::Rectangle::intersection_with

bool intersection_with (const Rectangle & rect)

rect 

method Inti::Gdk::Rectangle::union_with

void union_with (const Rectangle & rect)

rect 

method Inti::Gdk::Rectangle::operator==

bool operator== (const Rectangle & rhs) const

rhs 

method Inti::Gdk::Rectangle::operator!=

bool operator!= (const Rectangle & rhs) const

rhs 

method Inti::Gdk::Rectangle::gdk_rectangle

GdkRectangle * gdk_rectangle () const

Public Functions

function Inti::Gdk::Rectangle::wrap

Rectangle * wrap (GdkRectangle * src)

src