SDL Wiki
(This function is part of SDL_image, a separate library from SDL.)

IMG_ReadXPMFromArray

Load a XPM image from a an array Returns an 8bpp indexed surface if possible, otherwise 32bpp.

Syntax

SDL_Surface * IMG_ReadXPMFromArray(char **xpm);

Function Parameters

xpm

null terminated array of strings

Return Value

Returns SDL surface, or NULL on error

IMG_ReadXPMFromArrayToRGB888

CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.