output: Make chart geometry the responsibility of the output driver.
authorBen Pfaff <blp@gnu.org>
Wed, 29 Jul 2009 03:20:51 +0000 (20:20 -0700)
committerBen Pfaff <blp@gnu.org>
Wed, 29 Jul 2009 03:20:51 +0000 (20:20 -0700)
commite0c37920bb2cc46ee559e3992470572d4b4d27e6
tree2ef774867e944962647df72c20740f9c836feb93
parentf8d14d07de8db5ba5aa1377650a69532ff744552
output: Make chart geometry the responsibility of the output driver.

Currently, with libplot, all charts have the same geometry, because
libplot allows us to reasonably set the dimensions of the drawing area
to the same 1000x1000 size.  But cairo will produce strangely scaled
results if we attempt to do the same thing there (distorted font sizes,
etc.).  So make the output drivers responsible for setting up the chart
geometry, so that the output drivers can tell the chart drawing routines
the size of the drawing area.
src/output/ascii.c
src/output/chart-provider.h
src/output/chart.c
src/output/chart.h
src/output/charts/box-whisker.c
src/output/charts/np-plot.c
src/output/charts/piechart.c
src/output/charts/plot-hist.c
src/output/html.c
src/output/postscript.c