]> git.saurik.com Git - wxWidgets.git/commitdiff
changed clipping to use native mac regions
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 19 Dec 2001 21:27:34 +0000 (21:27 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 19 Dec 2001 21:27:34 +0000 (21:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/dc.h

index fe4ebd4b7dd7e863d514ea7bf51ec9867c586221..ea40eaec03c02ff5be045355d0a23507474f87d6 100644 (file)
@@ -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 ;
 };