microvg  2.1.0
microvg
LLVG_impl.c
Go to the documentation of this file.
1 /*
2  * C
3  *
4  * Copyright 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 
16 #include <LLVG_impl.h>
17 
18 #include "microvg_configuration.h"
19 #include "microvg_helper.h"
20 #include "microvg_font_freetype.h"
21 #include "microvg_path.h"
22 
23 // See the header file for the function documentation
24 void LLVG_IMPL_initialize(void) {
25  MICROVG_HELPER_initialize();
26 
27 #if defined VG_FEATURE_FONT && \
28  (defined VG_FEATURE_FONT_FREETYPE_VECTOR || defined VG_FEATURE_FONT_FREETYPE_BITMAP) && \
29  (VG_FEATURE_FONT == VG_FEATURE_FONT_FREETYPE_VECTOR || VG_FEATURE_FONT == VG_FEATURE_FONT_FREETYPE_BITMAP)
30 
31  MICROVG_FONT_FREETYPE_initialize();
32 #endif
33 
34  MICROVG_PATH_initialize();
35 }
MicroEJ MicroVG library low level API: helper to implement library natives methods.
MicroEJ MicroVG library low level API: implementation of Path.
MicroEJ MicroVG library low level API: implementation over FreeType.
MicroEJ MicroVG library low level API: enable some features according to the hardware capacities...