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
This commit is contained in:
Stefan Csomor 2005-09-01 06:36:21 +00:00
parent 34a4e91286
commit 04732a7f27

View File

@ -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 ;