pixelperfectengine ~master (2023-12-13T21:18:59Z)
Dub
Repo
TextTempl.getWidth
pixelperfectengine
graphics
text
TextTempl
Returns the width of a slice of the text chain in pixels.
int
getWidth
()
int
getWidth
(sizediff_t begin, sizediff_t end)
class
TextTempl
(BitmapType = Bitmap8Bit)
@
safe
pure
int
getWidth
(
sizediff_t
begin
,
sizediff_t
end
)
Meta
Source
See Implementation
pixelperfectengine
graphics
text
TextTempl
constructors
this
enums
Flags
functions
addToEnd
breakTextIntoMultipleLines
font
getBlockWidth
getChar
getHeight
getWidth
insertChar
offsetAmount
opIndex
overwriteChar
removeChar
toDString
properties
charLength
text
variables
_text
flags
formatting
frontTab
icon
iconOffsetX
iconOffsetY
iconSpacing
next
Returns the width of a slice of the text chain in pixels.