Print out only simplified depth profile

None of the colors, nothing like that.  Just a gray fill and a plain
black depth line.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2011-09-20 17:20:54 -07:00
parent 9cfe9aa8cd
commit 368623113c
2 changed files with 12 additions and 2 deletions

View file

@ -23,8 +23,11 @@ static void print(int divenr, cairo_t *cr, double x, double y, double w, double
cairo_save(cr);
cairo_translate(cr, x, y);
/* Dive plot in the upper half */
show_one_dive(dive, cr, w, h/2);
/* We actually want to scale the text and the lines now */
cairo_scale(cr, 0.5, 0.5);
/* Dive plot in the upper half - note the scaling */
show_one_dive(dive, cr, w*2, h);
/* Dive information in the lower half */