From: Mats Bengtsson <mats.bengtsson@s3.kth.se>
Date: Tue, 20 Mar 2007 09:12:25 +0000 (+0100)
Subject: Bug fix: use degrees instead of radians in ly:stencil-rotate, i.e. in
X-Git-Tag: release/2.11.21-1~3^2~2
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b1e0e05b8ebcc86ff725baf8b41b022768e5881a;p=lilypond.git

Bug fix: use degrees instead of radians in ly:stencil-rotate, i.e. in
the \rotate markup command.
---

diff --git a/lily/stencil-scheme.cc b/lily/stencil-scheme.cc
index a603f01b5f..125b142d26 100644
--- a/lily/stencil-scheme.cc
+++ b/lily/stencil-scheme.cc
@@ -297,7 +297,7 @@ LY_DEFINE (ly_stencil_rotate, "ly:stencil-rotate",
 
   SCM new_s = s->smobbed_copy ();
   Stencil *q = unsmob_stencil (new_s);
-  q->rotate (a, Offset (x_off, y_off));
+  q->rotate_degrees (a, Offset (x_off, y_off));
   return new_s;
 }