Images
[Drawing]

Image support in µLibrary. More...


Modules

 Creating and deleting images
 Image Basic routines needed to work with images.
 Loading images
 Image loading support for various formats.
 Drawing images
 Some routines to draw your images.
 Working with images
 Some basic useful routines when working with your images.
 Advanced
 More advanced routines for manipulating images.

Enumerations

enum  UL_IMAGE_FORMATS {
  UL_PF_PAL5_A3 = 1, UL_PF_PAL2, UL_PF_PAL4, UL_PF_PAL8,
  UL_PF_COMPRESSED, UL_PF_PAL3_A5, UL_PF_5551, UL_PF_5550
}
enum  UL_IMAGE_STATES { UL_STATE_NONE = 0, UL_STATE_RAM, UL_STATE_RAM_BLOCK, UL_STATE_VRAM }
enum  UL_LOCK_REASON { UL_LOCK_NONE = 0, UL_LOCK_PIXELS = 1, UL_LOCK_PALETTE = 2 }

Variables

const u8 ul_pixelSizes []

Detailed Description

Image support in µLibrary.


Enumeration Type Documentation

enum UL_IMAGE_FORMATS

Available image pixel formats

Enumerator:
UL_PF_PAL5_A3  32-colour palette + 8-tone alpha
UL_PF_PAL2  4-colour palette
UL_PF_PAL4  16-colour palette
UL_PF_PAL8  256-colour palette
UL_PF_COMPRESSED  Not figured out.
UL_PF_PAL3_A5  8-colour palette + 32-tone alpha
UL_PF_5551  16-bit RGBA
UL_PF_5550  15-bit RGB - virtual format (5551 with alpha bit set to 1)

enum UL_IMAGE_STATES

Image or palette states (location in memory)

Enumerator:
UL_STATE_NONE  N'existe pas encore.
UL_STATE_RAM  L'image est quelque part en mémoire, ne pas s'en occuper.
UL_STATE_RAM_BLOCK  L'image utilise un bloc, à libérer (free) une fois que l'image est copiée en VRAM.
UL_STATE_VRAM  L'image a été copiée en VRAM et n'est plus accessible.

enum UL_LOCK_REASON

Reason for locking an image (wether you want to access its palette, texture, etc.)

Enumerator:
UL_LOCK_NONE  Do not use.
UL_LOCK_PIXELS  Access to image pixel data.
UL_LOCK_PALETTE  Access to image palette data.


Variable Documentation

const u8 ul_pixelSizes[]

Size of pixel formats


Generated on Sat Jul 14 23:39:33 2007 by  doxygen 1.5.2