X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c94f845b1602d44ccd7c7542afffde666adbb2f0..8d1547ef4697a49cf4f4b8f09f662705e064c416:/include/wx/msw/dc.h?ds=sidebyside diff --git a/include/wx/msw/dc.h b/include/wx/msw/dc.h index ee1ab8d4ec..7f2abb4bf6 100644 --- a/include/wx/msw/dc.h +++ b/include/wx/msw/dc.h @@ -78,13 +78,14 @@ public: virtual int GetDepth() const; virtual wxSize GetPPI() const; + virtual void SetMapMode(int mode); virtual void SetUserScale(double x, double y); - virtual void SetSystemScale(double x, double y); virtual void SetLogicalScale(double x, double y); virtual void SetLogicalOrigin(wxCoord x, wxCoord y); virtual void SetDeviceOrigin(wxCoord x, wxCoord y); virtual void SetAxisOrientation(bool xLeftRight, bool yBottomUp); + virtual void SetLogicalFunction(int function); // implementation from now on @@ -162,6 +163,8 @@ protected: // classes wxDC() { Init(); } + void RealizeScaleAndOrigin(); + virtual void DoGetTextExtent(const wxString& string, wxCoord *x, wxCoord *y, wxCoord *descent = NULL,