]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/stencil.hh
Issue 1388: Initial work to support opentype font features.
[lilypond.git] / lily / include / stencil.hh
index 6b78c18e4b313ac59980909a917ed6dd90556152..a55c7f47e4a26bd968220cd8a748e7c35dc1de11 100644 (file)
@@ -47,7 +47,7 @@ using namespace std;
     efficient to add "fresh" stencils to what you're going to build.
 
     * Do not create Stencil objects on the heap. That includes passing
-    around Stencil* which are produced by Stencil::unsmob(). Either
+    around Stencil* which are produced by unsmob<Stencil>(). Either
     copy Stencil objects, or use SCM references.
 
     * Empty stencils have empty dimensions.  If add_at_edge is used to
@@ -58,8 +58,8 @@ using namespace std;
 class Stencil : public Simple_smob<Stencil>
 {
 public:
-  SCM mark_smob ();
-  static const char type_p_name_[];
+  SCM mark_smob () const;
+  static const char * const type_p_name_;
 private:
   Box dim_;
   SCM expr_;
@@ -90,6 +90,7 @@ public:
   bool is_empty () const;
   bool is_empty (Axis) const;
   Stencil in_color (Real r, Real g, Real b) const;
+  Stencil with_outline (Stencil const &ol) const;
   static SCM skylines_from_stencil (SCM, Real, Axis);
 };