el h / SimpleGUI

Fork of SimpleGUI by Duncan McIntyre

Embed: (wiki syntax)

« Back to documentation index

UGFont Class Reference

UGFont Class Reference

A Font implementation based on the bitmap format used by the Unigraphic library. More...

#include <UGFont.h>

Inherits Font.

Public Member Functions

virtual uint8_t widthOf (char c)
 The unzoomed width of the character.
virtual uint8_t height ()
 The unzoomed height of a character.
uint8_t * getGlyphData (char c)
 Return the data part of the glyph - excluding the widht byte.

Detailed Description

A Font implementation based on the bitmap format used by the Unigraphic library.

Definition at line 12 of file UGFont.h.


Member Function Documentation

uint8_t * getGlyphData ( char  c )

Return the data part of the glyph - excluding the widht byte.

Definition at line 60 of file UGFont.cpp.

uint8_t height (  ) [virtual]

The unzoomed height of a character.

Implements Font.

Definition at line 46 of file UGFont.cpp.

uint8_t widthOf ( char  c ) [virtual]

The unzoomed width of the character.

Implements Font.

Definition at line 26 of file UGFont.cpp.