fix bug in wxGDIPlusMatrixData::Rotate: it must take radians for coherency with docs and other ports but GDI+ wants degrees.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1044,7 +1044,7 @@ void wxGDIPlusMatrixData::Scale( wxDouble xScale , wxDouble yScale )
|
|||||||
// add the rotation to this matrix (radians)
|
// add the rotation to this matrix (radians)
|
||||||
void wxGDIPlusMatrixData::Rotate( wxDouble angle )
|
void wxGDIPlusMatrixData::Rotate( wxDouble angle )
|
||||||
{
|
{
|
||||||
m_matrix->Rotate( angle );
|
m_matrix->Rotate( RadToDeg(angle) );
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user