X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95724b1aa2f7248091cdec506d4678b4fbcea20d..7b1279006496ba3251a755bcef91301ad107bb78:/include/wx/generic/dcpsg.h?ds=sidebyside diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index 9ce1a6efe4..fb1b61bce2 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -79,7 +79,8 @@ public: void DoDrawSpline(wxList *points); bool DoBlit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, - wxDC *source, wxCoord xsrc, wxCoord ysrc, int rop = wxCOPY, bool useMask = FALSE); + wxDC *source, wxCoord xsrc, wxCoord ysrc, int rop = wxCOPY, bool useMask = FALSE, + wxCoord xsrcMask = -1, wxCoord ysrcMask = -1); bool CanDrawBitmap() const { return TRUE; } void DoDrawIcon( const wxIcon& icon, wxCoord x, wxCoord y ); @@ -129,6 +130,12 @@ public: void SetPrintData(const wxPrintData& data) { m_printData = data; } virtual int GetDepth() const { return 24; } + + static void SetResolution(int ppi); + static int GetResolution(); + +private: + static float ms_PSScaleFactor; protected: