pdf.h

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