SDL::Rect man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

SDL::Rect(3)	      User Contributed Perl Documentation	  SDL::Rect(3)

NAME
       SDL::Rect - raw object for storing rectangular coordinates

SYNOPSIS
	 my $rect = SDL::Rect->new( -height => 4, -width => 40 );

	 $rect->x(12);	# same as $rect->left(12)
	 $rect->y(9);	# same as $rect->top(9)

DESCRIPTION
       "SDL::Rect::new" creates a SDL_Rect structure which is used for
       specifying regions of pixels for filling, blitting, and updating.
       These objects make it easy to cut and backfill.

       By default, x, y, height and width are all set to 0.

   METHODS
       The four fields of a rectangle can be set simply by passing a value to
       the applicable method.  These are:

       x

       left

       sets and fetches the x (lefmost) position of the rectangle.

       y

       top

       sets and fetches the y (topmost) position.

       w

       width

       sets and fetches the width of the rectangle (in pixels).

       h

       height

       sets and fetches the height of the rectangle (in pixels).

AUTHOR
       David J. Goehrig

SEE ALSO
       perl(1) SDL::Surface(3)

perl v5.14.1			  2011-07-18			  SDL::Rect(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net