ws v1.0.10 (2017-05-27T17:13:21Z)
Dub
Repo
Font
ws
gl
font
Undocumented in source.
class
Font {
const
string
name
;
const
long
size
;
this
(string name, long size);
protected
Glyph
[
dchar
]
glyphs
;
protected
bool
reference
;
protected
FT_Face
ftFace
;
protected static
bool
initialized
;
protected static
FT_Library
ftLib
;
protected static
Font
[
string
]
fonts
;
protected static
string
[]
searchPaths
;
protected static
string
[]
searchExtensions
;
static
Font
load
(string name, int size);
class
Glyph
;
Glyph
opIndex
(dchar c);
}
Constructors
this
this
(string name, long size)
Undocumented in source.
Members
Classes
Glyph
class
Glyph
Undocumented in source.
Functions
opIndex
Glyph
opIndex
(dchar c)
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
load
Font
load
(string name, int size)
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
fonts
Font
[
string
]
fonts
;
Undocumented in source.
ftLib
FT_Library
ftLib
;
Undocumented in source.
initialized
bool
initialized
;
Undocumented in source.
searchExtensions
string
[]
searchExtensions
;
Undocumented in source.
searchPaths
string
[]
searchPaths
;
Undocumented in source.
Variables
ftFace
FT_Face
ftFace
;
Undocumented in source.
glyphs
Glyph
[
dchar
]
glyphs
;
Undocumented in source.
name
string
name
;
Undocumented in source.
reference
bool
reference
;
Undocumented in source.
size
long
size
;
Undocumented in source.
Meta
Source
See Implementation
ws
gl
font
classes
Font