Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Gdk::Rectangle Class Reference

#include <rectangle.h>

List of all members.

Detailed Description

Gdk::Rectangle is a structure holding the position and size of a rectangle. The intersection of two rectangles can be computed with intersect(). To find the union of two rectangles use union().

Definition at line 38 of file rectangle.h.

Public Types

typedef GdkRectangle BaseObjectType
typedef Rectangle CppObjectType

Public Member Functions

int get_height () const
int get_width () const
int get_x () const
int get_y () const
const GdkRectangle * gobj () const
 Provides access to the underlying C instance.
GdkRectangle * gobj ()
 Provides access to the underlying C instance.
bool has_zero_area () const
Rectangleintersect (const Rectangle &src2, bool &rectangles_intersect)
Rectangleintersect (const Rectangle &src2)
Rectanglejoin (const Rectangle &src2)
 Rectangle (int x, int y, int width, int height)
 Rectangle (const GdkRectangle *gobject)
void set_height (const int &value)
void set_width (const int &value)
void set_x (const int &value)
void set_y (const int &value)

Static Public Member Functions

static GType get_type () G_GNUC_CONST

Protected Attributes

GdkRectangle gobject_

Related Functions

(Note that these are not member functions.)

const Gdk::Rectanglewrap (const GdkRectangle *object)
Gdk::Rectanglewrap (GdkRectangle *object)

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

Generated by  Doxygen 1.6.0   Back to index