From: Stefan Csomor Date: Wed, 19 Dec 2001 21:27:34 +0000 (+0000) Subject: changed clipping to use native mac regions X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bf56779564873a1963e4658598ef29d60dad4033?hp=642163b5a0b9e6147b21f759abb47284ec637765 changed clipping to use native mac regions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/dc.h b/include/wx/mac/dc.h index fe4ebd4b7d..ea40eaec03 100644 --- a/include/wx/mac/dc.h +++ b/include/wx/mac/dc.h @@ -177,6 +177,7 @@ class WXDLLEXPORT wxDC: public wxDCBase return (wxCoord)((double)(y) * m_scaleY - 0.5); } + RgnHandle MacGetCurrentClipRgn() { return m_macCurrentClipRgn ; } // protected: @@ -265,7 +266,8 @@ protected: mutable bool m_macPenInstalled ; mutable bool m_macBrushInstalled ; - Rect m_macClipRect ; + RgnHandle m_macBoundaryClipRgn ; + RgnHandle m_macCurrentClipRgn ; Point m_macLocalOrigin ; void MacSetupPort( AGAPortHelper* ph ) const ; };