]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/staff-symbol-referencer.hh
Release: bump Welcome versions.
[lilypond.git] / lily / include / staff-symbol-referencer.hh
index 179bae828f6905339b16ffa2757e67b9fb87fa12..64d41014d70ae28a6041e940a0b124338f125a2a 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1999--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1999--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -30,7 +30,6 @@
 class Staff_symbol_referencer
 {
 public:
-  DECLARE_GROB_INTERFACE ();
   static bool ugly_hack (Grob *);
   static void set_position (Grob *, Real);
   static void pure_set_position (Grob *, Real);
@@ -48,7 +47,17 @@ public:
   static int line_count (Grob *);
   static Real get_position (Grob *);
   static Real pure_get_position (Grob *);
+
+  /**
+     Interval of staff lines.
+  */
+  static Interval staff_span (Grob *);
+
+  /**
+     Half of the height, in staff space, i.e. 2.0 for a normal staff.
+  */
   static Real staff_radius (Grob *);
+
   static int get_rounded_position (Grob *);
   static int pure_get_rounded_position (Grob *);
   static Interval extent_in_staff (Grob *);