Tao.Sdl SDK Documentation

SdlImage Members

SdlImage overview

Public Static (Shared) Fields

SDL_IMAGE_MAJOR_VERSION Major Version
SDL_IMAGE_MINOR_VERSION Minor Version
SDL_IMAGE_PATCHLEVEL Patch Version

Public Static (Shared) Methods

IMG_GetError Get the current error string
IMG_isBMP Test for valid, supported BMP file.
IMG_isGIF Test for valid, supported GIF file.
IMG_isJPG Test for valid, supported JPG file.
IMG_isLBM Test for valid, supported LBM file.
IMG_isPCX Test for valid, supported PCX file.
IMG_isPNG Test for valid, supported PNG file.
IMG_isPNM Test for valid, supported PNM file.
IMG_isTIF Test for valid, supported TIF file.
IMG_isXCF Test for valid, supported XCF file.
IMG_isXPM Test for valid, supported XPM file.
IMG_isXV Test for valid, supported XV file.
IMG_Linked_Version Using this you can compare the runtime version to the version that you compiled with.
IMG_Load Load from a file.
IMG_Load_RW Load an image of an unspecified format
IMG_LoadBMP_RW Load a .BMP image.
IMG_LoadGIF_RW Load a .GIF image.
IMG_LoadJPG_RW Load a .JPG image.
IMG_LoadLBM_RW Load a .LBM image.
IMG_LoadPCX_RW Load a .PCX image.
IMG_LoadPNG_RW Load a .PNG image.
IMG_LoadPNM_RW Load a .PNM image.
IMG_LoadTGA_RW Load a .TGA image.
IMG_LoadTIF_RW Load a .TIF image.
IMG_LoadTyped_RW Load an image from an SDL data source. The 'type' may be one of: "BMP", "GIF", "PNG", etc. If the image format supports a transparent pixel, SDL will set the colorkey for the surface. You can enable RLE acceleration on the surface afterwards by calling: SDL_SetColorKey(image, SDL_RLEACCEL, image.format.colorkey);
IMG_LoadXCF_RW Load a .XCF image.
IMG_LoadXPM_RW Load a .XPM image.
IMG_LoadXV_RW Load a .XV image.
IMG_ReadXPMFromArray Load a .XPM image from an array.
IMG_SetError Set the current error string
SDL_IMAGE_VERSION This method can be used to fill a version structure with the compile-time version of the SDL_image library.

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 

See Also

SdlImage Class | Tao.Sdl Namespace