concatenation must use prepend mode on osx as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9c0e333ce1
commit
362439b629
@ -1082,7 +1082,7 @@ wxGraphicsObjectRefData *wxMacCoreGraphicsMatrixData::Clone() const
|
||||
// concatenates the matrix
|
||||
void wxMacCoreGraphicsMatrixData::Concat( const wxGraphicsMatrixData *t )
|
||||
{
|
||||
m_matrix = CGAffineTransformConcat(m_matrix, *((CGAffineTransform*) t->GetNativeMatrix()) );
|
||||
m_matrix = CGAffineTransformConcat(*((CGAffineTransform*) t->GetNativeMatrix()), m_matrix );
|
||||
}
|
||||
|
||||
// sets the matrix to the respective values
|
||||
@ -2630,7 +2630,7 @@ void wxMacCoreGraphicsContext::ConcatTransform( const wxGraphicsMatrix& matrix )
|
||||
if ( m_cgContext )
|
||||
CGContextConcatCTM( m_cgContext, *(CGAffineTransform*) matrix.GetNativeMatrix());
|
||||
else
|
||||
m_windowTransform = CGAffineTransformConcat(m_windowTransform, *(CGAffineTransform*) matrix.GetNativeMatrix());
|
||||
m_windowTransform = CGAffineTransformConcat(*(CGAffineTransform*) matrix.GetNativeMatrix(), m_windowTransform);
|
||||
}
|
||||
|
||||
// sets the transform of this context
|
||||
|
Loading…
Reference in New Issue
Block a user