Query: sdl::rect
OS: suse
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SDL::Rect(3) User Contributed Perl Documentation SDL::Rect(3)NAMESDL::Rect - raw object for storing rectangular coordinatesSYNOPSISmy $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).AUTHORDavid J. GoehrigSEE ALSOperl(1) SDL::Surface(3) perl v5.12.1 2010-07-05 SDL::Rect(3)
Related Man Pages |
---|
sdl::tutorial::animation(3) - suse |
sdl::video(3) - suse |
sdl::tutorial::drawing(3) - suse |
sdl::cookbook::pdl(3pm) - debian |
sdl::tutorial::animation(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
SDL Game Engine CVS Snapshot 2008-07-23 (Default branch) |
SDL Asylum 0.2.4 (Default branch) |
SDL Asylum 0.3.0 (Default branch) |