]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/offset.hh
Imported Upstream version 2.14.2
[lilypond.git] / flower / include / offset.hh
index 0975e292b604ef05a58373ad9ef0de95235200e8..e5ee4d0730620e5bcb366a127416f03f1d9b581a 100644 (file)
@@ -1,7 +1,20 @@
 /*
-  offset.hh -- part of GNU LilyPond
+  This file is part of LilyPond, the GNU music typesetter.
 
-  (c) 1996--2007 Han-Wen Nienhuys
+  Copyright (C) 1996--2011 Han-Wen Nienhuys
+
+  LilyPond is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  LilyPond is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #ifndef OFFSET_HH
@@ -97,8 +110,10 @@ public:
     return *this;
   }
   Offset direction () const;
+  Offset swapped () const;
   
   Real arg () const;
+  Real angle_degrees () const;
   Real length () const;
   bool is_sane () const;
   Offset operator *= (Offset z2);