This file is indexed.

/usr/lib/perl5/Gtk2/Gdk/Region.pod is in libgtk2-perl-doc 2:1.249-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
=head1 NAME

Gtk2::Gdk::Region - wrapper for GdkRegion

=cut

=head1 HIERARCHY

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



=cut


=head1 METHODS

=head2 region = Gtk2::Gdk::Region-E<gt>B<new> 

=head2 rectangle = $region-E<gt>B<get_clipbox> 

=head2 boolean = $region-E<gt>B<empty> 

=head2 boolean = $region1-E<gt>B<equal> ($region2)

=over

=item * $region2 (Gtk2::Gdk::Region) 

=back

=head2 $source1-E<gt>B<intersect> ($source2)

=over

=item * $source2 (Gtk2::Gdk::Region) 

=back

=head2 $region-E<gt>B<offset> ($dx, $dy)

=over

=item * $dx (integer) 

=item * $dy (integer) 

=back

=head2 boolean = $region-E<gt>B<point_in> ($x, $y)

=over

=item * $x (integer) 

=item * $y (integer) 

=back

=head2 region = Gtk2::Gdk::Region-E<gt>B<polygon> ($points_ref, $fill_rule)

=over

=item * $points_ref (scalar) 

=item * $fill_rule (Gtk2::Gdk::FillRule) 

=back

=head2 boolean = $region-E<gt>B<rect_equal> ($rectangle)

=over

=item * $rectangle (Gtk2::Gdk::Rectangle) 

=back

Since: gtk+ 2.18

=head2 overlaptype = $region-E<gt>B<rect_in> ($rect)

=over

=item * $rect (Gtk2::Gdk::Rectangle) 

=back

=head2 region = Gtk2::Gdk::Region-E<gt>B<rectangle> ($rectangle)

=over

=item * $rectangle (Gtk2::Gdk::Rectangle) 

=back

=head2 list = $region-E<gt>B<get_rectangles> 

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

=head2 $region-E<gt>B<shrink> ($dx, $dy)

=over

=item * $dx (integer) 

=item * $dy (integer) 

=back

=head2 $region-E<gt>B<spans_intersect_foreach> ($spans_ref, $sorted, $func, $data=undef)

=over

=item * $spans_ref (scalar) arrayref of triples [$x1,$y1,$width1, $x2,$y2,$width2, ...]

=item * $sorted (boolean) 

=item * $func (scalar) 

=item * $data (scalar) 

=back

Call C<$function> for horizontal lines which intersect C<$region>.

C<$spans_ref> is an arrayref of x,y,width horizontal lines.  If
C<$sorted> is true then they're assumed to be sorted by increasing y
coordinate (allowing a single pass across the region rectangles).
C<$function> is called

    &$function ($x, $y, $width, $data)

for each portion of a span which intersects C<$region>.  C<$function>
must not change C<$region>.

    $region->spans_intersect_foreach ([ 0,0,50, 20,20,100, 0,10,50 ],
                                      0, # spans not sorted by y
                                      \&my_callback,
                                      'hello');  # userdata
    sub my_callback {
      my ($x, $y, $width, $userdata) = @_;
      print "$userdata: $x, $y, $width\n";
    }

=head2 $source1-E<gt>B<subtract> ($source2)

=over

=item * $source2 (Gtk2::Gdk::Region) 

=back

=head2 $source1-E<gt>B<union> ($source2)

=over

=item * $source2 (Gtk2::Gdk::Region) 

=back

=head2 $region-E<gt>B<union_with_rect> ($rect)

=over

=item * $rect (Gtk2::Gdk::Rectangle) 

=back

=head2 $source1-E<gt>B<xor> ($source2)

=over

=item * $source2 (Gtk2::Gdk::Region) 

=back



=cut


=head1 ENUMS AND FLAGS

=head2 enum Gtk2::Gdk::FillRule

=over

=item * 'even-odd-rule' / 'GDK_EVEN_ODD_RULE'

=item * 'winding-rule' / 'GDK_WINDING_RULE'

=back


=head2 enum Gtk2::Gdk::OverlapType

=over

=item * 'in' / 'GDK_OVERLAP_RECTANGLE_IN'

=item * 'out' / 'GDK_OVERLAP_RECTANGLE_OUT'

=item * 'part' / 'GDK_OVERLAP_RECTANGLE_PART'

=back




=cut


=head1 SEE ALSO

L<Gtk2>, L<Glib::Boxed>


=cut


=head1 COPYRIGHT

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

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



=cut