LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 2004--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2004--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 SCM physical_font_tab () const; | 43 SCM physical_font_tab () const; |
44 Pango_font (PangoFT2FontMap *, | 44 Pango_font (PangoFT2FontMap *, |
45 PangoFontDescription const *, | 45 PangoFontDescription const *, |
46 Real); | 46 Real); |
47 ~Pango_font (); | 47 ~Pango_font (); |
48 | 48 |
49 string description_string () const; | 49 string description_string () const; |
50 SCM font_file_name () const; | 50 SCM font_file_name () const; |
51 void register_font_file (string, string, int); | 51 void register_font_file (string, string, int); |
52 | 52 |
| 53 size_t name_to_index (string) const; |
| 54 SCM get_glyph_outline (size_t signed_idx) const; |
| 55 Box get_glyph_outline_bbox (size_t signed_idx) const; |
| 56 Box get_unscaled_indexed_char_dimensions (size_t) const; |
| 57 Box get_scaled_indexed_char_dimensions (size_t) const; |
| 58 |
53 Stencil pango_item_string_stencil (PangoGlyphItem const *) const; | 59 Stencil pango_item_string_stencil (PangoGlyphItem const *) const; |
54 | 60 |
55 virtual Stencil text_stencil (Output_def *output_state, | 61 virtual Stencil text_stencil (Output_def *output_state, |
56 string text, bool music) const; | 62 string text, bool music) const; |
57 virtual void derived_mark () const; | 63 virtual void derived_mark () const; |
58 }; | 64 }; |
59 | 65 |
60 PangoFontDescription * | 66 PangoFontDescription * |
61 symbols_to_pango_font_description (SCM family, | 67 symbols_to_pango_font_description (SCM family, |
62 SCM style, | 68 SCM style, |
63 SCM variant, | 69 SCM variant, |
64 SCM weight, | 70 SCM weight, |
65 SCM stretch); | 71 SCM stretch); |
66 | 72 |
67 Font_metric * | 73 Font_metric * |
68 select_pango_font (Output_def *layout, SCM chain); | 74 select_pango_font (Output_def *layout, SCM chain); |
69 | 75 |
70 const int PANGO_RESOLUTION = 1200; | 76 const int PANGO_RESOLUTION = 1200; |
71 PangoFontDescription *properties_to_pango_description (SCM chain, Real text_size
); | 77 PangoFontDescription *properties_to_pango_description (SCM chain, Real text_size
); |
72 | 78 |
73 #endif /* HAVE_PANGO16 */ | 79 #endif /* HAVE_PANGO16 */ |
74 #endif /* PANGO_FONT_HH */ | 80 #endif /* PANGO_FONT_HH */ |
75 | 81 |
LEFT | RIGHT |