OLD | NEW |
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) 1997--2010 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--2010 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 void set_empty (bool); | 72 void set_empty (bool); |
73 void add_at_edge (Axis a, Direction d, const Stencil &m, Real padding); | 73 void add_at_edge (Axis a, Direction d, const Stencil &m, Real padding); |
74 void add_stencil (Stencil const &m); | 74 void add_stencil (Stencil const &m); |
75 void translate (Offset); | 75 void translate (Offset); |
76 Stencil translated (Offset) const; | 76 Stencil translated (Offset) const; |
77 void rotate (Real, Offset); | 77 void rotate (Real, Offset); |
78 void rotate_degrees (Real, Offset); | 78 void rotate_degrees (Real, Offset); |
79 void rotate_degrees_absolute (Real, Offset); | 79 void rotate_degrees_absolute (Real, Offset); |
80 void align_to (Axis a, Real x); | 80 void align_to (Axis a, Real x); |
81 void translate_axis (Real, Axis); | 81 void translate_axis (Real, Axis); |
| 82 void scale (Real, Real); |
82 | 83 |
83 Interval extent (Axis) const; | 84 Interval extent (Axis) const; |
84 Box extent_box () const; | 85 Box extent_box () const; |
85 bool is_empty () const; | 86 bool is_empty () const; |
86 Stencil in_color (Real r, Real g, Real b) const; | 87 Stencil in_color (Real r, Real g, Real b) const; |
87 }; | 88 }; |
88 | 89 |
89 DECLARE_UNSMOB (Stencil, stencil); | 90 DECLARE_UNSMOB (Stencil, stencil); |
90 | 91 |
91 void interpret_stencil_expression (SCM expr, | 92 void interpret_stencil_expression (SCM expr, |
92 void (*func) (void *, SCM), | 93 void (*func) (void *, SCM), |
93 void *func_arg, | 94 void *func_arg, |
94 Offset o); | 95 Offset o); |
95 SCM find_expression_fonts (SCM expr); | 96 SCM find_expression_fonts (SCM expr); |
96 | 97 |
97 void register_stencil_head (SCM symbol); | 98 void register_stencil_head (SCM symbol); |
98 bool is_stencil_head (SCM symbol); | 99 bool is_stencil_head (SCM symbol); |
99 SCM all_stencil_heads (); | 100 SCM all_stencil_heads (); |
100 | 101 |
101 | 102 |
102 #endif /* STENCIL_HH */ | 103 #endif /* STENCIL_HH */ |
OLD | NEW |