2 dimension-cache.hh -- declare Dimension_cache
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef DIMENSION_CACHE_HH
11 #define DIMENSION_CACHE_HH
13 #include "interval.hh"
15 #include "lily-proto.hh"
17 #include "dimension-cache-callback.hh"
18 #include "lily-guile.hh"
22 Adminstration of offset dimension info.
24 TODO: use SCM for callbacks, and let them be set as basic
27 struct Dimension_cache
31 The offset wrt. to the center of #parent_l_#
35 SCM offset_callbacks_;
41 What to call to find extent. Nil means empty.
43 Dim_cache_callback extent_callback_l_;
44 Score_element * parent_l_;
46 Dimension_cache(Dimension_cache const&);
52 #endif /* DIMENSION_CACHE_HH */