dplug ~master (2024-12-12T14:21:32Z)
Home
Dub
Repo
fillText
dplug
graphics
font
Draw text centered on a point on a DirectView.
nothrow @
nogc
void
fillText
(
ImageRef
!
RGBA
surface
,
Font
font
,
const
(
char
)[]
s
,
float
fontSizePx
,
float
letterSpacingPx
,
RGBA
textColor
,
float
positionX
,
float
positionY
,
HorizontalAlignment
horzAlign
=
HorizontalAlignment.center
,
VerticalAlignment
vertAlign
=
VerticalAlignment.center
)
Meta
Source
See Implementation
dplug
graphics
font
classes
Font
enums
HorizontalAlignment
VerticalAlignment
functions
fillText
Draw text centered on a point on a DirectView.