Logo Search packages:      
Sourcecode: ardour version File versions

Gdk::Region Class Reference

#include <region.h>

List of all members.

Detailed Description

This is an opaque data type holding a set of arbitrary pixels, and is usually used for clipping graphical operations (see Gdk::GC::set_clip_region()).

Definition at line 107 of file region.h.

Public Types

typedef GdkRegion BaseObjectType
typedef Region CppObjectType

Public Member Functions

bool empty ()
void get_clipbox (const Rectangle &rectangle)
Glib::ArrayHandle< Rectangleget_rectangles () const
const GdkRegion * gobj () const
GdkRegion * gobj ()
GdkRegion * gobj_copy () const
 Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
void intersect (const Region &source2)
void offset (int dx, int dy)
Regionoperator= (const Region &src)
bool point_in (int x, int y)
OverlapType rect_in (const Rectangle &rect)
 Region (const Rectangle &rectangle)
 Region (const Glib::ArrayHandle< Gdk::Point > &points, FillRule fill_rule)
 Region (const Region &src)
 Region (GdkRegion *castitem, bool make_a_copy=false)
void shrink (int dx, int dy)
void spans_intersect_foreach (GdkSpan *spans, int n_spans, bool sorted, GdkSpanFunc function, gpointer data)
void subtract (const Region &source2)
void union_ (const Region &source2)
void union_with_rect (const Rectangle &rect)
void xor_ (const Region &source2)

Protected Attributes

GdkRegion * gobject_

Related Functions

(Note that these are not member functions.)

bool operator!= (const Region &lhs, const Region &rhs)
bool operator== (const Region &lhs, const Region &rhs)
Gdk::Region wrap (GdkRegion *object, bool take_copy=false)

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

Generated by  Doxygen 1.6.0   Back to index