]> git.donarmstrong.com Git - lilypond.git/commitdiff
Bug fix: use degrees instead of radians in ly:stencil-rotate, i.e. in
authorMats Bengtsson <mats.bengtsson@s3.kth.se>
Tue, 20 Mar 2007 09:12:25 +0000 (10:12 +0100)
committerMats Bengtsson <mats.bengtsson@s3.kth.se>
Tue, 20 Mar 2007 09:12:25 +0000 (10:12 +0100)
the \rotate markup command.

lily/stencil-scheme.cc

index a603f01b5f5c9b123cbd1638bfb462cd4a1b268e..125b142d26fc46805b1734906989f999ff012c6e 100644 (file)
@@ -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;
 }