Module text

Module text 

Source

Structs§

GlyphonTextRender
A text renderer Pipeline for rendering text using the Glyphon engine.
TextCommand
TextConstraint
Describes size constraints for a text draw
TextData
Text data for rendering, including buffer and size.

Functions§

read_font_system
It costs a lot to create a glyphon font system, so we use a static one to share it every where and avoid creating it multiple times. This function returns a read lock of the font system.
write_font_system
It costs a lot to create a glyphon font system, so we use a static one to share it every where and avoid creating it multiple times. This function returns a write lock of the font system.