]> git.saurik.com Git - wxWidgets.git/commitdiff
adding angle conversion
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 9 Oct 2006 16:05:08 +0000 (16:05 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 9 Oct 2006 16:05:08 +0000 (16:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/graphics.cpp

index 04d75772e6ceada1e0a8cecefa553b33b271e563..69f3a08e672fb95bf5d74dd41854beb538b13a76 100644 (file)
@@ -417,7 +417,7 @@ wxGraphicsPath* wxGDIPlusContext::CreatePath()
 
 void wxGDIPlusContext::Rotate( wxDouble angle ) 
 {
-    m_context->RotateTransform( angle );
+    m_context->RotateTransform( RadToDeg(angle) );
 }
 
 void wxGDIPlusContext::Translate( wxDouble dx , wxDouble dy )