- alignMeshedText
void alignMeshedText(P params, Alignment halign, Alignment valign, ivec2 area)
Applies offset to all previously meshed glyphs
Number of meshed glyphs is taken from TextRectSink
- clipTexturedRect
bool clipTexturedRect(frect geometryRect, frect atlasRect, irect scissors)
Undocumented in source. Be warned that the author may not have intended to support it.
- measureText
void measureText(P params, T textRange)
Changes params size and cursor
- meshText
void meshText(P params, T textRange)
void meshText(P params, T textRange, S styleRange)
Modifies params.cursor and params.sink
- meshTextAligned
void meshTextAligned(P params, T textRange, Alignment halign, Alignment valign, ivec2 area)
Undocumented in source. Be warned that the author may not have intended to support it.
- meshTextf
void meshTextf(P params, string fmt, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- rectAlignmentOffset
ivec2 rectAlignmentOffset(ivec2 textSize, Alignment halign, Alignment valign, ivec2 area)
Undocumented in source. Be warned that the author may not have intended to support it.
- tabWidth
int tabWidth(int tabSize, int column)
Undocumented in source. Be warned that the author may not have intended to support it.