// MGL fwd declarations:
class MGLDevCtx;
+class MGLRegion;
struct font_t;
class WXDLLEXPORT wxDC : public wxDCBase
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
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;