]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-head.cc
remove Note_head::extent.
[lilypond.git] / lily / note-head.cc
index 74ee76e7321d8939672413ea157f57dcbcf1e74e..7ab1d8b9d05f70de895115f5dc7f77607524b435 100644 (file)
@@ -85,21 +85,6 @@ Note_head::head_extent (Grob *me, Axis a)
   return Interval (0,0);
 }
 
-/*
-  This is necessary to prevent a cyclic dependency: the appearance of
-  the ledgers depends on positioning, so the Grob::get_stencil () can
-  not be used for determining the note head extent.
-  
- */ 
-MAKE_SCHEME_CALLBACK (Note_head,extent,2);
-SCM
-Note_head::extent (SCM smob, SCM axis)  
-{
-  Grob *me = unsmob_grob (smob);
-
-  return ly_interval2scm (head_extent (me, (Axis) scm_to_int (axis)));
-}
-
 MAKE_SCHEME_CALLBACK (Note_head,brew_ez_stencil,1);
 SCM
 Note_head::brew_ez_stencil (SCM smob)