Mon, 10 Mar 2003 09:58:09 +0000
Replaced all uses of float with double.
t2p.c | file | annotate | diff | revisions | |
tumble.c | file | annotate | diff | revisions |
1.1 diff -r e63762afae80 -r e3254135cf76 t2p.c 1.2 --- a/t2p.c Mon Mar 10 09:49:50 2003 +0000 1.3 +++ b/t2p.c Mon Mar 10 09:58:09 2003 +0000 1.4 @@ -4,7 +4,7 @@ 1.5 * will be compressed using ITU-T T.6 (G4) fax encoding. 1.6 * 1.7 * Main program 1.8 - * $Id: t2p.c,v 1.26 2003/03/04 18:09:49 eric Exp $ 1.9 + * $Id: t2p.c,v 1.27 2003/03/10 01:58:09 eric Exp $ 1.10 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 1.11 * 1.12 * This program is free software; you can redistribute it and/or modify 1.13 @@ -237,8 +237,8 @@ 1.14 1.15 /* frees original! */ 1.16 static Bitmap *resize_bitmap (Bitmap *src, 1.17 - float x_resolution, 1.18 - float y_resolution, 1.19 + double x_resolution, 1.20 + double y_resolution, 1.21 input_attributes_t input_attributes) 1.22 { 1.23 Rect src_rect; 1.24 @@ -304,8 +304,8 @@ 1.25 uint16_t planar_config; 1.26 1.27 uint16_t resolution_unit; 1.28 - float x_resolution, y_resolution; 1.29 - float dest_x_resolution, dest_y_resolution; 1.30 + double x_resolution, y_resolution; 1.31 + double dest_x_resolution, dest_y_resolution; 1.32 1.33 double width_points, height_points; /* really 1/72 inch units rather than 1.34 points */
2.1 diff -r e63762afae80 -r e3254135cf76 tumble.c 2.2 --- a/tumble.c Mon Mar 10 09:49:50 2003 +0000 2.3 +++ b/tumble.c Mon Mar 10 09:58:09 2003 +0000 2.4 @@ -4,7 +4,7 @@ 2.5 * will be compressed using ITU-T T.6 (G4) fax encoding. 2.6 * 2.7 * Main program 2.8 - * $Id: tumble.c,v 1.26 2003/03/04 18:09:49 eric Exp $ 2.9 + * $Id: tumble.c,v 1.27 2003/03/10 01:58:09 eric Exp $ 2.10 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com> 2.11 * 2.12 * This program is free software; you can redistribute it and/or modify 2.13 @@ -237,8 +237,8 @@ 2.14 2.15 /* frees original! */ 2.16 static Bitmap *resize_bitmap (Bitmap *src, 2.17 - float x_resolution, 2.18 - float y_resolution, 2.19 + double x_resolution, 2.20 + double y_resolution, 2.21 input_attributes_t input_attributes) 2.22 { 2.23 Rect src_rect; 2.24 @@ -304,8 +304,8 @@ 2.25 uint16_t planar_config; 2.26 2.27 uint16_t resolution_unit; 2.28 - float x_resolution, y_resolution; 2.29 - float dest_x_resolution, dest_y_resolution; 2.30 + double x_resolution, y_resolution; 2.31 + double dest_x_resolution, dest_y_resolution; 2.32 2.33 double width_points, height_points; /* really 1/72 inch units rather than 2.34 points */