Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::gdk::region(3) [suse man page]

Gtk2::Gdk::Region(3)					User Contributed Perl Documentation				      Gtk2::Gdk::Region(3)

NAME
Gtk2::Gdk::Region HIERARCHY
Glib::Boxed +----Gtk2::Gdk::Region METHODS
region = Gtk2::Gdk::Region->new rectangle = $region->get_clipbox boolean = $region->empty boolean = $region1->equal ($region2) o $region2 (Gtk2::Gdk::Region) $source1->intersect ($source2) o $source2 (Gtk2::Gdk::Region) $region->offset ($dx, $dy) o $dx (integer) o $dy (integer) boolean = $region->point_in ($x, $y) o $x (integer) o $y (integer) region = Gtk2::Gdk::Region->polygon ($points_ref, $fill_rule) o $points_ref (scalar) o $fill_rule (Gtk2::Gdk::FillRule) overlaptype = $region->rect_in ($rect) o $rect (Gtk2::Gdk::Rectangle) region = Gtk2::Gdk::Region->rectangle ($rectangle) o $rectangle (Gtk2::Gdk::Rectangle) list = $region->get_rectangles Returns a list of rectangles (Gtk2::Gdk::Rectangle's), the area covered by the region. $region->shrink ($dx, $dy) o $dx (integer) o $dy (integer) $region->spans_intersect_foreach ($spans_ref, $sorted, $func, $data=undef) o $spans_ref (scalar) o $sorted (boolean) o $func (scalar) o $data (scalar) $source1->subtract ($source2) o $source2 (Gtk2::Gdk::Region) $source1->union ($source2) o $source2 (Gtk2::Gdk::Region) $region->union_with_rect ($rect) o $rect (Gtk2::Gdk::Rectangle) $source1->xor ($source2) o $source2 (Gtk2::Gdk::Region) ENUMS AND FLAGS
enum Gtk2::Gdk::FillRule o 'even-odd-rule' / 'GDK_EVEN_ODD_RULE' o 'winding-rule' / 'GDK_WINDING_RULE' enum Gtk2::Gdk::OverlapType o 'in' / 'GDK_OVERLAP_RECTANGLE_IN' o 'out' / 'GDK_OVERLAP_RECTANGLE_OUT' o 'part' / 'GDK_OVERLAP_RECTANGLE_PART' SEE ALSO
Gtk2, Glib::Boxed COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::Gdk::Region(3)

Check Out this Related Man Page

Gtk2::GC(3)						User Contributed Perl Documentation					       Gtk2::GC(3)

NAME
Gtk2::GC DESCRIPTION
These functions provide access to a shared pool of Gtk2::Gdk::GC objects. When a new Gtk2::Gdk::GC is needed, Gtk2::Gdk::GC::get is called with the required depth, colormap and Gtk2::Gdk::GCValues. If a Gtk2::Gdk::GC with the required properties already exists then that is returned. If not, a new Gtk2::Gdk::GC is created. [From: http://developer.gnome.org/doc/API/2.0/gtk/gtk-Graphics-Contexts.html <http://developer.gnome.org/doc/API/2.0/gtk/gtk-Graphics- Contexts.html>] HIERARCHY
Glib::Object +----Gtk2::Gdk::GC +----Gtk2::GC METHODS
gc = Gtk2::GC->get ($depth, $colormap, $values) o $depth (integer) o $colormap (Gtk2::Gdk::Colormap) o $values (Gtk2::Gdk::GCValues) Values to match $values is a hashref with keys and values as per "Gtk2::Gdk::GC->new" (see Gtk2::Gdk::GC). Compatibility Before version 1.200 of the Gtk2 perl module, it was necessary to call "Gtk2::GC::release()" on GCs obtained from "Gtk2::GC::get()". As of version 1.200, this is no longer necessary; a GC will be released when the last perl reference goes away. Old-style code continues to work, but "Gtk2::GC::release()" is deprecated. SEE ALSO
Gtk2 COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::GC(3)
Man Page