capi/textblt.c File Reference

#include "text.h"
#include "2d.h"
#include "window.h"
#include "mem.h"
#include "trace.h"
Include dependency graph for textblt.c:

Functions

void SetFontWindow (WINDOW *pfw)
void RedrawFont ()
void SetFontColor (SSDRGBAType *frColor, SSDRGBAType *bkColor, UINT8 bRedrawFont)
void SetActiveFont (UINT8 nFont, INT8 nScale, UINT8 bForce)
UINT8 GetActiveFont ()
INT8 GetFontScaling ()
void TextOut (WINDOW *pDstWnd, INT16 x, INT16 y, const char *str, UINT16 *pStrLen, ROTATE_TYPE orient)

Variables

UINT8 g_activeFont = 1
INT8 g_FontScaling = 0
WINDOWg_pFontWnd
SSDRGBAType g_fontFrColor
SSDRGBAType g_fontBkColor

Function Documentation

UINT8 GetActiveFont (  ) 

References g_activeFont.

INT8 GetFontScaling (  ) 

References g_FontScaling.

void RedrawFont (  ) 

References _WINDOW::bypp, _WINDOW::bywidth, g_activeFont, _WINDOW::mem_offset, and MoveFontToSSD16bppMem().

Referenced by SetActiveFont(), and SetFontColor().

Here is the call graph for this function:

Here is the caller graph for this function:

void SetActiveFont ( UINT8  nFont,
INT8  nScale,
UINT8  bForce 
)

References g_activeFont, g_FontScaling, and RedrawFont().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void SetFontColor ( SSDRGBAType frColor,
SSDRGBAType bkColor,
UINT8  bRedrawFont 
)

References SSDRGBAType::a, SSDRGBAType::b, SSDRGBAType::g, mem_cpy(), SSDRGBAType::r, and RedrawFont().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void SetFontWindow ( WINDOW pfw  ) 

Referenced by main().

Here is the caller graph for this function:

void TextOut ( WINDOW pDstWnd,
INT16  x,
INT16  y,
const char *  str,
UINT16 pStrLen,
ROTATE_TYPE  orient 
)

References SSDRGBAType::a, FontCharToPos(), g_activeFont, g_FontScaling, getFontHeight(), getFontWidth(), NONE, ROT270, ROT90, ssd_2d_blt(), TRANSPARENT, VFLIP, and _WINDOW::width.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Generated on Wed Mar 23 11:08:34 2011 for Omnima LCD by  doxygen 1.6.3