DrawTextLayout is a concrete representation of an AttributedString that can be displayed in a DrawContext. It includes information important for the drawing of a block of text, including the bounding box to wrap the text within, the alignment of lines of text within that box, areas to mark as being
| 460 | // |
| 461 | // TODO talk about OS-specific differences with text drawing that libui can't account for... |
| 462 | type DrawTextLayout struct { |
| 463 | tl *C.uiDrawTextLayout |
| 464 | } |
| 465 | |
| 466 | // DrawTextAlign specifies the alignment of lines of text in a |
| 467 | // DrawTextLayout. |
nothing calls this directly
no outgoing calls
no test coverage detected