microvg  2.0.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 
22 // See the header file for the function documentation
23 void LLVG_IMPL_initialize(void) {
24  MICROVG_HELPER_initialize();
25 
26 #if defined VG_FEATURE_FONT && \
27  (defined VG_FEATURE_FONT_FREETYPE_VECTOR || defined VG_FEATURE_FONT_FREETYPE_BITMAP) && \
28  (VG_FEATURE_FONT == VG_FEATURE_FONT_FREETYPE_VECTOR || VG_FEATURE_FONT == VG_FEATURE_FONT_FREETYPE_BITMAP)
29 
30  MICROVG_FONT_FREETYPE_initialize();
31 
32 #endif
33 }
MicroEJ MicroVG library low level API: helper to implement library natives methods.
MicroEJ MicroVG library low level API: implementation over FreeType.
MicroEJ MicroVG library low level API: enable some features according to the hardware capacities...