1SDL_Rect(3)                    SDL API Reference                   SDL_Rect(3)
2
3
4

NAME

6       SDL_Rect - Defines a rectangular area
7

STRUCTURE DEFINITION

9       typedef struct{
10         Sint16 x, y;
11         Uint16 w, h;
12       } SDL_Rect;
13

STRUCTURE DATA

15       x, y                Position of the upper-left corner of the rectangle
16
17       w, h                The width and height of the rectangle
18

DESCRIPTION

20       A  SDL_Rect  defines  a  rectangular  area  of  pixels.  It  is used by
21       SDL_BlitSurface to define blitting regions and by several  other  video
22       functions.
23

SEE ALSO

25       SDL_BlitSurface, SDL_UpdateRect
26
27
28
29SDL                         Tue 11 Sep 2001, 23:01                 SDL_Rect(3)
Impressum