]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stencil.cc
move trill line into line-interface. Allows angled trill lines.
[lilypond.git] / lily / stencil.cc
index b88b0c8bdebb50581e275babe0a9fdb819e17f23..12bbf4ea128f0f573a41ae1e9b7d1f6cabd5fbe4 100644 (file)
@@ -73,11 +73,17 @@ Stencil::extent_box () const
   return dim_;
 }
 
+void
+Stencil::rotate (Real a, Offset off)
+{
+  rotate_degrees (a *180/M_PI, off); 
+}
+
 /*
* Rotate this stencil around the point [x, y]
+  Rotate this stencil around the point [x, y]
  */
 void
-Stencil::rotate (Real a, Offset off)
+Stencil::rotate_degrees (Real a, Offset off)
 {
   const Real x_cen = extent (X_AXIS).center ();
   const Real y_cen = extent (Y_AXIS).center ();