OUTPUT:
RETVAL
-SDL_Surface *
-CreateRGBSurface (flags, width, height, depth, Rmask, Gmask, Bmask, Amask )
- Uint32 flags
- int width
- int height
- int depth
- Uint32 Rmask
- Uint32 Gmask
- Uint32 Bmask
- Uint32 Amask
- CODE:
- RETVAL = SDL_CreateRGBSurface ( flags, width, height,
- depth, Rmask, Gmask, Bmask, Amask );
- OUTPUT:
- RETVAL
+=for comment
+Comment out for now as it does not compile
SDL_Surface *
CreateRGBSurfaceFrom (pixels, width, height, depth, pitch, Rmask, Gmask, Bmask, Amask )
OUTPUT:
RETVAL
+=cut
+
=for comment
Comment out for now as it does not compile
OUTPUT:
RETVAL
-=cut
-
int
MUSTLOCK ( surface )
SDL_Surface *surface
OUTPUT:
RETVAL
+=cut
HV *
VideoInfo ()
OUTPUT:
RETVAL
+SDL_Surface *
+SetVideoMode ( width, height, bpp, flags )
+ int width
+ int height
+ int bpp
+ Uint32 flags
+
+ CODE:
+ char* CLASS;
+ RETVAL = SDL_SetVideoMode(width,height,bpp,flags);
+ OUTPUT:
+ RETVAL
+
+int
+Flip ( surface )
+ SDL_Surface *surface
+ CODE:
+ RETVAL = SDL_Flip(surface);
+ OUTPUT:
+ RETVAL
+
+
=for comment
Comment out for now as it does not compile
OUTPUT:
RETVAL
-=cut
+
int
VideoModeOK ( width, height, bpp, flags )
int num_rects,i;
if ( items < 2 ) return;
num_rects = items - 1;
-
+ SDL_UpdateRects(surface,num_rects,rects);
rects = (SDL_Rect *)safemalloc(sizeof(SDL_Rect)*items);
for(i=0;i<num_rects;i++) {
temp = (SDL_Rect *)SvIV(ST(i+1));
}
SDL_UpdateRects(surface,num_rects,rects);
safefree(rects);
-
int
Flip ( surface )
OUTPUT:
RETVAL
+=cut
+
int
FillRect ( dest, dest_rect, color )
SDL_Surface *dest
OUTPUT:
RETVAL
+=for comment
+
SDL_Surface*
TTFRenderTextSolid ( font, text, fg )
TTF_Font *font
OUTPUT:
RETVAL
+=cut
+
#endif
SDL_Overlay*
#ifdef HAVE_SDL_GFX
+=cut
+
SDL_Surface *
GFXRotoZoom ( src, angle, zoom, smooth)
SDL_Surface * src
OUTPUT:
RETVAL
+=cut
+
int
GFXPixelColor ( dst, x, y, color )
SDL_Surface* dst