changed clipping to use native mac regions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -177,6 +177,7 @@ class WXDLLEXPORT wxDC: public wxDCBase
|
|||||||
return (wxCoord)((double)(y) * m_scaleY - 0.5);
|
return (wxCoord)((double)(y) * m_scaleY - 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RgnHandle MacGetCurrentClipRgn() { return m_macCurrentClipRgn ; }
|
||||||
//
|
//
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -265,7 +266,8 @@ protected:
|
|||||||
mutable bool m_macPenInstalled ;
|
mutable bool m_macPenInstalled ;
|
||||||
mutable bool m_macBrushInstalled ;
|
mutable bool m_macBrushInstalled ;
|
||||||
|
|
||||||
Rect m_macClipRect ;
|
RgnHandle m_macBoundaryClipRgn ;
|
||||||
|
RgnHandle m_macCurrentClipRgn ;
|
||||||
Point m_macLocalOrigin ;
|
Point m_macLocalOrigin ;
|
||||||
void MacSetupPort( AGAPortHelper* ph ) const ;
|
void MacSetupPort( AGAPortHelper* ph ) const ;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user