Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
SDL
SDL.Rect

Class 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.