/*
- * "$Id: hpgltops.h 177 2006-06-21 00:20:03Z jlovell $"
+ * "$Id: hpgltops.h 6649 2007-07-11 21:46:42Z mike $"
*
* HP-GL/2 to PostScript filter for the Common UNIX Printing System (CUPS).
*
+ * Copyright 2007 by Apple Inc.
* Copyright 1993-2005 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
- * property of Easy Software Products and are protected by Federal
- * copyright law. Distribution and use rights are outlined in the file
- * "LICENSE.txt" which should have been included with this file. If this
- * file is missing or damaged please contact Easy Software Products
- * at:
- *
- * Attn: CUPS Licensing Information
- * Easy Software Products
- * 44141 Airport View Drive, Suite 204
- * Hollywood, Maryland 20636 USA
- *
- * Voice: (301) 373-9600
- * EMail: cups-info@cups.org
- * WWW: http://www.cups.org
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
* This file is subject to the Apple OS-Developed Software exception.
*/
# define M_PI 3.14159265358979323846
#endif /* M_PI */
+
+/*
+ * Maximum number of pens we emulate...
+ */
+
+#define MAX_PENS 1024
+
+
/*
* Parameter value structure...
*/
/* Current pen position */
PenScaling VALUE(1.0f), /* Pen width scaling factor */
PenWidth VALUE(1.0f); /* Default pen width */
-VAR pen_t Pens[1024]; /* State of each pen */
+VAR pen_t Pens[MAX_PENS]; /* State of each pen */
VAR int PenMotion VALUE(0), /* 0 = absolute, 1 = relative */
PenValid VALUE(0), /* 1 = valid position, 0 = undefined */
- PenNumber VALUE(1), /* Current pen number */
+ PenNumber VALUE(0), /* Current pen number */
PenCount VALUE(8), /* Number of pens */
PenDown VALUE(0), /* 0 = pen up, 1 = pen down */
PolygonMode VALUE(0), /* Drawing polygons? */
extern int Outputf(const char *format, ...);
/*
- * End of "$Id: hpgltops.h 177 2006-06-21 00:20:03Z jlovell $".
+ * End of "$Id: hpgltops.h 6649 2007-07-11 21:46:42Z mike $".
*/