]> git.saurik.com Git - wxWidgets.git/commit
Change VIEWPORT_EXTENT constant in wxMSW wxDC code to be a power of two.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Apr 2011 22:57:45 +0000 (22:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 26 Apr 2011 22:57:45 +0000 (22:57 +0000)
commitdfc2e4961e425f40d39849cf3546f70e07c9239d
treefad2d0a8c00668b87f2ce451b6a9691196c68e79
parenta152f137f6c21cd47d74df0e7a98cdb55e4ca178
Change VIEWPORT_EXTENT constant in wxMSW wxDC code to be a power of two.

Notice that this commit doesn't really change anything, in particular it
doesn't correct zooming for zoom factors that are power of 2 (which was broken
before as ticket #11669 showed), this was already done by the previous commit.
This one simply makes multiplying by VIEWPORT_EXTENT a tiny bit more efficient.

See #9554.

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