Ensure that the size we draw is a whole number of pixels in each dimension, and preve...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 31 Jan 2008 15:03:00 +0000 (15:03 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 31 Jan 2008 15:03:00 +0000 (15:03 +0000)
commit536bceae2dd6a33168fb41511d5263b697d2d32f
tree907ecaa50781f596af21260c2726b6a3ed22b995
parentfc860c23ed833d1da82174bd636d51d1b54a4af2
Ensure that the size we draw is a whole number of pixels in each dimension, and prevent zooming out too far from creating canvases so small they contain no pixels at all.

git-svn-id: http://svn.voria.com/code@1537 1f10aa63-cdf2-0310-b900-c93c546f37ac
synfig-studio/trunk/src/gtkmm/workarea.cpp