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:
parent
76da190454
commit
6f32f3cea2
1 changed files with 1 additions and 1 deletions
|
|
@ -1044,7 +1044,7 @@ void wxGDIPlusMatrixData::Scale( wxDouble xScale , wxDouble yScale )
|
|||
// add the rotation to this matrix (radians)
|
||||
void wxGDIPlusMatrixData::Rotate( wxDouble angle )
|
||||
{
|
||||
m_matrix->Rotate( angle );
|
||||
m_matrix->Rotate( RadToDeg(angle) );
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue