sdk-world
v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Toggle main menu visibility
Loading...
Searching...
No Matches
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-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 __TTCOLR_H__
26
#define __TTCOLR_H__
27
28
29
#include "
ttload.h
"
30
31
32
FT_BEGIN_HEADER
33
34
35
FT_LOCAL( FT_Error )
36
tt_face_load_colr( TT_Face face,
37
FT_Stream stream );
38
39
FT_LOCAL(
void
)
40
tt_face_free_colr( TT_Face face );
41
42
FT_LOCAL( FT_Bool )
43
tt_face_get_colr_layer( TT_Face face,
44
FT_UInt base_glyph,
45
FT_UInt *aglyph_index,
46
FT_UInt *acolor_index,
47
FT_LayerIterator* iterator );
48
49
FT_LOCAL( FT_Bool )
50
tt_face_get_colr_glyph_paint( TT_Face face,
51
FT_UInt base_glyph,
52
FT_Color_Root_Transform root_transform,
53
FT_OpaquePaint* paint );
54
55
FT_LOCAL( FT_Bool )
56
tt_face_get_color_glyph_clipbox( TT_Face face,
57
FT_UInt base_glyph,
58
FT_ClipBox* clip_box );
59
60
FT_LOCAL( FT_Bool )
61
tt_face_get_paint_layers( TT_Face face,
62
FT_LayerIterator* iterator,
63
FT_OpaquePaint* paint );
64
65
FT_LOCAL( FT_Bool )
66
tt_face_get_colorline_stops( TT_Face face,
67
FT_ColorStop* color_stop,
68
FT_ColorStopIterator* iterator );
69
70
FT_LOCAL( FT_Bool )
71
tt_face_get_paint( TT_Face face,
72
FT_OpaquePaint opaque_paint,
73
FT_COLR_Paint* paint );
74
75
FT_LOCAL( FT_Error )
76
tt_face_colr_blend_layer( TT_Face face,
77
FT_UInt color_index,
78
FT_GlyphSlot dstSlot,
79
FT_GlyphSlot srcSlot );
80
81
82
FT_END_HEADER
83
84
85
#endif
/* __TTCOLR_H__ */
86
87
/* END */
ttload.h
freetype
src
sfnt
ttcolr.h
Generated by
1.18.0