ReactOS
0.4.16-dev-2358-g0df3463
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-2020 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
21
#ifndef __TTCPAL_H__
22
#define __TTCPAL_H__
23
24
25
#include "
ttload.h
"
26
27
28
FT_BEGIN_HEADER
29
30
31
FT_LOCAL
(
FT_Error
)
32
tt_face_load_cpal
(
TT_Face
face
,
33
FT_Stream
stream
);
34
35
FT_LOCAL
(
void
)
36
tt_face_free_cpal
(
TT_Face
face
);
37
38
FT_LOCAL
(
FT_Error
)
39
tt_face_palette_set
(
TT_Face
face
,
40
FT_UInt
palette_index );
41
42
43
FT_END_HEADER
44
45
46
#endif
/* __TTCPAL_H__ */
47
48
/* END */
FT_LOCAL
#define FT_LOCAL(x)
Definition:
compiler-macros.h:186
FT_END_HEADER
#define FT_END_HEADER
Definition:
ftheader.h:57
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition:
ftheader.h:37
FT_Error
int FT_Error
Definition:
fttypes.h:299
FT_UInt
unsigned int FT_UInt
Definition:
fttypes.h:231
face
GLenum GLuint GLint GLenum face
Definition:
glext.h:7025
FT_StreamRec_
Definition:
ftsystem.h:328
TT_FaceRec_
Definition:
tttypes.h:1463
stream
Definition:
parse.h:23
tt_face_load_cpal
FT_BEGIN_HEADER tt_face_load_cpal(TT_Face face, FT_Stream stream)
tt_face_palette_set
tt_face_palette_set(TT_Face face, FT_UInt palette_index)
tt_face_free_cpal
tt_face_free_cpal(TT_Face face)
ttload.h
sdk
lib
3rdparty
freetype
src
sfnt
ttcpal.h
Generated on Thu Mar 12 2026 06:16:21 for ReactOS by
1.9.6