libtonc: Bitmap text

Tonclib

Bitmap text
[Tonc Text Engine]

Text for 16bpp and 8bpp bitmap surfaces: modes 3, 4 and 5. More...

8bpp bitmaps

void bmp8_erase (int left, int top, int right, int bottom)
 Erase part of the 8bpp text canvas.
void bmp8_drawg (uint gid)
 Linear 8 bpp bitmap glyph renderer, opaque.
void bmp8_drawg_t (uint gid)
 Linear 8 bpp bitmap glyph renderer, transparent.
void bmp8_drawg_b1cts (uint gid)
 Erase part of the 8bpp text canvas.
IWRAM_CODE void bmp8_drawg_b1cts_fast (uint gid)
 Erase part of the 8bpp text canvas.
void bmp8_drawg_b1cos (uint gid)
 Erase part of the 8bpp text canvas.

16bpp bitmaps

void bmp16_erase (int left, int top, int right, int bottom)
 Erase part of the 16bpp text canvas.
void bmp16_drawg (uint gid)
 Linear 16bpp bitmap glyph renderer, opaque.
void bmp16_drawg_t (uint gid)
 Linear 16bpp bitmap glyph renderer, transparent.
void bmp16_drawg_b1cts (uint gid)
 Linear bitmap, 16bpp transparent character plotter.
void bmp16_drawg_b1cos (uint gid)
 Linear bitmap, 16bpp opaque character plotter.

Functions

void tte_init_bmp (int vmode, const TFont *font, fnDrawg proc)
 Initialize text system for bitmap fonts.

Detailed Description

Text for 16bpp and 8bpp bitmap surfaces: modes 3, 4 and 5.

Note that TTE does not update the pointer of the surface for page-flipping. You'll have to do that yourself.


Function Documentation

void tte_init_bmp ( int  vmode,
const TFont font,
fnDrawg  proc 
)

Initialize text system for bitmap fonts.

Parameters:
vmode Video mode (3,4 or 5).
font Font to initialize with.
proc Glyph renderer.


Generated on Mon Aug 25 17:03:57 2008 for libtonc by  doxygen 1.5.3