]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/dimension-cache.hh
dc5c249d790b544dab69420ec77ed920fa1a67bb
[lilypond.git] / lily / include / dimension-cache.hh
1 /*
2   dimension-cache.hh -- declare Dimension_cache
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1998--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef DIMENSION_CACHE_HH
10 #define DIMENSION_CACHE_HH
11
12 #include "lily-proto.hh"
13
14 /*
15   XY offset/refpoint/extent structure.
16 */
17 class Dimension_cache
18 {
19   Interval *extent_;
20   Real *offset_;
21   Grob *parent_;
22   void init ();
23   void clear ();
24   
25   friend class Grob;
26   
27   Dimension_cache (Dimension_cache const &);
28   ~Dimension_cache ();
29   Dimension_cache ();
30 };
31
32 #endif /* DIMENSION_CACHE_HH */
33