@nativescript/canvas-svg 2.0.32 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/platforms/ios/CanvasSVG.xcframework/Info.plist +34 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/CanvasSVG.framework/CanvasSVG +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/CanvasSVG.framework/Headers/CanvasSVG-Swift.h +72 -7
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/CanvasSVG.framework/Info.plist +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-ios.abi.json +1510 -1341
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -23
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-ios.swiftinterface +3 -23
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/CanvasSVG.framework/Modules/module.modulemap +0 -1
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/dSYMs/CanvasSVG.framework.dSYM/Contents/Resources/DWARF/CanvasSVG +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64/dSYMs/CanvasSVG.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasSVG.yml +136 -135
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/CanvasSVG +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Headers/CanvasSVG-Swift.h +146 -16
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Info.plist +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-ios-simulator.abi.json +1510 -1341
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -23
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -23
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/x86_64-apple-ios-simulator.abi.json +1510 -1341
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -23
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -23
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/Modules/module.modulemap +0 -1
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/CanvasSVG.framework/_CodeSignature/CodeResources +29 -29
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasSVG.framework.dSYM/Contents/Resources/DWARF/CanvasSVG +0 -0
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasSVG.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasSVG.yml +137 -136
- package/platforms/ios/CanvasSVG.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasSVG.framework.dSYM/Contents/Resources/Relocations/x86_64/CanvasSVG.yml +116 -115
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/CanvasSVG +0 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Headers/CanvasSVG-Swift.h +423 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Headers/CanvasSVG.h +17 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Headers/CanvasSVGHelper.h +18 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Headers/canvas_svg.h +33 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Info.plist +0 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-xros.abi.json +1511 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-xros.private.swiftinterface +57 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-xros.swiftdoc +0 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-xros.swiftinterface +57 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Modules/module.modulemap +10 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/dSYMs/CanvasSVG.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/dSYMs/CanvasSVG.framework.dSYM/Contents/Resources/DWARF/CanvasSVG +0 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64/dSYMs/CanvasSVG.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasSVG.yml +141 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/CanvasSVG +0 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Headers/CanvasSVG-Swift.h +423 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Headers/CanvasSVG.h +17 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Headers/CanvasSVGHelper.h +18 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Headers/canvas_svg.h +33 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Info.plist +0 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/Project/arm64-apple-xros-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-xros-simulator.abi.json +1511 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-xros-simulator.private.swiftinterface +57 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-xros-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Modules/CanvasSVG.swiftmodule/arm64-apple-xros-simulator.swiftinterface +57 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/Modules/module.modulemap +10 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/CanvasSVG.framework/_CodeSignature/CodeResources +223 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/dSYMs/CanvasSVG.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/dSYMs/CanvasSVG.framework.dSYM/Contents/Resources/DWARF/CanvasSVG +0 -0
- package/platforms/ios/CanvasSVG.xcframework/xros-arm64-simulator/dSYMs/CanvasSVG.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasSVG.yml +141 -0
- package/platforms/ios/build.xcconfig +4 -1
package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Headers/CanvasSVG-Swift.h
ADDED
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
#if 0
|
|
2
|
+
#elif defined(__arm64__) && __arm64__
|
|
3
|
+
// Generated by Apple Swift version 6.3.1 effective-5.10 (swiftlang-6.3.1.1.2 clang-2100.0.123.102)
|
|
4
|
+
#ifndef CANVASSVG_SWIFT_H
|
|
5
|
+
#define CANVASSVG_SWIFT_H
|
|
6
|
+
#pragma clang diagnostic push
|
|
7
|
+
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
8
|
+
|
|
9
|
+
#if !defined(__has_include)
|
|
10
|
+
# define __has_include(x) 0
|
|
11
|
+
#endif
|
|
12
|
+
#if !defined(__has_attribute)
|
|
13
|
+
# define __has_attribute(x) 0
|
|
14
|
+
#endif
|
|
15
|
+
#if !defined(__has_feature)
|
|
16
|
+
# define __has_feature(x) 0
|
|
17
|
+
#endif
|
|
18
|
+
#if !defined(__has_warning)
|
|
19
|
+
# define __has_warning(x) 0
|
|
20
|
+
#endif
|
|
21
|
+
|
|
22
|
+
#if __has_include(<swift/objc-prologue.h>)
|
|
23
|
+
# include <swift/objc-prologue.h>
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
#pragma clang diagnostic ignored "-Wauto-import"
|
|
27
|
+
#if defined(__OBJC__)
|
|
28
|
+
#include <Foundation/Foundation.h>
|
|
29
|
+
#endif // defined(__OBJC__)
|
|
30
|
+
#if defined(__cplusplus)
|
|
31
|
+
#include <cstdint>
|
|
32
|
+
#include <cstddef>
|
|
33
|
+
#include <cstdbool>
|
|
34
|
+
#include <cstring>
|
|
35
|
+
#include <stdlib.h>
|
|
36
|
+
#include <new>
|
|
37
|
+
#include <type_traits>
|
|
38
|
+
#else
|
|
39
|
+
#include <stdint.h>
|
|
40
|
+
#include <stddef.h>
|
|
41
|
+
#include <stdbool.h>
|
|
42
|
+
#include <string.h>
|
|
43
|
+
#endif
|
|
44
|
+
#if defined(__cplusplus)
|
|
45
|
+
#pragma clang diagnostic push
|
|
46
|
+
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
|
|
47
|
+
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
|
|
48
|
+
# include <ptrauth.h>
|
|
49
|
+
#else
|
|
50
|
+
#pragma clang diagnostic push
|
|
51
|
+
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
52
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
53
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
54
|
+
# endif
|
|
55
|
+
# ifndef __ptrauth_swift_class_method_pointer
|
|
56
|
+
# define __ptrauth_swift_class_method_pointer(x)
|
|
57
|
+
# endif
|
|
58
|
+
#pragma clang diagnostic pop
|
|
59
|
+
#endif
|
|
60
|
+
#pragma clang diagnostic pop
|
|
61
|
+
#endif
|
|
62
|
+
|
|
63
|
+
#if !defined(SWIFT_TYPEDEFS)
|
|
64
|
+
# define SWIFT_TYPEDEFS 1
|
|
65
|
+
# if __has_include(<uchar.h>)
|
|
66
|
+
# include <uchar.h>
|
|
67
|
+
# elif !defined(__cplusplus)
|
|
68
|
+
typedef unsigned char char8_t;
|
|
69
|
+
typedef uint_least16_t char16_t;
|
|
70
|
+
typedef uint_least32_t char32_t;
|
|
71
|
+
# endif
|
|
72
|
+
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
73
|
+
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
74
|
+
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
75
|
+
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
76
|
+
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
77
|
+
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
78
|
+
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
79
|
+
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
80
|
+
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
81
|
+
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
82
|
+
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
83
|
+
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
84
|
+
#endif
|
|
85
|
+
|
|
86
|
+
#if !defined(SWIFT_PASTE)
|
|
87
|
+
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
88
|
+
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
89
|
+
#endif
|
|
90
|
+
#if !defined(SWIFT_METATYPE)
|
|
91
|
+
# define SWIFT_METATYPE(X) Class
|
|
92
|
+
#endif
|
|
93
|
+
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
94
|
+
# if __has_feature(objc_class_property)
|
|
95
|
+
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
96
|
+
# else
|
|
97
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
98
|
+
# endif
|
|
99
|
+
#endif
|
|
100
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
101
|
+
# if __has_attribute(objc_runtime_name)
|
|
102
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
103
|
+
# else
|
|
104
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
105
|
+
# endif
|
|
106
|
+
#endif
|
|
107
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
108
|
+
# if __has_attribute(swift_name)
|
|
109
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
110
|
+
# else
|
|
111
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
112
|
+
# endif
|
|
113
|
+
#endif
|
|
114
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
115
|
+
# if __has_attribute(objc_method_family)
|
|
116
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
117
|
+
# else
|
|
118
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
119
|
+
# endif
|
|
120
|
+
#endif
|
|
121
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
122
|
+
# if __has_attribute(noescape)
|
|
123
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
124
|
+
# else
|
|
125
|
+
# define SWIFT_NOESCAPE
|
|
126
|
+
# endif
|
|
127
|
+
#endif
|
|
128
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
129
|
+
# if __has_attribute(ns_consumed)
|
|
130
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
131
|
+
# else
|
|
132
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
133
|
+
# endif
|
|
134
|
+
#endif
|
|
135
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
136
|
+
# if __has_attribute(warn_unused_result)
|
|
137
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
138
|
+
# else
|
|
139
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
140
|
+
# endif
|
|
141
|
+
#endif
|
|
142
|
+
#if !defined(SWIFT_NORETURN)
|
|
143
|
+
# if __has_attribute(noreturn)
|
|
144
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
145
|
+
# else
|
|
146
|
+
# define SWIFT_NORETURN
|
|
147
|
+
# endif
|
|
148
|
+
#endif
|
|
149
|
+
#if !defined(SWIFT_CLASS_EXTRA)
|
|
150
|
+
# define SWIFT_CLASS_EXTRA
|
|
151
|
+
#endif
|
|
152
|
+
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
153
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
154
|
+
#endif
|
|
155
|
+
#if !defined(SWIFT_ENUM_EXTRA)
|
|
156
|
+
# define SWIFT_ENUM_EXTRA
|
|
157
|
+
#endif
|
|
158
|
+
#if !defined(SWIFT_CLASS)
|
|
159
|
+
# if __has_attribute(objc_subclassing_restricted)
|
|
160
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
161
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
162
|
+
# else
|
|
163
|
+
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
164
|
+
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
165
|
+
# endif
|
|
166
|
+
#endif
|
|
167
|
+
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
168
|
+
# if __has_attribute(objc_class_stub)
|
|
169
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
170
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
171
|
+
# else
|
|
172
|
+
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
173
|
+
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
174
|
+
# endif
|
|
175
|
+
#endif
|
|
176
|
+
#if !defined(SWIFT_PROTOCOL)
|
|
177
|
+
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
178
|
+
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
179
|
+
#endif
|
|
180
|
+
#if !defined(SWIFT_EXTENSION)
|
|
181
|
+
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
182
|
+
#endif
|
|
183
|
+
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
184
|
+
# if __has_attribute(objc_designated_initializer)
|
|
185
|
+
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
186
|
+
# else
|
|
187
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
188
|
+
# endif
|
|
189
|
+
#endif
|
|
190
|
+
#if !defined(SWIFT_ENUM_ATTR)
|
|
191
|
+
# if __has_attribute(enum_extensibility)
|
|
192
|
+
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
193
|
+
# else
|
|
194
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
195
|
+
# endif
|
|
196
|
+
#endif
|
|
197
|
+
#if !defined(SWIFT_ENUM)
|
|
198
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
199
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
200
|
+
# if __has_feature(generalized_swift_name)
|
|
201
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
202
|
+
# else
|
|
203
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
204
|
+
# endif
|
|
205
|
+
# else
|
|
206
|
+
# define SWIFT_ENUM(_type, _name, _extensibility) _type _name; enum
|
|
207
|
+
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
208
|
+
# endif
|
|
209
|
+
#endif
|
|
210
|
+
#if !defined(SWIFT_ENUM_TAG)
|
|
211
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
212
|
+
# define SWIFT_ENUM_TAG enum
|
|
213
|
+
# else
|
|
214
|
+
# define SWIFT_ENUM_TAG
|
|
215
|
+
# endif
|
|
216
|
+
#endif
|
|
217
|
+
#if !defined(SWIFT_ENUM_FWD_DECL)
|
|
218
|
+
# if (defined(__cplusplus) && __cplusplus >= 201103L) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) || __has_feature(objc_fixed_enum)
|
|
219
|
+
# define SWIFT_ENUM_FWD_DECL(_type, _name) enum _name : _type;
|
|
220
|
+
# else
|
|
221
|
+
# define SWIFT_ENUM_FWD_DECL(_type, _name) typedef _type _name;
|
|
222
|
+
# endif
|
|
223
|
+
#endif
|
|
224
|
+
#if !defined(SWIFT_UNAVAILABLE)
|
|
225
|
+
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
226
|
+
#endif
|
|
227
|
+
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
228
|
+
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
229
|
+
#endif
|
|
230
|
+
#if !defined(SWIFT_AVAILABILITY)
|
|
231
|
+
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
232
|
+
#endif
|
|
233
|
+
#if !defined(SWIFT_AVAILABILITY_DOMAIN)
|
|
234
|
+
# define SWIFT_AVAILABILITY_DOMAIN(dom, ...) __attribute__((availability(domain: dom, __VA_ARGS__)))
|
|
235
|
+
#endif
|
|
236
|
+
#if !defined(SWIFT_WEAK_IMPORT)
|
|
237
|
+
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
238
|
+
#endif
|
|
239
|
+
#if !defined(SWIFT_DEPRECATED)
|
|
240
|
+
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
241
|
+
#endif
|
|
242
|
+
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
243
|
+
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
244
|
+
#endif
|
|
245
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
246
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
247
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
248
|
+
# else
|
|
249
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
250
|
+
# endif
|
|
251
|
+
#endif
|
|
252
|
+
#if defined(__OBJC__)
|
|
253
|
+
#if !defined(IBSegueAction)
|
|
254
|
+
# define IBSegueAction
|
|
255
|
+
#endif
|
|
256
|
+
#endif
|
|
257
|
+
#if !defined(SWIFT_EXTERN)
|
|
258
|
+
# if defined(__cplusplus)
|
|
259
|
+
# define SWIFT_EXTERN extern "C"
|
|
260
|
+
# else
|
|
261
|
+
# define SWIFT_EXTERN extern
|
|
262
|
+
# endif
|
|
263
|
+
#endif
|
|
264
|
+
#if !defined(SWIFT_CALL)
|
|
265
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
266
|
+
#endif
|
|
267
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
268
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
269
|
+
#endif
|
|
270
|
+
#if !defined(SWIFT_CONTEXT)
|
|
271
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
272
|
+
#endif
|
|
273
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
274
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
275
|
+
#endif
|
|
276
|
+
#if defined(__cplusplus)
|
|
277
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
278
|
+
#else
|
|
279
|
+
# define SWIFT_NOEXCEPT
|
|
280
|
+
#endif
|
|
281
|
+
#if !defined(SWIFT_C_INLINE_THUNK)
|
|
282
|
+
# if __has_attribute(always_inline)
|
|
283
|
+
# if __has_attribute(nodebug)
|
|
284
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
|
|
285
|
+
# else
|
|
286
|
+
# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
|
|
287
|
+
# endif
|
|
288
|
+
# else
|
|
289
|
+
# define SWIFT_C_INLINE_THUNK inline
|
|
290
|
+
# endif
|
|
291
|
+
#endif
|
|
292
|
+
#if defined(_WIN32)
|
|
293
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
294
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
295
|
+
#endif
|
|
296
|
+
#else
|
|
297
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
298
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
299
|
+
#endif
|
|
300
|
+
#endif
|
|
301
|
+
#if !__has_feature(nullability)
|
|
302
|
+
# define _Nonnull
|
|
303
|
+
# define _Nullable
|
|
304
|
+
# define _Null_unspecified
|
|
305
|
+
#elif !defined(__OBJC__)
|
|
306
|
+
# pragma clang diagnostic ignored "-Wnullability-extension"
|
|
307
|
+
#endif
|
|
308
|
+
#if !__has_feature(nullability_nullable_result)
|
|
309
|
+
# define _Nullable_result _Nullable
|
|
310
|
+
#endif
|
|
311
|
+
#if __has_feature(objc_modules)
|
|
312
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
313
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
314
|
+
#endif
|
|
315
|
+
#endif
|
|
316
|
+
|
|
317
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
318
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
319
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
320
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
321
|
+
#endif
|
|
322
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
323
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
324
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
325
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
326
|
+
|
|
327
|
+
#if __has_attribute(external_source_symbol)
|
|
328
|
+
# pragma push_macro("any")
|
|
329
|
+
# undef any
|
|
330
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="CanvasSVG",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
331
|
+
# pragma pop_macro("any")
|
|
332
|
+
#endif
|
|
333
|
+
|
|
334
|
+
#if defined(__cplusplus)
|
|
335
|
+
extern "C" {
|
|
336
|
+
#endif
|
|
337
|
+
|
|
338
|
+
#if defined(__cplusplus)
|
|
339
|
+
} // extern "C"
|
|
340
|
+
#endif
|
|
341
|
+
#if __has_attribute(external_source_symbol)
|
|
342
|
+
# pragma clang attribute pop
|
|
343
|
+
#endif
|
|
344
|
+
#if defined(__OBJC__)
|
|
345
|
+
#if __has_feature(objc_modules)
|
|
346
|
+
#if __has_warning("-Watimport-in-framework-header")
|
|
347
|
+
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
348
|
+
#endif
|
|
349
|
+
@import CoreFoundation;
|
|
350
|
+
@import ObjectiveC;
|
|
351
|
+
@import UIKit;
|
|
352
|
+
#endif
|
|
353
|
+
|
|
354
|
+
#endif // defined(__OBJC__)
|
|
355
|
+
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
356
|
+
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
357
|
+
#if __has_warning("-Wpragma-clang-attribute")
|
|
358
|
+
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
359
|
+
#endif
|
|
360
|
+
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
361
|
+
#pragma clang diagnostic ignored "-Wnullability"
|
|
362
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
363
|
+
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
|
|
364
|
+
|
|
365
|
+
#if __has_attribute(external_source_symbol)
|
|
366
|
+
# pragma push_macro("any")
|
|
367
|
+
# undef any
|
|
368
|
+
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="CanvasSVG",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
369
|
+
# pragma pop_macro("any")
|
|
370
|
+
#endif
|
|
371
|
+
|
|
372
|
+
#if defined(__OBJC__)
|
|
373
|
+
|
|
374
|
+
@class NSString;
|
|
375
|
+
@class NSCSVGData;
|
|
376
|
+
@class NSCoder;
|
|
377
|
+
@class UIImage;
|
|
378
|
+
@class NSData;
|
|
379
|
+
SWIFT_CLASS_NAMED("NSCSVG")
|
|
380
|
+
@interface NSCSVG : UIView
|
|
381
|
+
@property (nonatomic) BOOL sync;
|
|
382
|
+
@property (nonatomic) BOOL autoScale;
|
|
383
|
+
@property (nonatomic, copy) NSString * _Nullable src;
|
|
384
|
+
@property (nonatomic, copy) NSString * _Nullable srcPath;
|
|
385
|
+
- (void)loadData:(NSCSVGData * _Nonnull)data;
|
|
386
|
+
- (void)update;
|
|
387
|
+
- (void)layoutSubviews;
|
|
388
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
389
|
+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
390
|
+
- (void)drawRect:(CGRect)rect;
|
|
391
|
+
- (UIImage * _Nullable)toImage SWIFT_WARN_UNUSED_RESULT;
|
|
392
|
+
- (NSData * _Nullable)toData SWIFT_WARN_UNUSED_RESULT;
|
|
393
|
+
+ (NSCSVGData * _Nullable)fromStringSync:(NSString * _Nonnull)source SWIFT_WARN_UNUSED_RESULT;
|
|
394
|
+
+ (NSCSVGData * _Nullable)fromPathSync:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
395
|
+
+ (NSCSVGData * _Nullable)fromRemoteSync:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
396
|
+
+ (void)fromString:(NSString * _Nonnull)source :(void (^ _Nonnull)(NSCSVGData * _Nullable))callback;
|
|
397
|
+
+ (void)fromPath:(NSString * _Nonnull)path :(void (^ _Nonnull)(NSCSVGData * _Nullable))callback;
|
|
398
|
+
+ (void)fromRemote:(NSString * _Nonnull)path :(void (^ _Nonnull)(NSCSVGData * _Nullable))callback;
|
|
399
|
+
@end
|
|
400
|
+
|
|
401
|
+
@class NSMutableData;
|
|
402
|
+
SWIFT_CLASS_NAMED("NSCSVGData")
|
|
403
|
+
@interface NSCSVGData : NSObject
|
|
404
|
+
@property (nonatomic, readonly, strong) NSMutableData * _Nullable data;
|
|
405
|
+
@property (nonatomic, readonly) CGFloat width;
|
|
406
|
+
@property (nonatomic, readonly) CGFloat height;
|
|
407
|
+
@property (nonatomic, readonly) void * _Nullable rawData;
|
|
408
|
+
- (UIImage * _Nullable)getImage SWIFT_WARN_UNUSED_RESULT;
|
|
409
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
410
|
+
@end
|
|
411
|
+
|
|
412
|
+
#endif // defined(__OBJC__)
|
|
413
|
+
#if __has_attribute(external_source_symbol)
|
|
414
|
+
# pragma clang attribute pop
|
|
415
|
+
#endif
|
|
416
|
+
#if defined(__cplusplus)
|
|
417
|
+
#endif
|
|
418
|
+
#pragma clang diagnostic pop
|
|
419
|
+
#endif
|
|
420
|
+
|
|
421
|
+
#else
|
|
422
|
+
#error unsupported Swift architecture
|
|
423
|
+
#endif
|
package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Headers/CanvasSVG.h
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CanvasSVG.h
|
|
3
|
+
// CanvasSVG
|
|
4
|
+
//
|
|
5
|
+
// Created by Osei Fortune on 18/03/2024.
|
|
6
|
+
//
|
|
7
|
+
#import <UIKit/UIKit.h>
|
|
8
|
+
#import <CanvasSVG/canvas_svg.h>
|
|
9
|
+
#import <CanvasSVG/CanvasSVGHelper.h>
|
|
10
|
+
//! Project version number for CanvasSVG.
|
|
11
|
+
FOUNDATION_EXPORT double CanvasSVGVersionNumber;
|
|
12
|
+
|
|
13
|
+
//! Project version string for CanvasSVG.
|
|
14
|
+
FOUNDATION_EXPORT const unsigned char CanvasSVGVersionString[];
|
|
15
|
+
|
|
16
|
+
// In this header, you should import all the public headers of your framework using statements like #import <CanvasSVG/PublicHeader.h>
|
|
17
|
+
|
package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Headers/CanvasSVGHelper.h
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CanvasSVGHelper.h
|
|
3
|
+
// CanvasSVG
|
|
4
|
+
//
|
|
5
|
+
// Created by Osei Fortune on 18/03/2024.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#ifndef CanvasSVGHelper_h
|
|
9
|
+
#define CanvasSVGHelper_h
|
|
10
|
+
#import <UIKit/UIKit.h>
|
|
11
|
+
#import <CanvasSVG/canvas_svg.h>
|
|
12
|
+
|
|
13
|
+
@interface CanvasSVGHelper : NSObject
|
|
14
|
+
+(void) drawFromString:(uint8_t*)data size:(uintptr_t)size width:(float) width height:(float)height svg:(NSString*) svg;
|
|
15
|
+
+(void) drawFromPath:(uint8_t*)data size:(uintptr_t)size width:(float) width height:(float)height path:(NSString*) path;
|
|
16
|
+
@end
|
|
17
|
+
|
|
18
|
+
#endif /* CanvasSVGHelper_h */
|
package/platforms/ios/CanvasSVG.xcframework/xros-arm64/CanvasSVG.framework/Headers/canvas_svg.h
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#ifndef CANVAS_SVG_IOS_H
|
|
2
|
+
#define CANVAS_SVG_IOS_H
|
|
3
|
+
|
|
4
|
+
/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */
|
|
5
|
+
|
|
6
|
+
#include <stdarg.h>
|
|
7
|
+
#include <stdbool.h>
|
|
8
|
+
#include <stdint.h>
|
|
9
|
+
#include <stdlib.h>
|
|
10
|
+
|
|
11
|
+
void canvas_native_svg_draw_from_bytes(uint8_t *data,
|
|
12
|
+
uintptr_t size,
|
|
13
|
+
float width,
|
|
14
|
+
float height,
|
|
15
|
+
float scale,
|
|
16
|
+
const uint8_t *svg_data,
|
|
17
|
+
uintptr_t svg_size);
|
|
18
|
+
|
|
19
|
+
void canvas_native_svg_draw_from_string(uint8_t *data,
|
|
20
|
+
uintptr_t size,
|
|
21
|
+
float width,
|
|
22
|
+
float height,
|
|
23
|
+
float scale,
|
|
24
|
+
const char *svg);
|
|
25
|
+
|
|
26
|
+
void canvas_native_svg_draw_from_path(uint8_t *data,
|
|
27
|
+
uintptr_t size,
|
|
28
|
+
float width,
|
|
29
|
+
float height,
|
|
30
|
+
float scale,
|
|
31
|
+
const char *path);
|
|
32
|
+
|
|
33
|
+
#endif /* CANVAS_SVG_IOS_H */
|
|
Binary file
|