X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fchart-geometry.h;h=3d3955e75eadbe51ca692a4e5bffe5950b95c95e;hb=19e56b3221e1008ad4cd374c2e8fc925da8ba1a7;hp=08ae1d0ca3e100c23eee6b4a2aea4f9db634a611;hpb=97fb55e07cac602cbca57ce8005de5c8a67a73cc;p=pspp diff --git a/src/math/chart-geometry.h b/src/math/chart-geometry.h index 08ae1d0ca3..3d3955e75e 100644 --- a/src/math/chart-geometry.h +++ b/src/math/chart-geometry.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 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 @@ -18,11 +18,11 @@ #ifndef CHART_GEOMETRY_H #define CHART_GEOMETRY_H -struct decimal; -void chart_rounded_tick (double tick, struct decimal *); - void chart_get_scale (double high, double low, - struct decimal *lower, struct decimal *interval, int *n_ticks); + double *lower, double *interval, int *n_ticks); +char * +chart_get_ticks_format (const double lower, const double interval, const unsigned int nticks, + double *scale); #endif