dplug v6.0.22
Dub
Repo
fillText
dplug
graphics
font
Draw text centered on a point on a DirectView.
nothrow @
nogc
void
fillText
(
V
StringType
)
(
auto
ref
V
surface
,
Font
font
,
StringType
s
,
float
fontSizePx
,
float
letterSpacingPx
,
RGBA
textColor
,
float
positionX
,
float
positionY
,
HorizontalAlignment
horzAlign
=
HorizontalAlignment.center
,
VerticalAlignment
vertAlign
=
VerticalAlignment.center
)
if
(
isWritableView
!
V
&&
is
(
ViewColor
!
V
==
RGBA
)
)
Meta
Source
See Implementation
dplug
graphics
font
classes
Font
functions
fillText
Draw text centered on a point on a DirectView.