Rechercher une page de manuel
Gtk2::Gdk::Region.3pm
Langue: en
Version: 2009-03-13 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Gtk2::Gdk::RegionHIERARCHY
Glib::Boxed +----Gtk2::Gdk::Region
METHODS
region = Gtk2::Gdk::Region->new
rectangle = $region->get_clipbox
rectangle = $region->get_clipbox
boolean = $region->empty
boolean = $region->empty
boolean = $region1->equal ($region2)
boolean = $region1->equal ($region2)
-
- •
- $region2 (Gtk2::Gdk::Region)
$source1->intersect ($source2)
$source1->intersect ($source2)
-
- •
- $source2 (Gtk2::Gdk::Region)
$region->offset ($dx, $dy)
$region->offset ($dx, $dy)
-
- •
- $dx (integer)
- •
- $dy (integer)
boolean = $region->point_in ($x, $y)
boolean = $region->point_in ($x, $y)
-
- •
- $x (integer)
- •
- $y (integer)
region = Gtk2::Gdk::Region->polygon ($points_ref, $fill_rule)
region = Gtk2::Gdk::Region->polygon ($points_ref, $fill_rule)
-
- •
- $points_ref (scalar)
- •
- $fill_rule (Gtk2::Gdk::FillRule)
overlaptype = $region->rect_in ($rect)
overlaptype = $region->rect_in ($rect)
-
- •
- $rect (Gtk2::Gdk::Rectangle)
region = Gtk2::Gdk::Region->rectangle ($rectangle)
-
- •
- $rectangle (Gtk2::Gdk::Rectangle)
list = $region->get_rectangles
list = $region->get_rectangles
- Returns a list of rectangles (Gtk2::Gdk::Rectangle's), the area covered by the region.
$region->shrink ($dx, $dy)
$region->shrink ($dx, $dy)
-
- •
- $dx (integer)
- •
- $dy (integer)
$region->spans_intersect_foreach ($spans_ref, $sorted, $func, $data=undef)
$region->spans_intersect_foreach ($spans_ref, $sorted, $func, $data=undef)
-
- •
- $spans_ref (scalar)
- •
- $sorted (boolean)
- •
- $func (scalar)
- •
- $data (scalar)
$source1->subtract ($source2)
$source1->subtract ($source2)
-
- •
- $source2 (Gtk2::Gdk::Region)
$source1->union ($source2)
$source1->union ($source2)
-
- •
- $source2 (Gtk2::Gdk::Region)
$region->union_with_rect ($rect)
$region->union_with_rect ($rect)
-
- •
- $rect (Gtk2::Gdk::Rectangle)
$source1->xor ($source2)
$source1->xor ($source2)
-
- •
- $source2 (Gtk2::Gdk::Region)
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::BoxedCOPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre