You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing a bit more complex text formatting - same font (height), occasional bold/italic/color changes.
Example of what I need to achieve :
This is what I get using TextWrapped for several spans of text :
(note bold morbi word)
TextWrapped() moves cursor to upper-left corner of whole text-block.
I'd rather not re-implement whole TextWrapped function, just need to know position of red dot (in example image) to continue adding spans of text.
Or maybe proper way is to add some flag like "move cursor to after last character of text".
The text was updated successfully, but these errors were encountered:
just need to know position of red dot (in example image) to continue adding spans of text.
Even if you had it it won't work, as the "min position" of wrapping cannot be specified, which is the effect you can see on the right. This is discussed in #2313 which is the same issue.
For now it is simpler you copy the text rendering loop and adjust it to your needs.
Later we will introduce new, more complete text functions.
I'm doing a bit more complex text formatting - same font (height), occasional bold/italic/color changes.
Example of what I need to achieve :
This is what I get using TextWrapped for several spans of text :
(note bold morbi word)
TextWrapped()
moves cursor to upper-left corner of whole text-block.I'd rather not re-implement whole TextWrapped function, just need to know position of red dot (in example image) to continue adding spans of text.
Or maybe proper way is to add some flag like "move cursor to after last character of text".
The text was updated successfully, but these errors were encountered: