microvg  3.0.1
microvg
LLVG_PATH_stub.c
Go to the documentation of this file.
1 /*
2  * C
3  *
4  * Copyright 2022-2023 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 
17 #include "microvg_configuration.h"
18 
19 #ifndef VG_FEATURE_PATH
20 
21 // -----------------------------------------------------------------------------
22 // Includes
23 // -----------------------------------------------------------------------------
24 
25 #include <LLVG_PATH_impl.h>
26 #include <LLVG_PATH_PAINTER_impl.h>
27 
28 // -----------------------------------------------------------------------------
29 // LLVG_PATH_impl.h functions
30 // -----------------------------------------------------------------------------
31 
32 // See the header file for the function documentation
33 jint LLVG_PATH_IMPL_initializePath(jbyte* jpath, jint length) {
34  (void)jpath;
35  (void)length;
36  return LLVG_SUCCESS;
37 }
38 
39 // See the header file for the function documentation
40 jint LLVG_PATH_IMPL_appendPathCommand1(jbyte* jpath, jint length, jint cmd, jfloat x, jfloat y) {
41  (void)jpath;
42  (void)length;
43  (void)cmd;
44  (void)x;
45  (void)y;
46  return LLVG_SUCCESS;
47 }
48 
49 // See the header file for the function documentation
50 jint LLVG_PATH_IMPL_appendPathCommand2(jbyte* jpath, jint length, jint cmd, jfloat x1, jfloat y1, jfloat x2,
51  jfloat y2) {
52  (void)jpath;
53  (void)length;
54  (void)cmd;
55  (void)x1;
56  (void)y1;
57  (void)x2;
58  (void)y2;
59  return LLVG_SUCCESS;
60 }
61 
62 // See the header file for the function documentation
63 jint LLVG_PATH_IMPL_appendPathCommand3(jbyte* jpath, jint length, jint cmd, jfloat x1, jfloat y1, jfloat x2,
64  jfloat y2, jfloat x3, jfloat y3) {
65  (void)jpath;
66  (void)length;
67  (void)cmd;
68  (void)x1;
69  (void)y1;
70  (void)x2;
71  (void)y2;
72  (void)x3;
73  (void)y3;
74  return LLVG_SUCCESS;
75 }
76 
77 // See the header file for the function documentation
78 void LLVG_PATH_IMPL_reopenPath(jbyte* jpath) {
79  // nothing to do
80  (void)jpath;
81 }
82 
83 // -----------------------------------------------------------------------------
84 // EOF
85 // -----------------------------------------------------------------------------
86 
87 #endif // VG_FEATURE_PATH
MicroEJ MicroVG library low level API: enable some features according to the hardware capacities...