Module dagon.graphics.font

FreeType font.

Description

The dagon.graphics.font module defines the Font class, which represents a font resource capable of rendering glyphs and text strings.

Functions

NameDescription
nextPowerOfTwo(a) Returns nearest higher power of 2 for an arbitrary integer.

Classes

NameDescription
Font Basic typography class.
FontManager Object that loads and registers fonts.

Structs

NameDescription
Glyph Represents a single glyph of the FreeType font for rendering and typographics.