projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psppire-data-window.c: Remove ssw api protection
[pspp]
/
src
/
output
/
cairo-chart.h
diff --git
a/src/output/cairo-chart.h
b/src/output/cairo-chart.h
index 116a8c990110be01d1e21a900874e18823a703c9..68f2978283b93edc63c3507ca05b2d970c3de0bc 100644
(file)
--- a/
src/output/cairo-chart.h
+++ b/
src/output/cairo-chart.h
@@
-117,13
+117,12
@@
void xrchart_write_title (cairo_t *, const struct xrchart_geometry *,
PRINTF_FORMAT (3, 4);
/* Set the scale for the abscissa */
PRINTF_FORMAT (3, 4);
/* Set the scale for the abscissa */
-void xrchart_write_xscale (cairo_t *, struct xrchart_geometry *,
- double min, double max);
-
+bool xrchart_write_xscale (cairo_t *, struct xrchart_geometry *,
+ double min, double max) WARN_UNUSED_RESULT;
/* Set the scale for the ordinate */
/* Set the scale for the ordinate */
-
void
xrchart_write_yscale (cairo_t *, struct xrchart_geometry *,
- double smin, double smax);
+
bool
xrchart_write_yscale (cairo_t *, struct xrchart_geometry *,
+ double smin, double smax)
WARN_UNUSED_RESULT
;
void xrchart_write_xlabel (cairo_t *, const struct xrchart_geometry *,
const char *label) ;
void xrchart_write_xlabel (cairo_t *, const struct xrchart_geometry *,
const char *label) ;
@@
-178,9
+177,4
@@
void xrchart_draw_spreadlevel (const struct chart_item *, cairo_t *,
void xrchart_draw_scatterplot (const struct chart_item *, cairo_t *,
struct xrchart_geometry *);
void xrchart_draw_scatterplot (const struct chart_item *, cairo_t *,
struct xrchart_geometry *);
-/* Get the width and height of rendered label text */
-void xrchart_text_extents (cairo_t *cr, const struct xrchart_geometry *geom,
- const char *utf8,
- double *width, double *height);
-
#endif /* output/cairo-chart.h */
#endif /* output/cairo-chart.h */