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:
@@ -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
|
// 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()
|
wxMacCGPath::wxMacCGPath()
|
||||||
{
|
{
|
||||||
m_path = CGPathCreateMutable() ;
|
m_path = CGPathCreateMutable() ;
|
||||||
@@ -175,9 +179,6 @@ CGPathRef wxMacCGPath::GetPath() const
|
|||||||
return m_path ;
|
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 )
|
wxMacCGContext::wxMacCGContext( CGrafPtr port )
|
||||||
{
|
{
|
||||||
m_qdPort = port ;
|
m_qdPort = port ;
|
||||||
|
Reference in New Issue
Block a user