drawNoteAt renders the full note (border, tape, title, body, decor) at an arbitrary rect. Used by both normal rendering and the zoom transition.
(c *Canvas, rect Rect, n *Note, selected bool, textMode TextStyleMode)
| 259 | // drawNoteAt renders the full note (border, tape, title, body, decor) at |
| 260 | // an arbitrary rect. Used by both normal rendering and the zoom transition. |
| 261 | func drawNoteAt(c *Canvas, rect Rect, n *Note, selected bool, textMode TextStyleMode) { |
| 262 | drawNoteInternal(c, rect, n, selected, textMode, nil) |
| 263 | } |
| 264 | |
| 265 | func drawNoteInternal(c *Canvas, rect Rect, n *Note, selected bool, textMode TextStyleMode, borderOverride *RGB) { |
| 266 | tint := GetTint(n.Tint) |
no test coverage detected