Query: sdl_convertsurface
OS: opensolaris
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SDL_ConvertSurface(3) SDL API Reference SDL_ConvertSurface(3)NAMESDL_ConvertSurface - Converts a surface to the same format as another surface.SYNOPSIS#include "SDL/SDL.h" SDL_Surface *SDL_ConvertSurface(SDL_Surface *src, SDL_PixelFormat *fmt, Uint32 flags);DESCRIPTIONCreates a new surface of the specified format, and then copies and maps the given surface to it. If this function fails, it returns NULL. The flags parameter is passed to SDL_CreateRGBSurface and has those semantics. This function is used internally by SDL_DisplayFormat. This function can only be called after SDL_Init.RETURN VALUEReturns either a pointer to the new surface, or NULL on error.SEE ALSOSDL_CreateRGBSurface, SDL_DisplayFormat, SDL_PixelFormat, SDL_SurfaceSDLTue 11 Sep 2001, 23:01 SDL_ConvertSurface(3)
Related Man Pages |
---|
sdl_locksurface(3) - debian |
sdl_surface(3) - debian |
sdl_creatergbsurface(3) - centos |
sdl_locksurface(3) - suse |
sdl_surface(3) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
How to learn UNIX |
solaris zones vs container.. |
What's legal and what's not? |
Identify problem with while getopts |
Solaris 10 - password complexity not working |