Adds text to the current line layout
(&mut self, font_id: FontId, text: String)
| 223 | |
| 224 | /// Adds text to the current line layout |
| 225 | fn layout_text(&mut self, font_id: FontId, text: String) { |
| 226 | self.draw(Draw::Font(font_id, FontOp::LayoutText(text))); |
| 227 | } |
| 228 | |
| 229 | /// Finishes laying out text and renders the result |
| 230 | fn draw_text_layout(&mut self) { |
no test coverage detected