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
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_;
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);
};