ReactOS 0.4.16-dev-2358-g0df3463
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-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 __TTCOLR_H__
22#define __TTCOLR_H__
23
24
25#include "ttload.h"
26
27
29
30
34
35 FT_LOCAL( void )
37
40 FT_UInt base_glyph,
41 FT_UInt *aglyph_index,
42 FT_UInt *acolor_index,
44
47 FT_UInt color_index,
48 FT_GlyphSlot dstSlot,
49 FT_GlyphSlot srcSlot );
50
51
53
54
55#endif /* __TTCOLR_H__ */
56
57/* END */
#define FT_LOCAL(x)
#define FT_END_HEADER
Definition: ftheader.h:57
#define FT_BEGIN_HEADER
Definition: ftheader.h:37
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
int FT_Error
Definition: fttypes.h:299
unsigned int FT_UInt
Definition: fttypes.h:231
GLenum GLuint GLint GLenum face
Definition: glext.h:7025
Definition: parse.h:23
tt_face_free_colr(TT_Face face)
FT_BEGIN_HEADER tt_face_load_colr(TT_Face face, FT_Stream stream)
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 face, FT_UInt color_index, FT_GlyphSlot dstSlot, FT_GlyphSlot srcSlot)