projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
histogram tick drawing - added format generation for optimum tick drawing
[pspp]
/
src
/
output
/
cairo-chart.h
diff --git
a/src/output/cairo-chart.h
b/src/output/cairo-chart.h
index 24a2dce51690fd0e1007712f6d7dcd56a4602e39..116a8c990110be01d1e21a900874e18823a703c9 100644
(file)
--- a/
src/output/cairo-chart.h
+++ b/
src/output/cairo-chart.h
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2009, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2009, 2011
, 2015
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-178,5
+178,9
@@
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 */