1/****************************************************************************
2 *
3 * pngshim.h
4 *
5 * PNG Bitmap glyph support.
6 *
7 * Copyright (C) 2013-2023 by
8 * Google, Inc.
9 * Written by Stuart Gill and Behdad Esfahbod.
10 *
11 * This file is part of the FreeType project, and may only be used,
12 * modified, and distributed under the terms of the FreeType project
13 * license, LICENSE.TXT. By continuing to use, modify, or distribute
14 * this file you indicate that you have read the license and
15 * understand and accept it fully.
16 *
17 */
18
19
20#ifndef PNGSHIM_H_
21#define PNGSHIM_H_
22
23
24#include "ttload.h"
25
26
27FT_BEGIN_HEADER
28
29#ifdef FT_CONFIG_OPTION_USE_PNG
30
31 FT_LOCAL( FT_Error )
32 Load_SBit_Png( FT_GlyphSlot slot,
33 FT_Int x_offset,
34 FT_Int y_offset,
35 FT_Int pix_bits,
36 TT_SBit_Metrics metrics,
37 FT_Memory memory,
38 FT_Byte* data,
39 FT_UInt png_len,
40 FT_Bool populate_map_and_metrics,
41 FT_Bool metrics_only );
42
43#endif
44
45FT_END_HEADER
46
47#endif /* PNGSHIM_H_ */
48
49
50/* END */
51