()
| 109 | } |
| 110 | |
| 111 | func (ic *Icon) Render() { |
| 112 | ic.renderSVG() |
| 113 | |
| 114 | if ic.svg.Pixels == nil { |
| 115 | return |
| 116 | } |
| 117 | r := ic.Geom.ContentBBox |
| 118 | sp := ic.Geom.ScrollOffset() |
| 119 | draw.Draw(ic.Scene.Pixels, r, ic.svg.Pixels, sp, draw.Over) |
| 120 | } |
nothing calls this directly
no test coverage detected