ws ~master (2021-08-13T10:04:01Z)
Dub
Repo
Font
ws
gl
font
Undocumented in source.
class
Font {
const
string
name
;
const
int
size
;
const
int
height
;
const
int
verticalOffset
;
const
int
em
;
GlContext
context
;
this
(GlContext context, string name, int size);
protected
Glyph
[
dchar
]
glyphs
;
protected
FT_Face
ftFace
;
class
Glyph
;
Glyph
opIndex
(dchar c);
}
Constructors
this
this
(GlContext context, string name, int 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.
Variables
context
GlContext
context
;
Undocumented in source.
em
int
em
;
Undocumented in source.
ftFace
FT_Face
ftFace
;
Undocumented in source.
glyphs
Glyph
[
dchar
]
glyphs
;
Undocumented in source.
height
int
height
;
Undocumented in source.
name
string
name
;
Undocumented in source.
size
int
size
;
Undocumented in source.
verticalOffset
int
verticalOffset
;
Undocumented in source.
Meta
Source
See Implementation
ws
gl
font
classes
Font
functions
applyGamma
findFont
iterateRegistryKey
winDir
manifest constants
FALLBACK_FONT
structs
SelectedFont