1 /* accwidths.h
2  * holds accidental widths, which is used both in draw_accidental
3  * and setpixelmin
4  * for Denemo, a gtk+ frontend to GNU Lilypond
5  * (c) 2000-2005 Matthew Hiller, Adam Tee
6  */
7 #ifndef ACCWIDTHS_H
8 #define ACCWIDTHS_H
9 
10 #include <glib.h>
11 
12 #define NUMACCTYPES 5
13 #define DOUBLEFLAT_WIDTH 15
14 #define DOUBLEFLAT_HEIGHT 26
15 #define DOUBLEFLAT_OFFSET 18
16 #define FLAT_WIDTH 9
17 #define FLAT_HEIGHT 26
18 #define FLAT_OFFSET 18
19 #define NATURAL_WIDTH 7
20 #define NATURAL_HEIGHT 30
21 #define NATURAL_OFFSET 14
22 #define SHARP_WIDTH 11
23 #define SHARP_HEIGHT 32
24 #define SHARP_OFFSET 15
25 #define DOUBLESHARP_WIDTH 10
26 #define DOUBLESHARP_HEIGHT 10
27 #define DOUBLESHARP_OFFSET 5
28 
29 #define EXTRABACKOFF 3
30 
31 extern gint accwidths[NUMACCTYPES];
32 
33 #endif
34