dlangui.graphics.fonts

DLANGUI library.

This module contains base fonts access implementation.

To enable OpenGL support, build with version(USE_OPENGL);

Synopsis:

import dlangui.graphics.glsupport;

Public Imports

dlangui.graphics.drawbuf
public import dlangui.graphics.drawbuf;
Undocumented in source.
dlangui.core.types
public import dlangui.core.types;
Undocumented in source.
dlangui.core.logger
public import dlangui.core.logger;
Undocumented in source.

Members

Aliases

FontRef
alias FontRef = Ref!Font
Undocumented in source.

Classes

Font
class Font

Font object

FontManager
class FontManager

Access points to fonts.

Enums

FontFamily
enum FontFamily

font family

FontWeight
enum FontWeight

useful font weight constants

Functions

nextGlyphId
uint nextGlyphId()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

glyphDestroyCallback
void function(uint id) glyphDestroyCallback [@property getter]

get glyph destroy callback (to cleanup OpenGL caches)

glyphDestroyCallback
void glyphDestroyCallback [@property getter]

set glyph destroy callback (to cleanup OpenGL caches)

Structs

FontList
struct FontList

font instance collection - utility class, for font manager implementations

GlyphCache
struct GlyphCache

font glyph cache

Variables

UNICODE_HYPHEN
dchar UNICODE_HYPHEN;
Undocumented in source.
UNICODE_NB_HYPHEN
dchar UNICODE_NB_HYPHEN;
Undocumented in source.
UNICODE_NO_BREAK_SPACE
dchar UNICODE_NO_BREAK_SPACE;
Undocumented in source.
UNICODE_SOFT_HYPHEN_CODE
dchar UNICODE_SOFT_HYPHEN_CODE;
Undocumented in source.
UNICODE_ZERO_WIDTH_SPACE
dchar UNICODE_ZERO_WIDTH_SPACE;
Undocumented in source.

Meta