11 MODULE = SDL::Rect PACKAGE = SDL::Rect PREFIX = rect_
15 SDL_Rect -- Defines a rectangular area
25 rect_new (CLASS, x, y, w, h)
32 RETVAL = (SDL_Rect *) safemalloc (sizeof(SDL_Rect));
44 if (items > 1 ) rect->x = SvIV(ST(1));
53 if (items > 1 ) rect->y = SvIV(ST(1));
62 if (items > 1 ) rect->w = SvIV(ST(1));
71 if (items > 1 ) rect->h = SvIV(ST(1));
81 safefree( (char *)self );