tumble.c

changeset 92
e3254135cf76
parent 75
29d7cbc7c251
child 94
7664a3f112ba
     1.1 diff -r e63762afae80 -r e3254135cf76 tumble.c
     1.2 --- a/tumble.c	Mon Mar 10 09:49:50 2003 +0000
     1.3 +++ b/tumble.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: tumble.c,v 1.26 2003/03/04 18:09:49 eric Exp $
     1.9 + * $Id: tumble.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 */