/usr/lib/perl5/pods/SDL/Rect.pod is in libsdl-perl 2.540-5.
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 | =pod
=head1 NAME
SDL::Rect - Defines a rectangular area
=head2 CATEGORY
Core, Video, Structure
=head1 SYNOPSIS
my $rect = SDL::Rect->new(0, 0, 50, 4);
$rect->x(1);
$rect->y(2);
$rect->w(3);
my $x = $rect->x; # 1
my $y = $rect->y; # 2
my $w = $rect->w; # 3
my $h = $rect->h; # 4
=head1 DESCRIPTION
An C<SDL_Rect> defines a rectangular area of pixels.
=head1 METHODS
=head2 new
my $rect = SDL::Rect->new( $x, $y, $w, $h );
The constructor creates a new rectangle with the specified x, y, width and height values.
=head2 x
my $x = $rect->x;
$rect->x(128);
If passed a value, this method sets the x component of the rectangle;
if not, it returns the x component of the rectangle.
=head2 y
my $y = $rect->y;
$rect->y(128);
If passed a value, this method sets the y component of the rectangle;
if not, it returns the y component of the rectangle.
=head2 w
my $w = $rect->w;
$rect->w(128);
If passed a value, this method sets the w component of the rectangle;
if not, it returns the w component of the rectangle.
=head2 h
my $h = $rect->h;
$rect->h(128);
If passed a value, this method sets the h component of the rectangle;
if not, it returns the h component of the rectangle.
=head1 SEE ALSO
L<SDL::Surface>
=head1 AUTHORS
See L<SDL/AUTHORS>.
=cut
|