Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 223 Bytes

File metadata and controls

9 lines (7 loc) · 223 Bytes

Viewport

This component handles the viewport.

  • keep track of the current offset relative to world
  • method to move the viewport
  • reference to viewport canvas and context
  • method to draw on Viewport from Layer