sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
ttcpal.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * ttcpal.h
4 *
5 * TrueType and OpenType color palette support (specification).
6 *
7 * Copyright (C) 2018-2025 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
9 *
10 * Originally written by Shao Yu Zhang <shaozhang@fb.com>.
11 *
12 * This file is part of the FreeType project, and may only be used,
13 * modified, and distributed under the terms of the FreeType project
14 * license, LICENSE.TXT. By continuing to use, modify, or distribute
15 * this file you indicate that you have read the license and
16 * understand and accept it fully.
17 *
18 */
19
20
25#ifndef __TTCPAL_H__
26#define __TTCPAL_H__
27
28
29#include "ttload.h"
30
31
32FT_BEGIN_HEADER
33
34
35 FT_LOCAL( FT_Error )
36 tt_face_load_cpal( TT_Face face,
37 FT_Stream stream );
38
39 FT_LOCAL( void )
40 tt_face_free_cpal( TT_Face face );
41
42 FT_LOCAL( FT_Error )
43 tt_face_palette_set( TT_Face face,
44 FT_UInt palette_index );
45
46
47FT_END_HEADER
48
49
50#endif /* __TTCPAL_H__ */
51
52/* END */