]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/font-size-engraver.hh
c0fbb35c04887ccf40d7bada289924c1cd35bdda
[lilypond.git] / lily / include / font-size-engraver.hh
1 /*   
2   font-size-engraver.hh -- declare Font_size_engraver
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef FONT_SIZE_GRAV_HH
11 #define FONT_SIZE_GRAV_HH
12
13 #include "engraver.hh"
14 #include "protected-scm.hh"
15 /**
16    Set font size on elements that do not have a fontsize set yet.
17
18    Reads context property fontSize.
19
20    Writes element property fontsize 
21  */
22 class Font_size_engraver : public Engraver {
23   Protected_scm size_;
24 protected:
25   virtual void acknowledge_element (Score_element_info);
26   virtual void  do_process_requests ();
27 public:
28   Font_size_engraver ();
29   
30   VIRTUAL_COPY_CONS (Translator);
31 };
32
33 #endif /* FONT_SIZE_GRAV_HH */
34