Debian Codegraph @

pdf/pdf_mark.h

raw
1 /* Copyright (C) 2020-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 /* pdfmark handling for the PDF interpreter */
17
18 #ifndef PDF_MARK
19 #define PDF_MARK
20
21 int pdfi_pdfmark_from_dict(pdf_context *ctx, pdf_dict *dict, gs_matrix *ctm, const char *type);
22 int pdfi_pdfmark_from_objarray(pdf_context *ctx, pdf_obj **objarray, int len, gs_matrix *ctm, const char *type);
23 int pdfi_pdfmark_object(pdf_context *ctx, pdf_obj *object, const char *label);
24 int pdfi_pdfmark_modDest(pdf_context *ctx, pdf_dict *dict);
25 int pdfi_pdfmark_modA(pdf_context *ctx, pdf_dict *dict);
26 int pdfi_pdfmark_stream(pdf_context *ctx, pdf_stream *stream);
27 int pdfi_pdfmark_dict(pdf_context *ctx, pdf_dict *dict);
28 int pdfi_pdfmark_embed_filespec(pdf_context *ctx, pdf_string *name, pdf_dict *filespec);
29 int pdfi_pdfmark_get_objlabel(pdf_context *ctx, pdf_obj *obj, char **label);
30 void pdfi_pdfmark_write_boxes(pdf_context *ctx, pdf_dict *page_dict);
31 void pdfi_pdfmark_write_docinfo(pdf_context *ctx, pdf_dict *info_dict);
32
33 #endif