X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=score.h;h=02b56e3a0956aa18238279b9db474555db6aac4d;hb=82d0481012c66ad272598b337e062310f3adc174;hp=ece395137be54c92949c3d1951cc3f0d9368e1df;hpb=6024b2beade6f8376df4795d407fa2704c23befb;p=scherzo diff --git a/score.h b/score.h index ece3951..02b56e3 100644 --- a/score.h +++ b/score.h @@ -21,6 +21,7 @@ #ifndef SCORE_H #define SCORE_H +#include #include typedef struct score score_t; @@ -38,6 +39,10 @@ score_create (void *ctx); int score_set_staff_height (score_t *score, int height); +/* Set the total width available for drawing the score. */ +void +score_set_width (score_t *score, int width); + /* Draw the given score_t onto the given cairo_t. * * The caller can call cairo_translate before calling score_draw to