X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f7b34a878bbcb2f71a0c7694e2a3bec51460218..94e2ed3b8db0220160c0b939782cd46914ec073a:/include/wx/mgl/dc.h diff --git a/include/wx/mgl/dc.h b/include/wx/mgl/dc.h index 578d46619e..d59cec8a7b 100644 --- a/include/wx/mgl/dc.h +++ b/include/wx/mgl/dc.h @@ -45,6 +45,7 @@ class WXDLLEXPORT wxDC; // MGL fwd declarations: class MGLDevCtx; +class MGLRegion; struct font_t; class WXDLLEXPORT wxDC : public wxDCBase @@ -198,7 +199,7 @@ protected: virtual bool DoBlit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxDC *source, wxCoord xsrc, wxCoord ysrc, - int rop = wxCOPY, bool useMask = FALSE); + int rop = wxCOPY, bool useMask = FALSE, wxCoord xsrcMask = -1, wxCoord ysrcMask = -1); // this is gnarly - we can't even call this function DoSetClippingRegion() // because of virtual function hiding @@ -268,6 +269,8 @@ protected: wxPalette m_oldPalette; wxRegion m_currentClippingRegion; + // clipping region m_MGLDC had when it was attached: + MGLRegion *m_globalClippingRegion; // wxDC::Blit handles memoryDCs as special cases :( bool m_isMemDC;