Giant refactor

Fix pick() picking from weird places on the screen with high DPI scaling

fix up things and remove unnecessary code

move drawState to Document

delete unneeded things

added a missing const

simplify further

Simplify PolygonCache

remove dead code

made editing tools not a polymorphic class tree

(0) -100 -10 +10 +100 tip

mercurial