man Gtk2::Gdk::Region () - Gtk2::Gdk::Region

NAME

Gtk2::Gdk::Region

HIERARCHY

  Glib::Boxed
  +----Gtk2::Gdk::Region

METHODS

region = Gtk2::Gdk::Region->new

$source1->intersect ($source2)

region = Gtk2::Gdk::Region->rectangle ($rectangle)

Returns a list of rectangles (Gtk2::Gdk::Rectangle's), the area covered by the region.

$source1->subtract ($source2)

$source1->union ($source2)

$region->union_with_rect ($rect)

$source1->xor ($source2)

ENUMS AND FLAGS

enum Gtk2::Gdk::FillRule

* 'even-odd-rule' / 'GDK_EVEN_ODD_RULE'
* 'winding-rule' / 'GDK_WINDING_RULE'

enum Gtk2::Gdk::OverlapType

* 'in' / 'GDK_OVERLAP_RECTANGLE_IN'
* 'out' / 'GDK_OVERLAP_RECTANGLE_OUT'
* 'part' / 'GDK_OVERLAP_RECTANGLE_PART'

SEE ALSO

Gtk2, Glib::Boxed

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.