Round the values in wxDC coordinate calculations.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Jun 2011 15:13:52 +0000 (15:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Jun 2011 15:13:52 +0000 (15:13 +0000)
commit1fdce0aeb9c0411184c786bfffc7c47900834c63
tree94ea060879fadf7ace350f2ab4d20cca9c24b71e
parentf76c3ff6775e109cf5c49cfa1f0471543b170ae3
Round the values in wxDC coordinate calculations.

Make the conversion of logical coordinates to the device ones more precise by
avoiding errors due to truncation of floating point values to integer ones.

See #13284.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/dc.cpp