abey79/vsvg

Improve `show_central_panel` hook

abey79 opened this issue · 0 comments

abey79 commented
  • When we have rulers (#69), DocumentWidget should probably egui-allocate everything but provide a struct with some rects (rulers, drawing zone, etc.) to the hook.
  •  Provide scale/offset to the hook to allow the hook to convert between svg and screen pixels