]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - filter/image-private.h
More svn:properties changes.
[thirdparty/cups.git] / filter / image-private.h
index f87c41b4f66c1ed4e3ac4c578a508fd2127e28ad..9b031475233c2f2f528e6ff5a636badf64b60e68 100644 (file)
@@ -1,10 +1,10 @@
 /*
- * "$Id: image-private.h 4742 2005-10-02 23:01:43Z mike $"
+ * "$Id$"
  *
  *   Private image library definitions for the Common UNIX Printing
  *   System (CUPS).
  *
- *   Copyright 1993-2005 by Easy Software Products.
+ *   Copyright 1993-2006 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
  *   property of Easy Software Products and are protected by Federal
  * Types and structures...
  */
 
+typedef enum cups_iztype_e             /**** Image zoom type ****/
+{
+  CUPS_IZOOM_FAST,                     /* Use nearest-neighbor sampling */
+  CUPS_IZOOM_NORMAL,                   /* Use bilinear interpolation */
+  CUPS_IZOOM_BEST                      /* Use bicubic interpolation */
+} cups_iztype_t;
+
 struct cups_ic_s;
 
 typedef struct cups_itile_s            /**** Image tile ****/
@@ -199,10 +206,16 @@ extern int                _cupsImageReadTIFF(cups_image_t *img, FILE *fp,
                                           cups_icspace_t secondary,
                                           int saturation, int hue,
                                           const cups_ib_t *lut);
+extern void            _cupsImageZoomDelete(cups_izoom_t *z);
+extern void            _cupsImageZoomFill(cups_izoom_t *z, int iy);
+extern cups_izoom_t    *_cupsImageZoomNew(cups_image_t *img, int xc0, int yc0,
+                                          int xc1, int yc1, int xsize,
+                                          int ysize, int rotated,
+                                          cups_iztype_t type);
 
 
 #endif /* !_CUPS_IMAGE_PRIVATE_H_ */
 
 /*
- * End of "$Id: image-private.h 4742 2005-10-02 23:01:43Z mike $".
+ * End of "$Id$".
  */