pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
SDL
SDL.Rect

SDL.Rect

Description

Used in SDL to define a rectangular area. It is sometimes also used to specify only points or sizes (i.e only one of the position and dimension is used).


int SDL.Rect.x
int SDL.Rect.y

Description

Position of the upper-left corner of the rectangle.


int SDL.Rect.w
int SDL.Rect.h

Description

The width and height of the rectangle.

Module reference for Pike v7.8 release 116, 2008-12-31