]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/font-interface.hh
patch::: 1.3.136.jcn3
[lilypond.git] / lily / include / font-interface.hh
1 /*   
2   font-interface.hh -- declare Font_interface
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 2000--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef FONT_INTERFACE_HH
11 #define FONT_INTERFACE_HH
12
13 #include "lily-proto.hh"
14 #include "font-metric.hh"
15
16 struct Font_interface
17 {
18   static SCM font_alist_chain (Grob*);
19   static Font_metric * get_font (Grob*, SCM alist_chain);
20   static Font_metric * get_default_font (Grob*);
21   static SCM add_style (Grob*, SCM style, SCM alist_chain);
22   static bool wild_compare (SCM field_val, SCM val);
23   DECLARE_SCHEME_CALLBACK (properties_to_font_name, (SCM,SCM));
24 };
25
26 #endif /* FONT_INTERFACE_HH */