CreateSDLSurfaceFromImage Function
ImagingSDL

Converts image to SDL surface.

Pascal
function CreateSDLSurfaceFromImage(const ImageData: TImageData; 
                                   Flags: LongWord; 
                                   OverrideFormat: TImageFormat = ifUnknown): PSDL_Surface;
File

ImagingSDL (at line 61)

Description

Flags is used when creating SDL surface using SDL_CreateRGBSurface and is passed to it. OverrideFormat can be used to convert image to specified format before SDL surface is created, ifUnknown means no conversion.

Related Information
You are here: Symbol Reference > Functions > CreateSDLSurfaceFromImage Function