X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcairo.c;h=8d2ee24b2f24afb55ba130b440560bcc993e6840;hb=76a1f0f642df732722bee1f62cce37ebf9092ffc;hp=f74963d682b2f6c3680f0c011ab734b43a51eb94;hpb=8e0ceff5f1017f7ee81f9380200016ba59f1db1c;p=pspp-builds.git diff --git a/src/output/cairo.c b/src/output/cairo.c index f74963d6..8d2ee24b 100644 --- a/src/output/cairo.c +++ b/src/output/cairo.c @@ -978,6 +978,9 @@ xr_rendering_measure (struct xr_rendering *r, int *w, int *h) } } +static void xr_draw_chart (const struct chart_item *, cairo_t *, + double x, double y, double width, double height); + /* Draws onto CR at least the region of R that is enclosed in (X,Y)-(X+W,Y+H), and possibly some additional parts. */ void @@ -1006,7 +1009,7 @@ xr_rendering_draw (struct xr_rendering *r, cairo_t *cr, 0, 0, CHART_WIDTH, CHART_HEIGHT); } -void +static void xr_draw_chart (const struct chart_item *chart_item, cairo_t *cr, double x, double y, double width, double height) {