sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
pngshim.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * pngshim.h
4 *
5 * PNG Bitmap glyph support.
6 *
7 * Copyright (C) 2013-2025 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
24#ifndef PNGSHIM_H_
25#define PNGSHIM_H_
26
27
28#include "ttload.h"
29
30
31FT_BEGIN_HEADER
32
33#ifdef FT_CONFIG_OPTION_USE_PNG
34
35 FT_LOCAL( FT_Error )
36 Load_SBit_Png( FT_GlyphSlot slot,
37 FT_Int x_offset,
38 FT_Int y_offset,
39 FT_Int pix_bits,
40 TT_SBit_Metrics metrics,
41 FT_Memory memory,
42 FT_Byte* data,
43 FT_UInt png_len,
44 FT_Bool populate_map_and_metrics,
45 FT_Bool metrics_only );
46
47#endif
48
49FT_END_HEADER
50
51#endif /* PNGSHIM_H_ */
52
53
54/* END */