juliandescottes/piskel — pull request #56 by grosbouddha (2012-09-08 14:38:58+00:00)
Title: FrameRenderer refactoring + dynamic DPI

So I remove the canvas element for frame renderer method signatures to encapsulate a bit more the rendering.
The goal was to be able to render different view for same model more easily eg:
- different DPI
- grid display or not

The current commit is bundled with the dynamic DPI feature (DPI of the drawing canvas dynamically change with viewport size). Next step is the optional grid display (following commit).