tumble.c

changeset 92
e3254135cf76
parent 75
29d7cbc7c251
child 94
7664a3f112ba
     1.1 --- a/tumble.c	Mon Mar 10 09:49:50 2003 +0000
     1.2 +++ b/tumble.c	Mon Mar 10 09:58:09 2003 +0000
     1.3 @@ -4,7 +4,7 @@
     1.4   *      will be compressed using ITU-T T.6 (G4) fax encoding.
     1.5   *
     1.6   * Main program
     1.7 - * $Id: tumble.c,v 1.26 2003/03/04 18:09:49 eric Exp $
     1.8 + * $Id: tumble.c,v 1.27 2003/03/10 01:58:09 eric Exp $
     1.9   * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
    1.10   *
    1.11   * This program is free software; you can redistribute it and/or modify
    1.12 @@ -237,8 +237,8 @@
    1.13  
    1.14  /* frees original! */
    1.15  static Bitmap *resize_bitmap (Bitmap *src,
    1.16 -			      float x_resolution,
    1.17 -			      float y_resolution,
    1.18 +			      double x_resolution,
    1.19 +			      double y_resolution,
    1.20  			      input_attributes_t input_attributes)
    1.21  {
    1.22    Rect src_rect;
    1.23 @@ -304,8 +304,8 @@
    1.24    uint16_t planar_config;
    1.25  
    1.26    uint16_t resolution_unit;
    1.27 -  float x_resolution, y_resolution;
    1.28 -  float dest_x_resolution, dest_y_resolution;
    1.29 +  double x_resolution, y_resolution;
    1.30 +  double dest_x_resolution, dest_y_resolution;
    1.31  
    1.32    double width_points, height_points;  /* really 1/72 inch units rather than
    1.33  					  points */