@nativescript/canvas 2.0.0-beta.19 → 2.0.0-beta.20
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/Canvas/common.d.ts +15 -10
- package/Canvas/common.js +62 -65
- package/Canvas/common.js.map +1 -1
- package/Canvas/index.android.js +23 -29
- package/Canvas/index.android.js.map +1 -1
- package/Canvas2D/CanvasRenderingContext2D/index.js +7 -0
- package/Canvas2D/CanvasRenderingContext2D/index.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.d.ts +1 -0
- package/WebGL/WebGLRenderingContext/index.js +44 -7
- package/WebGL/WebGLRenderingContext/index.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/index.d.ts +1 -0
- package/WebGL2/WebGL2RenderingContext/index.js +2 -1
- package/WebGL2/WebGL2RenderingContext/index.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/canvas-release.aar +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +9 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_ios.h +25 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +321 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +7 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +7 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +585 -571
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +18 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_ios.h +25 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +321 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +7 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +7 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +321 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +7 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +7 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +24 -24
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +617 -603
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/x86_64/CanvasNative.yml +619 -605
|
Binary file
|
|
@@ -360,6 +360,7 @@ SWIFT_CLASS_NAMED("CanvasHelpers")
|
|
|
360
360
|
+ (void)readFile:(NSString * _Nonnull)path :(void (^ _Nonnull)(NSString * _Nullable, NSData * _Nullable))callback;
|
|
361
361
|
+ (void)deleteFile:(NSString * _Nonnull)path :(void (^ _Nonnull)(NSError * _Nullable, BOOL))callback;
|
|
362
362
|
+ (void)handleBase64Image:(NSString * _Nonnull)mime :(NSString * _Nonnull)dir :(NSString * _Nonnull)base64 :(void (^ _Nonnull)(NSString * _Nullable, NSString * _Nullable))callback;
|
|
363
|
+
+ (NSString * _Nonnull)getPixelsPerInchForCurrentDevice SWIFT_WARN_UNUSED_RESULT;
|
|
363
364
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
364
365
|
@end
|
|
365
366
|
|
|
@@ -446,6 +447,14 @@ SWIFT_CLASS_NAMED("NSCRender")
|
|
|
446
447
|
- (void)createSurface;
|
|
447
448
|
@end
|
|
448
449
|
|
|
450
|
+
|
|
451
|
+
SWIFT_CLASS_NAMED("NSCWebGLRenderingContext")
|
|
452
|
+
@interface NSCWebGLRenderingContext : NSObject
|
|
453
|
+
+ (void)texImage2D:(int64_t)context :(int32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)format :(int32_t)type :(uint8_t * _Nonnull)data :(NSUInteger)size :(CGSize)dimensions :(BOOL)flipY;
|
|
454
|
+
+ (void)texSubImage2D:(int64_t)context :(int32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)format :(int32_t)type :(uint8_t * _Nonnull)data :(NSUInteger)size :(CGSize)dimensions :(BOOL)flipY;
|
|
455
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
456
|
+
@end
|
|
457
|
+
|
|
449
458
|
@class AVPlayer;
|
|
450
459
|
@class AVPlayerItemVideoOutput;
|
|
451
460
|
|
|
@@ -829,6 +838,7 @@ SWIFT_CLASS_NAMED("CanvasHelpers")
|
|
|
829
838
|
+ (void)readFile:(NSString * _Nonnull)path :(void (^ _Nonnull)(NSString * _Nullable, NSData * _Nullable))callback;
|
|
830
839
|
+ (void)deleteFile:(NSString * _Nonnull)path :(void (^ _Nonnull)(NSError * _Nullable, BOOL))callback;
|
|
831
840
|
+ (void)handleBase64Image:(NSString * _Nonnull)mime :(NSString * _Nonnull)dir :(NSString * _Nonnull)base64 :(void (^ _Nonnull)(NSString * _Nullable, NSString * _Nullable))callback;
|
|
841
|
+
+ (NSString * _Nonnull)getPixelsPerInchForCurrentDevice SWIFT_WARN_UNUSED_RESULT;
|
|
832
842
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
833
843
|
@end
|
|
834
844
|
|
|
@@ -915,6 +925,14 @@ SWIFT_CLASS_NAMED("NSCRender")
|
|
|
915
925
|
- (void)createSurface;
|
|
916
926
|
@end
|
|
917
927
|
|
|
928
|
+
|
|
929
|
+
SWIFT_CLASS_NAMED("NSCWebGLRenderingContext")
|
|
930
|
+
@interface NSCWebGLRenderingContext : NSObject
|
|
931
|
+
+ (void)texImage2D:(int64_t)context :(int32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)format :(int32_t)type :(uint8_t * _Nonnull)data :(NSUInteger)size :(CGSize)dimensions :(BOOL)flipY;
|
|
932
|
+
+ (void)texSubImage2D:(int64_t)context :(int32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)format :(int32_t)type :(uint8_t * _Nonnull)data :(NSUInteger)size :(CGSize)dimensions :(BOOL)flipY;
|
|
933
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
934
|
+
@end
|
|
935
|
+
|
|
918
936
|
@class AVPlayer;
|
|
919
937
|
@class AVPlayerItemVideoOutput;
|
|
920
938
|
|
|
@@ -162,4 +162,29 @@ uint32_t canvas_native_context_backend_texture_get_id(int64_t texture);
|
|
|
162
162
|
|
|
163
163
|
void canvas_native_context_backend_texture_destroy(int64_t texture);
|
|
164
164
|
|
|
165
|
+
void canvas_native_webgl_tex_image_2d(int64_t context,
|
|
166
|
+
int32_t target,
|
|
167
|
+
int32_t level,
|
|
168
|
+
int32_t internalformat,
|
|
169
|
+
int32_t format,
|
|
170
|
+
int32_t type_,
|
|
171
|
+
uint8_t *bytes,
|
|
172
|
+
uintptr_t size,
|
|
173
|
+
float width,
|
|
174
|
+
float height,
|
|
175
|
+
bool flip_y);
|
|
176
|
+
|
|
177
|
+
void canvas_native_webgl_tex_sub_image_2d(int64_t context,
|
|
178
|
+
int32_t target,
|
|
179
|
+
int32_t level,
|
|
180
|
+
int32_t xoffset,
|
|
181
|
+
int32_t yoffset,
|
|
182
|
+
int32_t format,
|
|
183
|
+
int32_t type_,
|
|
184
|
+
uint8_t *bytes,
|
|
185
|
+
uintptr_t size,
|
|
186
|
+
float width,
|
|
187
|
+
float height,
|
|
188
|
+
bool flip_y);
|
|
189
|
+
|
|
165
190
|
#endif /* CANVAS_IOS_H */
|
|
Binary file
|
|
Binary file
|
|
@@ -1493,6 +1493,30 @@
|
|
|
1493
1493
|
],
|
|
1494
1494
|
"funcSelfKind": "NonMutating"
|
|
1495
1495
|
},
|
|
1496
|
+
{
|
|
1497
|
+
"kind": "Function",
|
|
1498
|
+
"name": "getPixelsPerInchForCurrentDevice",
|
|
1499
|
+
"printedName": "getPixelsPerInchForCurrentDevice()",
|
|
1500
|
+
"children": [
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "TypeNominal",
|
|
1503
|
+
"name": "String",
|
|
1504
|
+
"printedName": "Swift.String",
|
|
1505
|
+
"usr": "s:SS"
|
|
1506
|
+
}
|
|
1507
|
+
],
|
|
1508
|
+
"declKind": "Func",
|
|
1509
|
+
"usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)getPixelsPerInchForCurrentDevice",
|
|
1510
|
+
"mangledName": "$s12CanvasNative0A7HelpersC32getPixelsPerInchForCurrentDeviceSSyFZ",
|
|
1511
|
+
"moduleName": "CanvasNative",
|
|
1512
|
+
"static": true,
|
|
1513
|
+
"declAttributes": [
|
|
1514
|
+
"Final",
|
|
1515
|
+
"AccessControl",
|
|
1516
|
+
"ObjC"
|
|
1517
|
+
],
|
|
1518
|
+
"funcSelfKind": "NonMutating"
|
|
1519
|
+
},
|
|
1496
1520
|
{
|
|
1497
1521
|
"kind": "Constructor",
|
|
1498
1522
|
"name": "init",
|
|
@@ -4029,6 +4053,303 @@
|
|
|
4029
4053
|
"RawDocComment"
|
|
4030
4054
|
]
|
|
4031
4055
|
},
|
|
4056
|
+
{
|
|
4057
|
+
"kind": "TypeDecl",
|
|
4058
|
+
"name": "NSCWebGLRenderingContext",
|
|
4059
|
+
"printedName": "NSCWebGLRenderingContext",
|
|
4060
|
+
"children": [
|
|
4061
|
+
{
|
|
4062
|
+
"kind": "Function",
|
|
4063
|
+
"name": "texImage2D",
|
|
4064
|
+
"printedName": "texImage2D(_:_:_:_:_:_:_:_:_:_:)",
|
|
4065
|
+
"children": [
|
|
4066
|
+
{
|
|
4067
|
+
"kind": "TypeNominal",
|
|
4068
|
+
"name": "Void",
|
|
4069
|
+
"printedName": "()"
|
|
4070
|
+
},
|
|
4071
|
+
{
|
|
4072
|
+
"kind": "TypeNominal",
|
|
4073
|
+
"name": "Int64",
|
|
4074
|
+
"printedName": "Swift.Int64",
|
|
4075
|
+
"usr": "s:s5Int64V"
|
|
4076
|
+
},
|
|
4077
|
+
{
|
|
4078
|
+
"kind": "TypeNominal",
|
|
4079
|
+
"name": "Int32",
|
|
4080
|
+
"printedName": "Swift.Int32",
|
|
4081
|
+
"usr": "s:s5Int32V"
|
|
4082
|
+
},
|
|
4083
|
+
{
|
|
4084
|
+
"kind": "TypeNominal",
|
|
4085
|
+
"name": "Int32",
|
|
4086
|
+
"printedName": "Swift.Int32",
|
|
4087
|
+
"usr": "s:s5Int32V"
|
|
4088
|
+
},
|
|
4089
|
+
{
|
|
4090
|
+
"kind": "TypeNominal",
|
|
4091
|
+
"name": "Int32",
|
|
4092
|
+
"printedName": "Swift.Int32",
|
|
4093
|
+
"usr": "s:s5Int32V"
|
|
4094
|
+
},
|
|
4095
|
+
{
|
|
4096
|
+
"kind": "TypeNominal",
|
|
4097
|
+
"name": "Int32",
|
|
4098
|
+
"printedName": "Swift.Int32",
|
|
4099
|
+
"usr": "s:s5Int32V"
|
|
4100
|
+
},
|
|
4101
|
+
{
|
|
4102
|
+
"kind": "TypeNominal",
|
|
4103
|
+
"name": "Int32",
|
|
4104
|
+
"printedName": "Swift.Int32",
|
|
4105
|
+
"usr": "s:s5Int32V"
|
|
4106
|
+
},
|
|
4107
|
+
{
|
|
4108
|
+
"kind": "TypeNominal",
|
|
4109
|
+
"name": "UnsafeMutablePointer",
|
|
4110
|
+
"printedName": "Swift.UnsafeMutablePointer<Swift.UInt8>",
|
|
4111
|
+
"children": [
|
|
4112
|
+
{
|
|
4113
|
+
"kind": "TypeNominal",
|
|
4114
|
+
"name": "UInt8",
|
|
4115
|
+
"printedName": "Swift.UInt8",
|
|
4116
|
+
"usr": "s:s5UInt8V"
|
|
4117
|
+
}
|
|
4118
|
+
],
|
|
4119
|
+
"usr": "s:Sp"
|
|
4120
|
+
},
|
|
4121
|
+
{
|
|
4122
|
+
"kind": "TypeNominal",
|
|
4123
|
+
"name": "UInt",
|
|
4124
|
+
"printedName": "Swift.UInt",
|
|
4125
|
+
"usr": "s:Su"
|
|
4126
|
+
},
|
|
4127
|
+
{
|
|
4128
|
+
"kind": "TypeNominal",
|
|
4129
|
+
"name": "CGSize",
|
|
4130
|
+
"printedName": "CoreFoundation.CGSize",
|
|
4131
|
+
"usr": "c:@S@CGSize"
|
|
4132
|
+
},
|
|
4133
|
+
{
|
|
4134
|
+
"kind": "TypeNominal",
|
|
4135
|
+
"name": "Bool",
|
|
4136
|
+
"printedName": "Swift.Bool",
|
|
4137
|
+
"usr": "s:Sb"
|
|
4138
|
+
}
|
|
4139
|
+
],
|
|
4140
|
+
"declKind": "Func",
|
|
4141
|
+
"usr": "c:@M@CanvasNative@objc(cs)NSCWebGLRenderingContext(cm)texImage2D::::::::::",
|
|
4142
|
+
"mangledName": "$s12CanvasNative24NSCWebGLRenderingContextC10texImage2Dyys5Int64V_s5Int32VA4HSpys5UInt8VGSuSo6CGSizeVSbtFZ",
|
|
4143
|
+
"moduleName": "CanvasNative",
|
|
4144
|
+
"static": true,
|
|
4145
|
+
"declAttributes": [
|
|
4146
|
+
"Final",
|
|
4147
|
+
"AccessControl",
|
|
4148
|
+
"ObjC"
|
|
4149
|
+
],
|
|
4150
|
+
"funcSelfKind": "NonMutating"
|
|
4151
|
+
},
|
|
4152
|
+
{
|
|
4153
|
+
"kind": "Function",
|
|
4154
|
+
"name": "texSubImage2D",
|
|
4155
|
+
"printedName": "texSubImage2D(_:_:_:_:_:_:_:_:_:_:_:)",
|
|
4156
|
+
"children": [
|
|
4157
|
+
{
|
|
4158
|
+
"kind": "TypeNominal",
|
|
4159
|
+
"name": "Void",
|
|
4160
|
+
"printedName": "()"
|
|
4161
|
+
},
|
|
4162
|
+
{
|
|
4163
|
+
"kind": "TypeNominal",
|
|
4164
|
+
"name": "Int64",
|
|
4165
|
+
"printedName": "Swift.Int64",
|
|
4166
|
+
"usr": "s:s5Int64V"
|
|
4167
|
+
},
|
|
4168
|
+
{
|
|
4169
|
+
"kind": "TypeNominal",
|
|
4170
|
+
"name": "Int32",
|
|
4171
|
+
"printedName": "Swift.Int32",
|
|
4172
|
+
"usr": "s:s5Int32V"
|
|
4173
|
+
},
|
|
4174
|
+
{
|
|
4175
|
+
"kind": "TypeNominal",
|
|
4176
|
+
"name": "Int32",
|
|
4177
|
+
"printedName": "Swift.Int32",
|
|
4178
|
+
"usr": "s:s5Int32V"
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
"kind": "TypeNominal",
|
|
4182
|
+
"name": "Int32",
|
|
4183
|
+
"printedName": "Swift.Int32",
|
|
4184
|
+
"usr": "s:s5Int32V"
|
|
4185
|
+
},
|
|
4186
|
+
{
|
|
4187
|
+
"kind": "TypeNominal",
|
|
4188
|
+
"name": "Int32",
|
|
4189
|
+
"printedName": "Swift.Int32",
|
|
4190
|
+
"usr": "s:s5Int32V"
|
|
4191
|
+
},
|
|
4192
|
+
{
|
|
4193
|
+
"kind": "TypeNominal",
|
|
4194
|
+
"name": "Int32",
|
|
4195
|
+
"printedName": "Swift.Int32",
|
|
4196
|
+
"usr": "s:s5Int32V"
|
|
4197
|
+
},
|
|
4198
|
+
{
|
|
4199
|
+
"kind": "TypeNominal",
|
|
4200
|
+
"name": "Int32",
|
|
4201
|
+
"printedName": "Swift.Int32",
|
|
4202
|
+
"usr": "s:s5Int32V"
|
|
4203
|
+
},
|
|
4204
|
+
{
|
|
4205
|
+
"kind": "TypeNominal",
|
|
4206
|
+
"name": "UnsafeMutablePointer",
|
|
4207
|
+
"printedName": "Swift.UnsafeMutablePointer<Swift.UInt8>",
|
|
4208
|
+
"children": [
|
|
4209
|
+
{
|
|
4210
|
+
"kind": "TypeNominal",
|
|
4211
|
+
"name": "UInt8",
|
|
4212
|
+
"printedName": "Swift.UInt8",
|
|
4213
|
+
"usr": "s:s5UInt8V"
|
|
4214
|
+
}
|
|
4215
|
+
],
|
|
4216
|
+
"usr": "s:Sp"
|
|
4217
|
+
},
|
|
4218
|
+
{
|
|
4219
|
+
"kind": "TypeNominal",
|
|
4220
|
+
"name": "UInt",
|
|
4221
|
+
"printedName": "Swift.UInt",
|
|
4222
|
+
"usr": "s:Su"
|
|
4223
|
+
},
|
|
4224
|
+
{
|
|
4225
|
+
"kind": "TypeNominal",
|
|
4226
|
+
"name": "CGSize",
|
|
4227
|
+
"printedName": "CoreFoundation.CGSize",
|
|
4228
|
+
"usr": "c:@S@CGSize"
|
|
4229
|
+
},
|
|
4230
|
+
{
|
|
4231
|
+
"kind": "TypeNominal",
|
|
4232
|
+
"name": "Bool",
|
|
4233
|
+
"printedName": "Swift.Bool",
|
|
4234
|
+
"usr": "s:Sb"
|
|
4235
|
+
}
|
|
4236
|
+
],
|
|
4237
|
+
"declKind": "Func",
|
|
4238
|
+
"usr": "c:@M@CanvasNative@objc(cs)NSCWebGLRenderingContext(cm)texSubImage2D:::::::::::",
|
|
4239
|
+
"mangledName": "$s12CanvasNative24NSCWebGLRenderingContextC13texSubImage2Dyys5Int64V_s5Int32VA5HSpys5UInt8VGSuSo6CGSizeVSbtFZ",
|
|
4240
|
+
"moduleName": "CanvasNative",
|
|
4241
|
+
"static": true,
|
|
4242
|
+
"declAttributes": [
|
|
4243
|
+
"Final",
|
|
4244
|
+
"AccessControl",
|
|
4245
|
+
"ObjC"
|
|
4246
|
+
],
|
|
4247
|
+
"funcSelfKind": "NonMutating"
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
"kind": "Constructor",
|
|
4251
|
+
"name": "init",
|
|
4252
|
+
"printedName": "init()",
|
|
4253
|
+
"children": [
|
|
4254
|
+
{
|
|
4255
|
+
"kind": "TypeNominal",
|
|
4256
|
+
"name": "NSCWebGLRenderingContext",
|
|
4257
|
+
"printedName": "CanvasNative.NSCWebGLRenderingContext",
|
|
4258
|
+
"usr": "c:@M@CanvasNative@objc(cs)NSCWebGLRenderingContext"
|
|
4259
|
+
}
|
|
4260
|
+
],
|
|
4261
|
+
"declKind": "Constructor",
|
|
4262
|
+
"usr": "c:@M@CanvasNative@objc(cs)NSCWebGLRenderingContext(im)init",
|
|
4263
|
+
"mangledName": "$s12CanvasNative24NSCWebGLRenderingContextCACycfc",
|
|
4264
|
+
"moduleName": "CanvasNative",
|
|
4265
|
+
"overriding": true,
|
|
4266
|
+
"implicit": true,
|
|
4267
|
+
"objc_name": "init",
|
|
4268
|
+
"declAttributes": [
|
|
4269
|
+
"Dynamic",
|
|
4270
|
+
"ObjC",
|
|
4271
|
+
"Override"
|
|
4272
|
+
],
|
|
4273
|
+
"init_kind": "Designated"
|
|
4274
|
+
}
|
|
4275
|
+
],
|
|
4276
|
+
"declKind": "Class",
|
|
4277
|
+
"usr": "c:@M@CanvasNative@objc(cs)NSCWebGLRenderingContext",
|
|
4278
|
+
"mangledName": "$s12CanvasNative24NSCWebGLRenderingContextC",
|
|
4279
|
+
"moduleName": "CanvasNative",
|
|
4280
|
+
"objc_name": "NSCWebGLRenderingContext",
|
|
4281
|
+
"declAttributes": [
|
|
4282
|
+
"AccessControl",
|
|
4283
|
+
"ObjCMembers",
|
|
4284
|
+
"ObjC"
|
|
4285
|
+
],
|
|
4286
|
+
"superclassUsr": "c:objc(cs)NSObject",
|
|
4287
|
+
"inheritsConvenienceInitializers": true,
|
|
4288
|
+
"superclassNames": [
|
|
4289
|
+
"ObjectiveC.NSObject"
|
|
4290
|
+
],
|
|
4291
|
+
"conformances": [
|
|
4292
|
+
{
|
|
4293
|
+
"kind": "Conformance",
|
|
4294
|
+
"name": "Equatable",
|
|
4295
|
+
"printedName": "Equatable",
|
|
4296
|
+
"usr": "s:SQ",
|
|
4297
|
+
"mangledName": "$sSQ"
|
|
4298
|
+
},
|
|
4299
|
+
{
|
|
4300
|
+
"kind": "Conformance",
|
|
4301
|
+
"name": "Hashable",
|
|
4302
|
+
"printedName": "Hashable",
|
|
4303
|
+
"usr": "s:SH",
|
|
4304
|
+
"mangledName": "$sSH"
|
|
4305
|
+
},
|
|
4306
|
+
{
|
|
4307
|
+
"kind": "Conformance",
|
|
4308
|
+
"name": "CVarArg",
|
|
4309
|
+
"printedName": "CVarArg",
|
|
4310
|
+
"usr": "s:s7CVarArgP",
|
|
4311
|
+
"mangledName": "$ss7CVarArgP"
|
|
4312
|
+
},
|
|
4313
|
+
{
|
|
4314
|
+
"kind": "Conformance",
|
|
4315
|
+
"name": "_KeyValueCodingAndObservingPublishing",
|
|
4316
|
+
"printedName": "_KeyValueCodingAndObservingPublishing",
|
|
4317
|
+
"usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
|
|
4318
|
+
"mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
|
|
4319
|
+
},
|
|
4320
|
+
{
|
|
4321
|
+
"kind": "Conformance",
|
|
4322
|
+
"name": "_KeyValueCodingAndObserving",
|
|
4323
|
+
"printedName": "_KeyValueCodingAndObserving",
|
|
4324
|
+
"usr": "s:10Foundation27_KeyValueCodingAndObservingP",
|
|
4325
|
+
"mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
|
|
4326
|
+
},
|
|
4327
|
+
{
|
|
4328
|
+
"kind": "Conformance",
|
|
4329
|
+
"name": "CustomStringConvertible",
|
|
4330
|
+
"printedName": "CustomStringConvertible",
|
|
4331
|
+
"usr": "s:s23CustomStringConvertibleP",
|
|
4332
|
+
"mangledName": "$ss23CustomStringConvertibleP"
|
|
4333
|
+
},
|
|
4334
|
+
{
|
|
4335
|
+
"kind": "Conformance",
|
|
4336
|
+
"name": "CustomDebugStringConvertible",
|
|
4337
|
+
"printedName": "CustomDebugStringConvertible",
|
|
4338
|
+
"usr": "s:s28CustomDebugStringConvertibleP",
|
|
4339
|
+
"mangledName": "$ss28CustomDebugStringConvertibleP"
|
|
4340
|
+
}
|
|
4341
|
+
]
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"kind": "Import",
|
|
4345
|
+
"name": "Foundation",
|
|
4346
|
+
"printedName": "Foundation",
|
|
4347
|
+
"declKind": "Import",
|
|
4348
|
+
"moduleName": "CanvasNative",
|
|
4349
|
+
"declAttributes": [
|
|
4350
|
+
"RawDocComment"
|
|
4351
|
+
]
|
|
4352
|
+
},
|
|
4032
4353
|
{
|
|
4033
4354
|
"kind": "Import",
|
|
4034
4355
|
"name": "GLKit",
|
|
@@ -41,6 +41,7 @@ import _SwiftConcurrencyShims
|
|
|
41
41
|
@objc public static func readFile(_ path: Swift.String, _ callback: @escaping (Swift.String?, Foundation.NSData?) -> Swift.Void)
|
|
42
42
|
@objc public static func deleteFile(_ path: Swift.String, _ callback: @escaping (Foundation.NSError?, Swift.Bool) -> Swift.Void)
|
|
43
43
|
@objc public static func handleBase64Image(_ mime: Swift.String, _ dir: Swift.String, _ base64: Swift.String, _ callback: @escaping (Swift.String?, Swift.String?) -> Swift.Void)
|
|
44
|
+
@objc public static func getPixelsPerInchForCurrentDevice() -> Swift.String
|
|
44
45
|
@objc override dynamic public init()
|
|
45
46
|
@objc deinit
|
|
46
47
|
}
|
|
@@ -113,6 +114,12 @@ import _SwiftConcurrencyShims
|
|
|
113
114
|
@objc override dynamic public init()
|
|
114
115
|
@objc deinit
|
|
115
116
|
}
|
|
117
|
+
@_inheritsConvenienceInitializers @objc(NSCWebGLRenderingContext) @objcMembers public class NSCWebGLRenderingContext : ObjectiveC.NSObject {
|
|
118
|
+
@objc public static func texImage2D(_ context: Swift.Int64, _ target: Swift.Int32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ format: Swift.Int32, _ type: Swift.Int32, _ data: Swift.UnsafeMutablePointer<Swift.UInt8>, _ size: Swift.UInt, _ dimensions: CoreFoundation.CGSize, _ flipY: Swift.Bool)
|
|
119
|
+
@objc public static func texSubImage2D(_ context: Swift.Int64, _ target: Swift.Int32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ format: Swift.Int32, _ type: Swift.Int32, _ data: Swift.UnsafeMutablePointer<Swift.UInt8>, _ size: Swift.UInt, _ dimensions: CoreFoundation.CGSize, _ flipY: Swift.Bool)
|
|
120
|
+
@objc override dynamic public init()
|
|
121
|
+
@objc deinit
|
|
122
|
+
}
|
|
116
123
|
@_hasMissingDesignatedInitializers @objcMembers @objc(CanvasGLKView) @_Concurrency.MainActor(unsafe) public class CanvasGLKView : GLKit.GLKView {
|
|
117
124
|
@_Concurrency.MainActor(unsafe) @objc dynamic public init()
|
|
118
125
|
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
@@ -41,6 +41,7 @@ import _SwiftConcurrencyShims
|
|
|
41
41
|
@objc public static func readFile(_ path: Swift.String, _ callback: @escaping (Swift.String?, Foundation.NSData?) -> Swift.Void)
|
|
42
42
|
@objc public static func deleteFile(_ path: Swift.String, _ callback: @escaping (Foundation.NSError?, Swift.Bool) -> Swift.Void)
|
|
43
43
|
@objc public static func handleBase64Image(_ mime: Swift.String, _ dir: Swift.String, _ base64: Swift.String, _ callback: @escaping (Swift.String?, Swift.String?) -> Swift.Void)
|
|
44
|
+
@objc public static func getPixelsPerInchForCurrentDevice() -> Swift.String
|
|
44
45
|
@objc override dynamic public init()
|
|
45
46
|
@objc deinit
|
|
46
47
|
}
|
|
@@ -113,6 +114,12 @@ import _SwiftConcurrencyShims
|
|
|
113
114
|
@objc override dynamic public init()
|
|
114
115
|
@objc deinit
|
|
115
116
|
}
|
|
117
|
+
@_inheritsConvenienceInitializers @objc(NSCWebGLRenderingContext) @objcMembers public class NSCWebGLRenderingContext : ObjectiveC.NSObject {
|
|
118
|
+
@objc public static func texImage2D(_ context: Swift.Int64, _ target: Swift.Int32, _ level: Swift.Int32, _ internalformat: Swift.Int32, _ format: Swift.Int32, _ type: Swift.Int32, _ data: Swift.UnsafeMutablePointer<Swift.UInt8>, _ size: Swift.UInt, _ dimensions: CoreFoundation.CGSize, _ flipY: Swift.Bool)
|
|
119
|
+
@objc public static func texSubImage2D(_ context: Swift.Int64, _ target: Swift.Int32, _ level: Swift.Int32, _ xoffset: Swift.Int32, _ yoffset: Swift.Int32, _ format: Swift.Int32, _ type: Swift.Int32, _ data: Swift.UnsafeMutablePointer<Swift.UInt8>, _ size: Swift.UInt, _ dimensions: CoreFoundation.CGSize, _ flipY: Swift.Bool)
|
|
120
|
+
@objc override dynamic public init()
|
|
121
|
+
@objc deinit
|
|
122
|
+
}
|
|
116
123
|
@_hasMissingDesignatedInitializers @objcMembers @objc(CanvasGLKView) @_Concurrency.MainActor(unsafe) public class CanvasGLKView : GLKit.GLKView {
|
|
117
124
|
@_Concurrency.MainActor(unsafe) @objc dynamic public init()
|
|
118
125
|
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|