]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/molecule.hh
patch::: 1.3.95.tca2
[lilypond.git] / lily / include / molecule.hh
index b8153c72a09e96d65ea15338814706af3df5fd41..e61a64c8b9c89de83bd13a0d66d5fa6cc8461a17 100644 (file)
@@ -37,6 +37,8 @@
     Empty molecules have empty dimensions.  If add_at_edge is used to
     init the molecule, we assume that
     DIMENSIONS = (Interval(0,0),Interval(0,0)
+
+    TODO: go full smob with Molecule.
     
 */
 class Molecule {
@@ -71,6 +73,7 @@ public:
   void translate_axis (Real,Axis);
   
   Interval extent (Axis) const;
+  Box extent_box () const;
   /**
      codify THIS into a Scheme expression.
    */
@@ -80,7 +83,7 @@ public:
 
 SCM fontify_atom (Font_metric*, SCM atom);
 
-Molecule create_molecule (SCM scheme_molecule);
+Molecule create_molecule (SCM brew_molecule);