Debian Codegraph @

pdf/pdf_shading.h

raw
1 /* Copyright (C) 2018-2023 Artifex Software, Inc.
2 All Rights Reserved.
3
4 This software is provided AS-IS with no warranty, either express or
5 implied.
6
7 This software is distributed under license and may not be copied,
8 modified or distributed except as expressly authorized under the terms
9 of the license contained in the file LICENSE in this distribution.
10
11 Refer to licensing information at http://www.artifex.com or contact
12 Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco,
13 CA 94129, USA, for further information.
14 */
15
16 /* Shading operations for the PDF interpreter */
17
18 #ifndef PDF_SHADING_OPERATORS
19 #define PDF_SHADING_OPERATORS
20
21 #include "gsshade.h" /* for gs_shading_t */
22
23 int pdfi_shading_build(pdf_context *ctx, pdf_dict *stream_dict, pdf_dict *page_dict,
24 pdf_obj *Shading, gs_shading_t **ppsh);
25 void pdfi_shading_free(pdf_context *ctx, gs_shading_t *psh);
26 int pdfi_shading(pdf_context *ctx, pdf_dict *stream_dict, pdf_dict *page_dict);
27
28 #endif