From: Stefan Csomor Date: Thu, 1 Sep 2005 06:36:21 +0000 (+0000) Subject: moving and slightly extending the comment on CGState X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/04732a7f27d2176d81f3b30432a9143fb5be0a23?ds=inline moving and slightly extending the comment on CGState git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/dccg.cpp b/src/mac/carbon/dccg.cpp index 0781f8c304..e8b9ca065a 100755 --- a/src/mac/carbon/dccg.cpp +++ b/src/mac/carbon/dccg.cpp @@ -132,6 +132,10 @@ static inline double DegToRad(double deg) { return (deg * M_PI) / 180.0; } // also coordinate conversions should be moved to native matrix ops //----------------------------------------------------------------------------- +// we always stock two context states, one at entry, to be able to preserve the +// state we were called with, the other one after changing to HI Graphics orientation +// (this one is used for getting back clippings etc) + wxMacCGPath::wxMacCGPath() { m_path = CGPathCreateMutable() ; @@ -175,9 +179,6 @@ CGPathRef wxMacCGPath::GetPath() const return m_path ; } -// we always stock two context states, one at entry, the other one after -// changing to HI Graphics orientation (this one is used for getting back clippings etc) - wxMacCGContext::wxMacCGContext( CGrafPtr port ) { m_qdPort = port ;