ReactOS 0.4.16-dev-2358-g0df3463
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-2020 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 <freetype/freetype.h>
24
25
26#ifdef FT_CONFIG_OPTION_USE_HARFBUZZ
27
28#include <hb.h>
29#include <hb-ot.h>
30#include <hb-ft.h>
31
32#endif
33
34
36
39 AF_StyleClass style_class,
40 FT_UShort* gstyles,
41 FT_Bool default_script );
42
43
44 void*
46
47 void
49 void* buf );
50
51 const char*
52 af_shaper_get_cluster( const char* p,
54 void* buf_,
55 unsigned int* count );
56
59 void* buf_,
60 unsigned int idx,
61 FT_Long* x_advance,
62 FT_Long* y_offset );
63
64 /* */
65
67
68#endif /* AFSHAPER_H_ */
69
70
71/* END */
void * af_shaper_buf_create(FT_Face face)
Definition: afshaper.c:591
const char * af_shaper_get_cluster(const char *p, AF_StyleMetrics metrics, void *buf_, unsigned int *count)
Definition: afshaper.c:609
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:645
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:576
void af_shaper_buf_destroy(FT_Face face, void *buf)
Definition: afshaper.c:600
unsigned int idx
Definition: utils.c:41
#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
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