[view] Factorisation of rectangle/line snap to pixel.
[view] Factorisation of rectangle/line snap to pixel.

gjtorikian/lasem,janmarthedal/mathml2svg,wavewave/lasem,janmarthedal/mathml2svg,gjtorikian/lasem,wavewave/lasem,wavewave/lasem,gjtorikian/lasem,janmarthedal/mathml2svg,gjtorikian/lasem,wavewave/lasem,janmarthedal/mathml2svg