X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fcartesian.h;h=feda1b6fb724d79201c1ee154d47827aa6e8c652;hb=77dc491d3b0c1429801ec839e7afab0fbef6a7fc;hp=22e914dfcd9fb471665aa9667b624355ad2c26fb;hpb=e0c37920bb2cc46ee559e3992470572d4b4d27e6;p=pspp-builds.git diff --git a/src/output/charts/cartesian.h b/src/output/charts/cartesian.h index 22e914df..feda1b6f 100644 --- a/src/output/charts/cartesian.h +++ b/src/output/charts/cartesian.h @@ -19,6 +19,7 @@ #ifndef CARTESIAN_H #define CARTESIAN_H +#include #include #include @@ -31,7 +32,7 @@ enum CHART_DIM struct chart_geometry; /* Plot a data point */ -void chart_datum(plPlotter *, const struct chart_geometry *, +void chart_datum(cairo_t *, const struct chart_geometry *, int dataset UNUSED, double x, double y); /* Draw a line with slope SLOPE and intercept INTERCEPT. @@ -39,7 +40,7 @@ void chart_datum(plPlotter *, const struct chart_geometry *, If lim_dim is CHART_DIM_Y then the limit{1,2} are on the y axis otherwise the x axis */ -void chart_line(plPlotter *, const struct chart_geometry *, +void chart_line(cairo_t *, const struct chart_geometry *, double slope, double intercept, double limit1, double limit2, enum CHART_DIM lim_dim);