From 95936c03c002875c8ebe2cf43ba60da715bae075 Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Mon, 10 Mar 2003 09:58:09 +0000 Subject: [PATCH] Replaced all uses of float with double. --- t2p.c | 10 +++++----- tumble.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/t2p.c b/t2p.c index c8b9da2..29b4091 100644 --- a/t2p.c +++ b/t2p.c @@ -4,7 +4,7 @@ * will be compressed using ITU-T T.6 (G4) fax encoding. * * Main program - * $Id: t2p.c,v 1.26 2003/03/04 18:09:49 eric Exp $ + * $Id: t2p.c,v 1.27 2003/03/10 01:58:09 eric Exp $ * Copyright 2001, 2002, 2003 Eric Smith * * This program is free software; you can redistribute it and/or modify @@ -237,8 +237,8 @@ void process_page_numbers (int page_index, /* frees original! */ static Bitmap *resize_bitmap (Bitmap *src, - float x_resolution, - float y_resolution, + double x_resolution, + double y_resolution, input_attributes_t input_attributes) { Rect src_rect; @@ -304,8 +304,8 @@ bool process_page (int image, /* range 1 .. n */ uint16_t planar_config; uint16_t resolution_unit; - float x_resolution, y_resolution; - float dest_x_resolution, dest_y_resolution; + double x_resolution, y_resolution; + double dest_x_resolution, dest_y_resolution; double width_points, height_points; /* really 1/72 inch units rather than points */ diff --git a/tumble.c b/tumble.c index 32a0a32..2ef6bad 100644 --- a/tumble.c +++ b/tumble.c @@ -4,7 +4,7 @@ * will be compressed using ITU-T T.6 (G4) fax encoding. * * Main program - * $Id: tumble.c,v 1.26 2003/03/04 18:09:49 eric Exp $ + * $Id: tumble.c,v 1.27 2003/03/10 01:58:09 eric Exp $ * Copyright 2001, 2002, 2003 Eric Smith * * This program is free software; you can redistribute it and/or modify @@ -237,8 +237,8 @@ void process_page_numbers (int page_index, /* frees original! */ static Bitmap *resize_bitmap (Bitmap *src, - float x_resolution, - float y_resolution, + double x_resolution, + double y_resolution, input_attributes_t input_attributes) { Rect src_rect; @@ -304,8 +304,8 @@ bool process_page (int image, /* range 1 .. n */ uint16_t planar_config; uint16_t resolution_unit; - float x_resolution, y_resolution; - float dest_x_resolution, dest_y_resolution; + double x_resolution, y_resolution; + double dest_x_resolution, dest_y_resolution; double width_points, height_points; /* really 1/72 inch units rather than points */