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