add optional wrapWidth

This commit is contained in:
jrkb 2023-05-14 08:34:28 +02:00
parent fd888cf60c
commit 91a164c1ef

View file

@ -1144,7 +1144,8 @@ class Font {
float & advanceY, float & advanceY,
const bool vFlip = false, const bool vFlip = false,
const float fontSize_px = 42, const float fontSize_px = 42,
const float lineHeightMultiplier = 1){ const float lineHeightMultiplier = 1,
const float wrapWidth = 0){
float advanceX = 0; float advanceX = 0;