~ubuntu-branches/ubuntu/oneiric/ghostscript/oneiric

« back to all changes in this revision

Viewing changes to base/gdevpdfc.h

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2011-07-15 16:49:55 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20110715164955-uga6qibao6kez05c
Tags: 9.04~dfsg~20110715-0ubuntu1
* New upstream release
   - GIT snapshot from Jult, 12 2011.
* debian/patches/020110406~a54df2d.patch,
  debian/patches/020110408~0791cc8.patch,
  debian/patches/020110408~507cbee.patch,
  debian/patches/020110411~4509a49.patch,
  debian/patches/020110412~78bb9a6.patch,
  debian/patches/020110418~a05ab8a.patch,
  debian/patches/020110420~20b6c78.patch,
  debian/patches/020110420~4ddefa2.patch: Removed upstream patches.
* debian/rules: Generate ABI version number (variable "abi") correctly,
  cutting off repackaging and pre-release parts.
* debian/rules: Added ./lcms2/ directory to DEB_UPSTREAM_REPACKAGE_EXCLUDES.
* debian/copyright: Added lcms2/* to the list of excluded files.
* debian/symbols.common: Updated for new upstream source. Applied patch
  which dpkg-gensymbols generated for debian/libgs9.symbols to this file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Copyright (C) 2001-2006 Artifex Software, Inc.
2
2
   All Rights Reserved.
3
 
  
 
3
 
4
4
   This software is provided AS-IS with no warranty, either express or
5
5
   implied.
6
6
 
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
13
 
14
 
/* $Id: gdevpdfc.h 8022 2007-06-05 22:23:38Z giles $ */
 
14
/* $Id$ */
15
15
/* Internal color space writing interfaces for pdfwrite driver. */
16
16
 
17
17
#ifndef gdevpdfc_INCLUDED
30
30
 * Finish creating a CIE-based color space (Calxxx or Lab.)
31
31
 */
32
32
int pdf_finish_cie_space(cos_array_t *pca, cos_dict_t *pcd,
33
 
                         const gs_cie_common *pciec);
 
33
                         const gs_cie_common *pciec);
34
34
 
35
35
/* ------ Exported by gdevpdfk.c for gdevpdfc.c ------ */
36
36
 
39
39
 * broken out only for readability.
40
40
 */
41
41
int pdf_iccbased_color_space(gx_device_pdf *pdev, cos_value_t *pvalue,
42
 
                             const gs_color_space *pcs, cos_array_t *pca);
 
42
                             const gs_color_space *pcs, cos_array_t *pca);
43
43
 
44
44
/*
45
45
 * Convert a CIEBased space to Lab or ICCBased.
46
46
 */
47
47
int pdf_convert_cie_space(gx_device_pdf *pdev, cos_array_t *pca,
48
 
                          const gs_color_space *pcs, const char *dcsname,
49
 
                          const gs_cie_common *pciec, const gs_range *prange,
50
 
                          cie_cache_one_step_t one_step,
51
 
                          const gs_matrix3 *pmat, const gs_range_t **pprange);
 
48
                          const gs_color_space *pcs, const char *dcsname,
 
49
                          const gs_cie_common *pciec, const gs_range *prange,
 
50
                          cie_cache_one_step_t one_step,
 
51
                          const gs_matrix3 *pmat, const gs_range_t **pprange);
52
52
 
53
53
/*
54
54
 * Create a Lab color space object.
55
55
 */
56
56
int pdf_put_lab_color_space(cos_array_t *pca, cos_dict_t *pcd,
57
 
                            const gs_range ranges[3] /* only [1] and [2] used */);
 
57
                            const gs_range ranges[3] /* only [1] and [2] used */);
58
58
 
59
59
#endif /* gdevpdfc_INCLUDED */