pdf.h

changeset 147
090af3709920
parent 141
752599b50ff3
child 166
301f6f17c364
     1.1 --- a/pdf.h	Thu Mar 20 07:52:25 2003 +0000
     1.2 +++ b/pdf.h	Thu Mar 20 07:53:09 2003 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4   * tumble: build a PDF file from image files
     1.5   *
     1.6   * PDF routines
     1.7 - * $Id: pdf.h,v 1.12 2003/03/19 22:54:07 eric Exp $
     1.8 + * $Id: pdf.h,v 1.13 2003/03/19 23:53: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 @@ -22,7 +22,8 @@
    1.13   */
    1.14  
    1.15  
    1.16 -#define POINTS_PER_INCH 72
    1.17 +/* Acrobat default units aren't really points, but they're close. */
    1.18 +#define POINTS_PER_INCH 72.0
    1.19  
    1.20  /* page size limited by Acrobat Reader to 45 inches on a side */
    1.21  #define PAGE_MAX_INCHES 45
    1.22 @@ -86,6 +87,9 @@
    1.23  			   double y,
    1.24  			   double width,
    1.25  			   double height,
    1.26 +			   bool color,
    1.27 +			   uint32_t width_samples,
    1.28 +			   uint32_t height_samples,
    1.29  			   FILE *f);
    1.30  
    1.31