renderStartPos is absolute rendering start position from our content pos with scroll This can be offscreen (left, up) based on scrolling.
()
| 73 | // renderStartPos is absolute rendering start position from our content pos with scroll |
| 74 | // This can be offscreen (left, up) based on scrolling. |
| 75 | func (ed *Editor) renderStartPos() math32.Vector2 { |
| 76 | return ed.Geom.Pos.Content.Add(ed.Geom.Scroll) |
| 77 | } |
| 78 | |
| 79 | // renderBBox is the render region |
| 80 | func (ed *Editor) renderBBox() image.Rectangle { |
no test coverage detected