diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2013-07-23 16:24:19 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2015-07-20 18:21:17 +0100 |
commit | 6948650efd3fb9e2a70b8cf16aca57e9d0b7eb0a (patch) | |
tree | 5c2a1c671c1d4521f8a770d1e69e3d4342718030 /pcl/pccoord.h | |
parent | 7fd9e0be26e67c36f87733bc89ea07dc26d9f839 (diff) | |
download | ghostpdl-6948650efd3fb9e2a70b8cf16aca57e9d0b7eb0a.tar.gz |
Commit of build_consolidation branch
Squashed into one commit (see branch for details of the evolution of the
branch).
This brings gpcl6 and gxps into the Ghostscript build system, and a shared
set of graphics library object files for all the interpreters.
Also, brings the same configuration options to the pcl and xps products as we
have for Ghostscript.
Diffstat (limited to 'pcl/pccoord.h')
-rw-r--r-- | pcl/pccoord.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/pcl/pccoord.h b/pcl/pccoord.h deleted file mode 100644 index 8d9e94d92..000000000 --- a/pcl/pccoord.h +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright (C) 2001-2012 Artifex Software, Inc. - All Rights Reserved. - - This software is provided AS-IS with no warranty, either express or - implied. - - This software is distributed under license and may not be copied, - modified or distributed except as expressly authorized under the terms - of the license contained in the file LICENSE in this distribution. - - Refer to licensing information at http://www.artifex.com or contact - Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, San Rafael, - CA 94903, U.S.A., +1(415)492-9861, for further information. -*/ - - -/* pccoord.h - centipoint coordinate structures for PCL */ - -#ifndef pccoord_INCLUDED -#define pccoord_INCLUDED - -/* - * Following the PCL documentation, we represent coordinates internally in - * centipoints (1/7200"). - */ -#if arch_sizeof_int == 2 -typedef long coord; -#else -typedef int coord; -#endif - -#define pcl_coord_scale 7200 -#define inch2coord(v) ((coord)((v) * (coord)pcl_coord_scale)) -#define coord2inch(c) ((c) / (float)pcl_coord_scale) - -typedef struct coord_point_s -{ - coord x, y; -} coord_point_t; - -#endif /* pccoord_INCLUDED */ |