]> git.saurik.com Git - wxWidgets.git/commit
Moved all the coordinate system calculation to wxDCBase
authorRobert Roebling <robert@roebling.de>
Wed, 2 May 2007 11:05:45 +0000 (11:05 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 2 May 2007 11:05:45 +0000 (11:05 +0000)
commit04ab8b6ddfa26fbabeadad36966a21a42fe649b1
treee47151b1321f6b6004f7283cca64ee0c6ea69bdf
parent1e50d914af93e769828bac5895622ebdece469c6
  Moved all the coordinate system calculation to wxDCBase
   and thus removed all the duplicated code in all wxDC
   classes.
  Problematic is that wxSVGFileDC and wxPostscriptDC inherit
   from wxDC and therefore include platform specific code
   (also before this change) so I chose to override all
   SetLogicalOrigin() etc. methods in these classes and
   call their wxDCBase methods thereby circumventing the
   platform dependent code.
  I'm afraid the Mac code will require updating, too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
27 files changed:
include/wx/dc.h
include/wx/dcsvg.h
include/wx/dfb/dc.h
include/wx/generic/dcpsg.h
include/wx/gtk/dc.h
include/wx/gtk1/dc.h
include/wx/mac/carbon/dc.h
include/wx/mgl/dc.h
include/wx/motif/dc.h
include/wx/msw/dc.h
include/wx/os2/dc.h
include/wx/x11/dc.h
src/common/dcbase.cpp
src/common/dcsvg.cpp
src/dfb/dc.cpp
src/generic/dcpsg.cpp
src/gtk/dc.cpp
src/gtk1/dc.cpp
src/mac/carbon/dc.cpp
src/mac/carbon/dcclient.cpp
src/mac/carbon/dcprint.cpp
src/mac/carbon/dcscreen.cpp
src/mgl/dc.cpp
src/motif/dc.cpp
src/msw/dc.cpp
src/os2/dc.cpp
src/x11/dc.cpp