Closed GoogleCodeExporter closed 9 years ago
Original comment by tkon...@gmx.net
on 14 Feb 2012 at 7:32
Overrode the draw() method of the MultiTouchDrawable in SiteMap instead of
painting the grid in the getDrawable() method of SiteMap.
Why?
Drawing a bitmap first and then scaling it in the draw() method is WAY slower
than directly drawing on the already scaled canvas. Moreover, this way 1-pixel
lines stay 1-pixel lines at every scale factor. That's nice!
Original comment by tkon...@gmx.net
on 15 Feb 2012 at 2:41
Original issue reported on code.google.com by
tkon...@gmx.net
on 14 Feb 2012 at 7:31