pixelperfectengine ~master (2023-12-13T21:18:59Z)
Dub
Repo
Fontset.breakTextIntoMultipleLines
pixelperfectengine
graphics
fontsets
Fontset
Breaks the input text into multiple lines according to the parameters.
class
Fontset
(T)
dstring
[]
breakTextIntoMultipleLines
(
dstring
input
,
int
maxWidth
,
bool
ignoreNewLineChars
= false
)
if
(
T.stringof
==
Bitmap8Bit.stringof
||
T.stringof
==
Bitmap16Bit.stringof
||
T.stringof
==
Bitmap32Bit.stringof
)
Meta
Source
See Implementation
pixelperfectengine
graphics
fontsets
Fontset
aliases
CharMap
KerningMap
constructors
this
functions
breakTextIntoMultipleLines
chars
getKerning
getName
getTextLength
size
structs
KerningInfo
variables
_chars
_kerning
pages
Breaks the input text into multiple lines according to the parameters.