move drawState to Document

delete unneeded things

added a missing const

simplify further

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

mercurial