ReactOS
0.4.16-dev-1946-g52006dd
ttcolr.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* ttcolr.h
4
*
5
* TrueType and OpenType colored glyph layer support (specification).
6
*
7
* Copyright (C) 2018-2019 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 __TTCOLR_H__
22
#define __TTCOLR_H__
23
24
25
#include <
ft2build.h
>
26
#include "
ttload.h
"
27
28
29
FT_BEGIN_HEADER
30
31
32
FT_LOCAL
(
FT_Error
)
33
tt_face_load_colr
(
TT_Face
face
,
34
FT_Stream
stream
);
35
36
FT_LOCAL
(
void
)
37
tt_face_free_colr
(
TT_Face
face
);
38
39
FT_LOCAL
(
FT_Bool
)
40
tt_face_get_colr_layer
(
TT_Face
face
,
41
FT_UInt
base_glyph,
42
FT_UInt
*aglyph_index,
43
FT_UInt
*acolor_index,
44
FT_LayerIterator
*
iterator
);
45
46
FT_LOCAL
(
FT_Error
)
47
tt_face_colr_blend_layer
(
TT_Face
face
,
48
FT_UInt
color_index,
49
FT_GlyphSlot
dstSlot,
50
FT_GlyphSlot
srcSlot );
51
52
53
FT_END_HEADER
54
55
56
#endif
/* __TTCOLR_H__ */
57
58
/* END */
ft2build.h
FT_LOCAL
#define FT_LOCAL(x)
Definition:
ftconfig.h:386
FT_END_HEADER
#define FT_END_HEADER
Definition:
ftheader.h:54
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition:
ftheader.h:36
FT_Bool
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition:
fttypes.h:108
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_GlyphSlotRec_
Definition:
freetype.h:1878
FT_LayerIterator_
Definition:
freetype.h:4063
FT_StreamRec_
Definition:
ftsystem.h:329
TT_FaceRec_
Definition:
tttypes.h:1537
iterator
Definition:
_iterator_base.h:59
stream
Definition:
parse.h:23
tt_face_free_colr
tt_face_free_colr(TT_Face face)
tt_face_load_colr
FT_BEGIN_HEADER tt_face_load_colr(TT_Face face, FT_Stream stream)
tt_face_get_colr_layer
tt_face_get_colr_layer(TT_Face face, FT_UInt base_glyph, FT_UInt *aglyph_index, FT_UInt *acolor_index, FT_LayerIterator *iterator)
tt_face_colr_blend_layer
tt_face_colr_blend_layer(TT_Face face, FT_UInt color_index, FT_GlyphSlot dstSlot, FT_GlyphSlot srcSlot)
ttload.h
sdk
lib
3rdparty
freetype
src
sfnt
ttcolr.h
Generated on Thu Dec 4 2025 06:14:53 for ReactOS by
1.9.6