microvg  2.0.0
microvg
microvg_font_freetype.h
Go to the documentation of this file.
1 /*
2  * C
3  *
4  * Copyright 2020-2022 MicroEJ Corp. All rights reserved.
5  * Use of this source code is governed by a BSD-style license that can be found with this software.
6  */
7 
15 #if !defined MICROVG_FONT_FREETYPE_H
16 #define MICROVG_FONT_FREETYPE_H
17 
18 #if defined __cplusplus
19 extern "C" {
20 #endif
21 
22 #include "microvg_configuration.h"
23 
24 #if defined VG_FEATURE_FONT && \
25  (defined VG_FEATURE_FONT_FREETYPE_VECTOR || defined VG_FEATURE_FONT_FREETYPE_BITMAP) && \
26  (VG_FEATURE_FONT == VG_FEATURE_FONT_FREETYPE_VECTOR || VG_FEATURE_FONT == VG_FEATURE_FONT_FREETYPE_BITMAP)
27 
28 // -----------------------------------------------------------------------------
29 // Includes
30 // -----------------------------------------------------------------------------
31 
32 #include <stdint.h>
33 
34 // --------------------------------------------------------------------------------
35 // API
36 // --------------------------------------------------------------------------------
37 
38 /*
39  * @brief Initializes the lowlevel font library.
40  *
41  */
42 void MICROVG_FONT_FREETYPE_initialize(void);
43 
44 // -----------------------------------------------------------------------------
45 // EOF
46 // -----------------------------------------------------------------------------
47 #endif // defined VG_FEATURE_FONT && \
48  // (defined VG_FEATURE_FONT_FREETYPE_VECTOR || defined VG_FEATURE_FONT_FREETYPE_BITMAP) && \
49  // (VG_FEATURE_FONT == VG_FEATURE_FONT_FREETYPE_VECTOR || VG_FEATURE_FONT == VG_FEATURE_FONT_FREETYPE_BITMAP)
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif // !defined MICROVG_FONT_FREETYPE_H
56 
MicroEJ MicroVG library low level API: enable some features according to the hardware capacities...