1Gtk2::Gdk::Region(3) User Contributed Perl Documentation Gtk2::Gdk::Region(3)
2
3
4
6 Gtk2::Gdk::Region
7
9 Glib::Boxed
10 +----Gtk2::Gdk::Region
11
13 region = Gtk2::Gdk::Region->new
14 rectangle = $region->get_clipbox
15 boolean = $region->empty
16 boolean = $region1->equal ($region2)
17 · $region2 (Gtk2::Gdk::Region)
18
19 $source1->intersect ($source2)
20 · $source2 (Gtk2::Gdk::Region)
21
22 $region->offset ($dx, $dy)
23 · $dx (integer)
24
25 · $dy (integer)
26
27 boolean = $region->point_in ($x, $y)
28 · $x (integer)
29
30 · $y (integer)
31
32 region = Gtk2::Gdk::Region->polygon ($points_ref, $fill_rule)
33 · $points_ref (scalar)
34
35 · $fill_rule (Gtk2::Gdk::FillRule)
36
37 overlaptype = $region->rect_in ($rect)
38 · $rect (Gtk2::Gdk::Rectangle)
39
40 region = Gtk2::Gdk::Region->rectangle ($rectangle)
41 · $rectangle (Gtk2::Gdk::Rectangle)
42
43 list = $region->get_rectangles
44 Returns a list of rectangles (Gtk2::Gdk::Rectangle's), the area
45 covered by the region.
46
47 $region->shrink ($dx, $dy)
48 · $dx (integer)
49
50 · $dy (integer)
51
52 $region->spans_intersect_foreach ($spans_ref, $sorted, $func, $data=undef)
53 · $spans_ref (scalar)
54
55 · $sorted (boolean)
56
57 · $func (scalar)
58
59 · $data (scalar)
60
61 $source1->subtract ($source2)
62 · $source2 (Gtk2::Gdk::Region)
63
64 $source1->union ($source2)
65 · $source2 (Gtk2::Gdk::Region)
66
67 $region->union_with_rect ($rect)
68 · $rect (Gtk2::Gdk::Rectangle)
69
70 $source1->xor ($source2)
71 · $source2 (Gtk2::Gdk::Region)
72
74 enum Gtk2::Gdk::FillRule
75 · 'even-odd-rule' / 'GDK_EVEN_ODD_RULE'
76
77 · 'winding-rule' / 'GDK_WINDING_RULE'
78
79 enum Gtk2::Gdk::OverlapType
80 · 'in' / 'GDK_OVERLAP_RECTANGLE_IN'
81
82 · 'out' / 'GDK_OVERLAP_RECTANGLE_OUT'
83
84 · 'part' / 'GDK_OVERLAP_RECTANGLE_PART'
85
87 Gtk2, Glib::Boxed
88
90 Copyright (C) 2003-2008 by the gtk2-perl team.
91
92 This software is licensed under the LGPL. See Gtk2 for a full notice.
93
94
95
96perl v5.12.0 2010-05-02 Gtk2::Gdk::Region(3)