summaryrefslogtreecommitdiff
path: root/pcl/pcident.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcl/pcident.h')
-rw-r--r--pcl/pcident.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/pcl/pcident.h b/pcl/pcident.h
deleted file mode 100644
index 38d6f2723..000000000
--- a/pcl/pcident.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Copyright (C) 1996, 1997, 1998 Aladdin Enterprises. All rights
- reserved. Unauthorized use, copying, and/or distribution
- prohibited. */
-
-/* pcident.h - object identification mechanism for PCL */
-
-#ifndef pcident_INCLUDED
-#define pcident_INCLUDED
-
-#include "gx.h"
-
-/*
- * Various "graphic attribute" objects created by PCL are used in the graphic
- * state: patterns, color spaces, halftones, and rendering dictionaries. Unlike
- * PostScript, these objects also have an existence outside of the graphic state.
- * When graphic objects are rendered, it is necessary to determine the set of
- * attribute objects they should use, and which of these is currently installed
- * in the graphic state.
- *
- * There is no way to do this directly in the graphic library, as its attribute
- * objects do not carry any identifiers (they provide no benefit in a PostScript
- * setting). Hence, we pair the graphic library objects with PCL objects, and
- * assign identifiers to the latter. So long as the two objects are kept in a
- * one-to-one relationship, the identifiers can be used as identifiers of the
- * graphic library objects as well.
- *
- * Though objects of different types can in principle be assigned the same
- * identifier, for simplicity the current code assigns unique identifiers for
- * all objects. These identifiers are unsigned longs. They are assigned
- * consecutively beginning from 8 at boot time. In the unlikely event that
- * they should reach 0 once more, they will restart at 16 * 1024 * 1024; this
- * should prevent overlap with codes that are assigned to statically allocated
- * objects at boot time.
- */
-
-typedef ulong pcl_gsid_t;
-
-/* Define an opaque type for the PCL state. */
-#ifndef pcl_state_DEFINED
-# define pcl_state_DEFINED
-typedef struct pcl_state_s pcl_state_t;
-#endif
-
-pcl_gsid_t pcl_next_id(P1(pcl_state_t *pcs));
-
-#endif /* pcident_INCLUDED */