ReactOS 0.4.16-dev-1255-g6dd0406
afshaper.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * afshaper.h
4 *
5 * HarfBuzz interface for accessing OpenType features (specification).
6 *
7 * Copyright (C) 2013-2019 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
9 *
10 * This file is part of the FreeType project, and may only be used,
11 * modified, and distributed under the terms of the FreeType project
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
13 * this file you indicate that you have read the license and
14 * understand and accept it fully.
15 *
16 */
17
18
19#ifndef AFSHAPER_H_
20#define AFSHAPER_H_
21
22
23#include <ft2build.h>
24#include FT_FREETYPE_H
25
26
27#ifdef FT_CONFIG_OPTION_USE_HARFBUZZ
28
29#include <hb.h>
30#include <hb-ot.h>
31#include <hb-ft.h>
32
33#endif
34
35
37
40 AF_StyleClass style_class,
41 FT_UShort* gstyles,
42 FT_Bool default_script );
43
44
45 void*
47
48 void
50 void* buf );
51
52 const char*
53 af_shaper_get_cluster( const char* p,
55 void* buf_,
56 unsigned int* count );
57
60 void* buf_,
61 unsigned int idx,
62 FT_Long* x_advance,
63 FT_Long* y_offset );
64
65 /* */
66
68
69#endif /* AFSHAPER_H_ */
70
71
72/* END */
void * af_shaper_buf_create(FT_Face face)
Definition: afshaper.c:592
const char * af_shaper_get_cluster(const char *p, AF_StyleMetrics metrics, void *buf_, unsigned int *count)
Definition: afshaper.c:610
FT_ULong af_shaper_get_elem(AF_StyleMetrics metrics, void *buf_, unsigned int idx, FT_Long *x_advance, FT_Long *y_offset)
Definition: afshaper.c:646
FT_BEGIN_HEADER FT_Error af_shaper_get_coverage(AF_FaceGlobals globals, AF_StyleClass style_class, FT_UShort *gstyles, FT_Bool default_script)
Definition: afshaper.c:577
void af_shaper_buf_destroy(FT_Face face, void *buf)
Definition: afshaper.c:601
unsigned int idx
Definition: utils.c:41
#define FT_END_HEADER
Definition: ftheader.h:54
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_BEGIN_HEADER typedef unsigned char FT_Bool
Definition: fttypes.h:108
unsigned long FT_ULong
Definition: fttypes.h:253
int FT_Error
Definition: fttypes.h:299
signed long FT_Long
Definition: fttypes.h:242
unsigned short FT_UShort
Definition: fttypes.h:209
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLenum GLuint GLint GLenum face
Definition: glext.h:7025
GLsizei GLenum const GLvoid GLuint GLsizei GLfloat * metrics
Definition: glext.h:11745
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
GLfloat GLfloat p
Definition: glext.h:8902