FireBirdLib - Topfield TMS PVR TAP Programming Library
FBLib_FontManager.h File Reference
#include "libFireBird.h"

Go to the source code of this file.

Data Structures

struct  tAlphaLUT
 
struct  tFMUC_MemDebug
 

Functions

void * FMUC_ReserveMemory (char *Requester, dword size)
 
void FMUC_FreeMemory (char *Requester, void *Pointer)
 
bool FM_isValidCharacter (byte Char)
 
byte FM_CharToIndex (byte Char)
 
byte FM_AlphaBlend (byte Alpha, byte FG, byte BG, float AntiAliasFactor)
 
void FM_InitAlphaLUT (dword fgColor, dword bgColor, float AntiAliasFactor)
 
dword FM_AlphaBlendRGB (byte Alpha, dword FG, dword BG, float AntiAliasFactor)
 
tGlyphCacheUCFMUC_GetGlyphData (tFontDataUC *FontData, const byte *UTF8Character, byte *BytesPerChar)
 
byte * FMUC_FindUTF8Start (byte *p)
 
byte * FMUC_FindNextUTF8 (byte *p)
 
bool FMUC_IsDiacriticalMark (dword Character)
 
void FMUC_MemoryDump (dword *NrReservations, dword *NrTotalSize)
 
tFMUC_MemDebugFMUC_MemoryFindFree (void)
 
tFMUC_MemDebugFMUC_MemoryFindPointer (void *Pointer)
 

Variables

tAlphaLUT AlphaLUT [256]
 

Function Documentation

◆ FM_AlphaBlend()

byte FM_AlphaBlend ( byte  Alpha,
byte  FG,
byte  BG,
float  AntiAliasFactor 
)

Definition at line 3 of file FM_AlphaBlend.c.

References TRACEENTER, and TRACEEXIT.

Referenced by FM_AlphaBlendRGB(), and FM_InitAlphaLUT().

◆ FM_AlphaBlendRGB()

dword FM_AlphaBlendRGB ( byte  Alpha,
dword  FG,
dword  BG,
float  AntiAliasFactor 
)

Definition at line 3 of file FM_AlphaBlendRGB.c.

References FM_AlphaBlend(), TRACEENTER, and TRACEEXIT.

Referenced by FM_PutStringAA(), and FMUC_PutStringAA().

◆ FM_CharToIndex()

byte FM_CharToIndex ( byte  Char)

Definition at line 3 of file FM_CharToIndex.c.

References FM_isValidCharacter(), TRACEENTER, and TRACEEXIT.

Referenced by FM_GetStringHeight(), FM_GetStringWidth(), and FM_PutStringAA().

◆ FM_InitAlphaLUT()

void FM_InitAlphaLUT ( dword  fgColor,
dword  bgColor,
float  AntiAliasFactor 
)

◆ FM_isValidCharacter()

bool FM_isValidCharacter ( byte  Char)

Definition at line 3 of file FM_isValidCharacter.c.

References TRACEENTER, and TRACEEXIT.

Referenced by FM_CharToIndex(), FM_GetStringHeight(), FM_GetStringWidth(), and FM_PutStringAA().

◆ FMUC_FindNextUTF8()

byte * FMUC_FindNextUTF8 ( byte *  p)

Definition at line 3 of file FMUC_FindNextUTF8.c.

References TRACEENTER, and TRACEEXIT.

Referenced by FMUC_PutStringAA().

◆ FMUC_FindUTF8Start()

byte * FMUC_FindUTF8Start ( byte *  p)

Definition at line 3 of file FMUC_FindUTF8Start.c.

References TRACEENTER, and TRACEEXIT.

Referenced by FMUC_PutStringAA().

◆ FMUC_FreeMemory()

void FMUC_FreeMemory ( char *  Requester,
void *  Pointer 
)

◆ FMUC_GetGlyphData()

◆ FMUC_IsDiacriticalMark()

bool FMUC_IsDiacriticalMark ( dword  Character)

Definition at line 3 of file FMUC_IsDiacriticalMark.c.

References TRACEENTER, and TRACEEXIT.

Referenced by FMUC_GetStringWidth(), and FMUC_PutStringAA().

◆ FMUC_MemoryDump()

void FMUC_MemoryDump ( dword *  NrReservations,
dword *  NrTotalSize 
)

Definition at line 6 of file FMUC_MemDebug.c.

References tFMUC_MemDebug::Alloc, FMUC_Memory, and tFMUC_MemDebug::Size.

Referenced by FMUC_FreeMemory(), and FMUC_ReserveMemory().

◆ FMUC_MemoryFindFree()

tFMUC_MemDebug * FMUC_MemoryFindFree ( void  )

Definition at line 30 of file FMUC_MemDebug.c.

References tFMUC_MemDebug::Alloc, and FMUC_Memory.

Referenced by FMUC_ReserveMemory().

◆ FMUC_MemoryFindPointer()

tFMUC_MemDebug * FMUC_MemoryFindPointer ( void *  Pointer)

Definition at line 45 of file FMUC_MemDebug.c.

References tFMUC_MemDebug::Alloc, and FMUC_Memory.

Referenced by FMUC_FreeMemory().

◆ FMUC_ReserveMemory()

void * FMUC_ReserveMemory ( char *  Requester,
dword  size 
)

Variable Documentation

◆ AlphaLUT

tAlphaLUT AlphaLUT[256]
extern

Definition at line 3 of file FM_InitAlphaLUT.c.

Referenced by FM_InitAlphaLUT(), FM_PutStringAA(), and FMUC_PutStringAA().