2 dimension-cache.cc -- implement Dimension_cache
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "dimension-cache.hh"
14 Dimension_cache::Dimension_cache (Dimension_cache const &d)
18 offset_callbacks_ = d.offset_callbacks_;
19 offsets_left_ = d.offsets_left_;
21 extent_ = d.extent_ ? new Interval (*d.extent_) : 0;
24 Dimension_cache::Dimension_cache ()
30 Dimension_cache::init ()
33 offset_callbacks_ = SCM_EOL;
39 Dimension_cache::~Dimension_cache ()