provaengine ~master (2018-04-11T21:05:02Z)
Dub
Repo
Font
prova
graphics
text
font
final
class
Font {
FT_Library
ftlibrary
;
int
size
;
int
ascentLine
;
int
descentLine
;
bool
hasKerning
;
float
lineHeight
;
this
(
string
path
,
int
size
)
;
Texture
texture
[@property getter];
bool
hasGlyph
(
int
character
)
;
Glyph
getGlyph
(
int
character
)
;
Vector2
getKerning
(
int
leftChar
,
int
rightChar
)
;
Vector2
measureString
(
string
text
)
;
}
Constructors
this
this
(
string
path
,
int
size
)
Members
Functions
getGlyph
Glyph
getGlyph
(
int
character
)
getKerning
Vector2
getKerning
(
int
leftChar
,
int
rightChar
)
hasGlyph
bool
hasGlyph
(
int
character
)
measureString
Vector2
measureString
(
string
text
)
Properties
texture
Texture
texture
[@property getter]
Variables
ascentLine
int
ascentLine
;
descentLine
int
descentLine
;
hasKerning
bool
hasKerning
;
lineHeight
float
lineHeight
;
size
int
size
;
Meta
Source
See Implementation
prova
graphics
text
font
modules
font
glyph
text