(r Renderer, m Matrix, resolution Resolution)
| 1242 | } |
| 1243 | |
| 1244 | func (t *Text) RenderTextTo(r Renderer, m Matrix, resolution Resolution) { |
| 1245 | for index := range t.lines { |
| 1246 | t.renderLineTo(r, m, resolution, index, true, false) |
| 1247 | } |
| 1248 | } |
| 1249 | |
| 1250 | // RenderTo renders the text and its decorations converted to paths, calling r.RenderPath on the renderer. Note that text lines are drawn downwards starting at the origin, that is along negative Y. The origin is thus the top-left corner of the text box. |
| 1251 | func (t *Text) RenderTo(r Renderer, m Matrix, resolution Resolution) { |
nothing calls this directly
no test coverage detected