10#ifndef __FNT_WRAP_GLYPHLIB__H__
11#define __FNT_WRAP_GLYPHLIB__H__
16#include "GUIImageData.h"
53 void RequiredSpace(
const eC_String *
const pkText, eC_Value& vWidth, eC_Value& vHeight);
78 const eC_String *lpString,
85 eC_UInt &uiNumFittingChars);
95 void Text(
const eC_Value& vX1,
const eC_Value& vY1,
const eC_String *
const lpString);
FontResource_t
List of font resource ids.
Definition: GUIFontResource.h:54
GlyphLib (uGuiliani font) implementation of the Font Wrapper.
Definition: FntWrapGlyphLib.h:37
virtual eC_Int GetDescender() const
void UnloadFont(const FontResource_t &eFontID)
void RequiredSpace(const eC_String *const pkText, eC_Value &vWidth, eC_Value &vHeight)
virtual eC_Int GetAscender() const
void LoadFont(const FontResource_t &eFontID)
eC_UInt m_uiCurrentFontIndex
the currently used font-index
Definition: FntWrapGlyphLib.h:106
eC_TArray< FontEntry_s > m_kFontsHandles
handles of all loaded fonts
Definition: FntWrapGlyphLib.h:107
virtual void GetGlyphMetrics(const eC_Char cChar, GlyphMetrics_t &kMetrics)
eC_Bool SetNOFFonts(const eC_UInt uiNOFFonts)
static eC_Bool CreateInstance()
virtual void RenderGlyphToScreen(const eC_Value &vX1, const eC_Value &vY1, CGUIImageData &kGlyphImage)
virtual void RenderTextInternal(const eC_String *lpString, const TextOperation_t &eOperation, const eC_Value &vX1, const eC_Value &vY1, eC_Value &vWidth, eC_Value &vHeight, eC_Value vWidthMax, eC_UInt &uiNumFittingChars)
void Text(const eC_Value &vX1, const eC_Value &vY1, const eC_String *const lpString)
virtual eC_Int GetInternalLeading() const
void SetFont(const FontResource_t &eID)
The font wrapper base class.
Definition: FntWrap.h:36
TextOperation_t
Definition: FntWrap.h:69
Contains information about an image loaded by CGUIImageLoader.
Definition: GUIImageData.h:29
entry for font
Definition: FntWrapGlyphLib.h:47
gui_font_t Font
font-id
Definition: FntWrapGlyphLib.h:48
eC_UByte * Memory
memory
Definition: FntWrapGlyphLib.h:49