Debian Codegraph @

pdf/pdf_optcontent.h

raw
1 /* Copyright (C) 2019-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 #ifndef PDF_OPTCONTENT
17 #define PDF_OPTCONTENT
18
19 bool pdfi_oc_is_ocg_visible(pdf_context *ctx, pdf_dict *ocdict);
20
21 int pdfi_oc_init(pdf_context *ctx);
22 int pdfi_oc_free(pdf_context *ctx);
23 bool pdfi_oc_is_off(pdf_context *ctx);
24 int pdfi_op_MP(pdf_context *ctx);
25 int pdfi_op_DP(pdf_context *ctx, pdf_dict *stream_dict, pdf_dict *page_dict);
26 int pdfi_op_BMC(pdf_context *ctx);
27 int pdfi_op_BDC(pdf_context *ctx, pdf_dict *stream_dict, pdf_dict *page_dict);
28 int pdfi_op_EMC(pdf_context *ctx);
29
30 #endif