@nativescript/canvas 2.0.0-webgpu.40 → 2.0.0-webgpu.42

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.
Files changed (40) hide show
  1. package/Canvas/index.android.js +6 -0
  2. package/Canvas/index.android.js.map +1 -1
  3. package/Canvas/index.ios.js +6 -0
  4. package/Canvas/index.ios.js.map +1 -1
  5. package/WebGPU/GPUCanvasContext.d.ts +7 -2
  6. package/WebGPU/GPUCanvasContext.js +31 -0
  7. package/WebGPU/GPUCanvasContext.js.map +1 -1
  8. package/WebGPU/GPUQueue.js +1 -1
  9. package/WebGPU/GPUQueue.js.map +1 -1
  10. package/package.json +1 -1
  11. package/platforms/android/canvas-release.aar +0 -0
  12. package/platforms/ios/CanvasNative.xcframework/Info.plist +5 -5
  13. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  14. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +1 -0
  15. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +11 -0
  16. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  17. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +49 -14
  18. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +1 -0
  19. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +1 -0
  20. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  21. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +672 -662
  22. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  23. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +2 -0
  24. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +11 -0
  25. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  26. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  27. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +49 -14
  28. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1 -0
  29. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -0
  30. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +49 -14
  31. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1 -0
  32. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1 -0
  33. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +24 -24
  34. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  35. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +693 -683
  36. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/x86_64/CanvasNative.yml +746 -736
  37. package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.cpp +1 -1
  38. package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.cpp +2 -2
  39. package/platforms/ios/src/cpp/webgpu/GPUCanvasContextImpl.cpp +59 -3
  40. package/platforms/ios/src/cpp/webgpu/GPUCanvasContextImpl.h +2 -0
@@ -398,6 +398,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSMutableDic
398
398
  @property (nonatomic, readonly) CGFloat drawingBufferHeight;
399
399
  @property (nonatomic, readonly) float width;
400
400
  @property (nonatomic, readonly) float height;
401
+ - (NSString * _Nonnull)toDataURL:(NSString * _Nonnull)format :(float)quality SWIFT_WARN_UNUSED_RESULT;
401
402
  - (void)initContext:(NSString * _Nonnull)type :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(int32_t)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible SWIFT_METHOD_FAMILY(none);
402
403
  - (void)initWebGPUContext:(int64_t)instance SWIFT_METHOD_FAMILY(none);
403
404
  - (int64_t)create2DContext:(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(int32_t)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible :(int32_t)fontColor SWIFT_WARN_UNUSED_RESULT;
@@ -926,6 +927,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSMutableDic
926
927
  @property (nonatomic, readonly) CGFloat drawingBufferHeight;
927
928
  @property (nonatomic, readonly) float width;
928
929
  @property (nonatomic, readonly) float height;
930
+ - (NSString * _Nonnull)toDataURL:(NSString * _Nonnull)format :(float)quality SWIFT_WARN_UNUSED_RESULT;
929
931
  - (void)initContext:(NSString * _Nonnull)type :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(int32_t)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible SWIFT_METHOD_FAMILY(none);
930
932
  - (void)initWebGPUContext:(int64_t)instance SWIFT_METHOD_FAMILY(none);
931
933
  - (int64_t)create2DContext:(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(int32_t)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible :(int32_t)fontColor SWIFT_WARN_UNUSED_RESULT;
@@ -3002,6 +3002,17 @@ void canvas_native_webgpu_buffer_map_async(const struct CanvasGPUBuffer *buffer,
3002
3002
  void (*callback)(enum CanvasGPUErrorType, char*, void*),
3003
3003
  void *callback_data);
3004
3004
 
3005
+ char *canvas_native_webgpu_to_data_url(const struct CanvasGPUCanvasContext *context,
3006
+ const struct CanvasGPUDevice *device,
3007
+ const char *format,
3008
+ uint32_t quality);
3009
+
3010
+ char *canvas_native_webgpu_to_data_url_with_texture(const struct CanvasGPUCanvasContext *context,
3011
+ const struct CanvasGPUDevice *device,
3012
+ const struct CanvasGPUTexture *texture,
3013
+ const char *format,
3014
+ uint32_t quality);
3015
+
3005
3016
  #if defined(TARGET_OS_ANDROID)
3006
3017
  const struct CanvasGPUCanvasContext *canvas_native_webgpu_context_create(struct CanvasWebGPUInstance *instance,
3007
3018
  void *window,
@@ -3806,6 +3806,41 @@
3806
3806
  }
3807
3807
  ]
3808
3808
  },
3809
+ {
3810
+ "kind": "Function",
3811
+ "name": "toDataURL",
3812
+ "printedName": "toDataURL(_:_:)",
3813
+ "children": [
3814
+ {
3815
+ "kind": "TypeNominal",
3816
+ "name": "String",
3817
+ "printedName": "Swift.String",
3818
+ "usr": "s:SS"
3819
+ },
3820
+ {
3821
+ "kind": "TypeNominal",
3822
+ "name": "String",
3823
+ "printedName": "Swift.String",
3824
+ "usr": "s:SS"
3825
+ },
3826
+ {
3827
+ "kind": "TypeNominal",
3828
+ "name": "Float",
3829
+ "printedName": "Swift.Float",
3830
+ "usr": "s:Sf"
3831
+ }
3832
+ ],
3833
+ "declKind": "Func",
3834
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)toDataURL::",
3835
+ "mangledName": "$s12CanvasNative9NSCCanvasC9toDataURLyS2S_SftF",
3836
+ "moduleName": "CanvasNative",
3837
+ "declAttributes": [
3838
+ "Custom",
3839
+ "AccessControl",
3840
+ "ObjC"
3841
+ ],
3842
+ "funcSelfKind": "NonMutating"
3843
+ },
3809
3844
  {
3810
3845
  "kind": "Function",
3811
3846
  "name": "initContext",
@@ -7780,98 +7815,98 @@
7780
7815
  {
7781
7816
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7782
7817
  "kind": "BooleanLiteral",
7783
- "offset": 4357,
7818
+ "offset": 5851,
7784
7819
  "length": 4,
7785
7820
  "value": "true"
7786
7821
  },
7787
7822
  {
7788
7823
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7789
7824
  "kind": "BooleanLiteral",
7790
- "offset": 4391,
7825
+ "offset": 5885,
7791
7826
  "length": 4,
7792
7827
  "value": "true"
7793
7828
  },
7794
7829
  {
7795
7830
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7796
7831
  "kind": "BooleanLiteral",
7797
- "offset": 4421,
7832
+ "offset": 5915,
7798
7833
  "length": 4,
7799
7834
  "value": "true"
7800
7835
  },
7801
7836
  {
7802
7837
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7803
7838
  "kind": "BooleanLiteral",
7804
- "offset": 4474,
7839
+ "offset": 5968,
7805
7840
  "length": 5,
7806
7841
  "value": "false"
7807
7842
  },
7808
7843
  {
7809
7844
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7810
7845
  "kind": "IntegerLiteral",
7811
- "offset": 4516,
7846
+ "offset": 6010,
7812
7847
  "length": 1,
7813
7848
  "value": "0"
7814
7849
  },
7815
7850
  {
7816
7851
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7817
7852
  "kind": "BooleanLiteral",
7818
- "offset": 4556,
7853
+ "offset": 6050,
7819
7854
  "length": 4,
7820
7855
  "value": "true"
7821
7856
  },
7822
7857
  {
7823
7858
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7824
7859
  "kind": "BooleanLiteral",
7825
- "offset": 4602,
7860
+ "offset": 6096,
7826
7861
  "length": 5,
7827
7862
  "value": "false"
7828
7863
  },
7829
7864
  {
7830
7865
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7831
7866
  "kind": "BooleanLiteral",
7832
- "offset": 4635,
7867
+ "offset": 6129,
7833
7868
  "length": 5,
7834
7869
  "value": "false"
7835
7870
  },
7836
7871
  {
7837
7872
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7838
7873
  "kind": "BooleanLiteral",
7839
- "offset": 4675,
7874
+ "offset": 6169,
7840
7875
  "length": 5,
7841
7876
  "value": "false"
7842
7877
  },
7843
7878
  {
7844
7879
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7845
7880
  "kind": "BooleanLiteral",
7846
- "offset": 4713,
7881
+ "offset": 6207,
7847
7882
  "length": 5,
7848
7883
  "value": "false"
7849
7884
  },
7850
7885
  {
7851
7886
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7852
7887
  "kind": "BooleanLiteral",
7853
- "offset": 13992,
7888
+ "offset": 15486,
7854
7889
  "length": 5,
7855
7890
  "value": "false"
7856
7891
  },
7857
7892
  {
7858
7893
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7859
7894
  "kind": "BooleanLiteral",
7860
- "offset": 14427,
7895
+ "offset": 15921,
7861
7896
  "length": 5,
7862
7897
  "value": "false"
7863
7898
  },
7864
7899
  {
7865
7900
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7866
7901
  "kind": "IntegerLiteral",
7867
- "offset": 14478,
7902
+ "offset": 15972,
7868
7903
  "length": 3,
7869
7904
  "value": "300"
7870
7905
  },
7871
7906
  {
7872
7907
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7873
7908
  "kind": "IntegerLiteral",
7874
- "offset": 14652,
7909
+ "offset": 16146,
7875
7910
  "length": 3,
7876
7911
  "value": "150"
7877
7912
  },
@@ -140,6 +140,7 @@ import _SwiftConcurrencyShims
140
140
  @objc @_Concurrency.MainActor(unsafe) public var height: Swift.Float {
141
141
  @objc get
142
142
  }
143
+ @objc @_Concurrency.MainActor(unsafe) public func toDataURL(_ format: Swift.String, _ quality: Swift.Float) -> Swift.String
143
144
  @objc @_Concurrency.MainActor(unsafe) public func initContext(_ type: Swift.String, _ alpha: Swift.Bool = true, _ antialias: Swift.Bool = true, _ depth: Swift.Bool = true, _ failIfMajorPerformanceCaveat: Swift.Bool = false, _ powerPreference: Swift.Int32 = 0, _ premultipliedAlpha: Swift.Bool = true, _ preserveDrawingBuffer: Swift.Bool = false, _ stencil: Swift.Bool = false, _ desynchronized: Swift.Bool = false, _ xrCompatible: Swift.Bool = false)
144
145
  @objc @_Concurrency.MainActor(unsafe) public func initWebGPUContext(_ instance: Swift.Int64)
145
146
  @objc @_Concurrency.MainActor(unsafe) public func create2DContext(_ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ failIfMajorPerformanceCaveat: Swift.Bool, _ powerPreference: Swift.Int32, _ premultipliedAlpha: Swift.Bool, _ preserveDrawingBuffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xrCompatible: Swift.Bool, _ fontColor: Swift.Int32) -> Swift.Int64
@@ -140,6 +140,7 @@ import _SwiftConcurrencyShims
140
140
  @objc @_Concurrency.MainActor(unsafe) public var height: Swift.Float {
141
141
  @objc get
142
142
  }
143
+ @objc @_Concurrency.MainActor(unsafe) public func toDataURL(_ format: Swift.String, _ quality: Swift.Float) -> Swift.String
143
144
  @objc @_Concurrency.MainActor(unsafe) public func initContext(_ type: Swift.String, _ alpha: Swift.Bool = true, _ antialias: Swift.Bool = true, _ depth: Swift.Bool = true, _ failIfMajorPerformanceCaveat: Swift.Bool = false, _ powerPreference: Swift.Int32 = 0, _ premultipliedAlpha: Swift.Bool = true, _ preserveDrawingBuffer: Swift.Bool = false, _ stencil: Swift.Bool = false, _ desynchronized: Swift.Bool = false, _ xrCompatible: Swift.Bool = false)
144
145
  @objc @_Concurrency.MainActor(unsafe) public func initWebGPUContext(_ instance: Swift.Int64)
145
146
  @objc @_Concurrency.MainActor(unsafe) public func create2DContext(_ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ failIfMajorPerformanceCaveat: Swift.Bool, _ powerPreference: Swift.Int32, _ premultipliedAlpha: Swift.Bool, _ preserveDrawingBuffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xrCompatible: Swift.Bool, _ fontColor: Swift.Int32) -> Swift.Int64
@@ -3806,6 +3806,41 @@
3806
3806
  }
3807
3807
  ]
3808
3808
  },
3809
+ {
3810
+ "kind": "Function",
3811
+ "name": "toDataURL",
3812
+ "printedName": "toDataURL(_:_:)",
3813
+ "children": [
3814
+ {
3815
+ "kind": "TypeNominal",
3816
+ "name": "String",
3817
+ "printedName": "Swift.String",
3818
+ "usr": "s:SS"
3819
+ },
3820
+ {
3821
+ "kind": "TypeNominal",
3822
+ "name": "String",
3823
+ "printedName": "Swift.String",
3824
+ "usr": "s:SS"
3825
+ },
3826
+ {
3827
+ "kind": "TypeNominal",
3828
+ "name": "Float",
3829
+ "printedName": "Swift.Float",
3830
+ "usr": "s:Sf"
3831
+ }
3832
+ ],
3833
+ "declKind": "Func",
3834
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)toDataURL::",
3835
+ "mangledName": "$s12CanvasNative9NSCCanvasC9toDataURLyS2S_SftF",
3836
+ "moduleName": "CanvasNative",
3837
+ "declAttributes": [
3838
+ "Custom",
3839
+ "AccessControl",
3840
+ "ObjC"
3841
+ ],
3842
+ "funcSelfKind": "NonMutating"
3843
+ },
3809
3844
  {
3810
3845
  "kind": "Function",
3811
3846
  "name": "initContext",
@@ -7780,98 +7815,98 @@
7780
7815
  {
7781
7816
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7782
7817
  "kind": "BooleanLiteral",
7783
- "offset": 4357,
7818
+ "offset": 5851,
7784
7819
  "length": 4,
7785
7820
  "value": "true"
7786
7821
  },
7787
7822
  {
7788
7823
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7789
7824
  "kind": "BooleanLiteral",
7790
- "offset": 4391,
7825
+ "offset": 5885,
7791
7826
  "length": 4,
7792
7827
  "value": "true"
7793
7828
  },
7794
7829
  {
7795
7830
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7796
7831
  "kind": "BooleanLiteral",
7797
- "offset": 4421,
7832
+ "offset": 5915,
7798
7833
  "length": 4,
7799
7834
  "value": "true"
7800
7835
  },
7801
7836
  {
7802
7837
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7803
7838
  "kind": "BooleanLiteral",
7804
- "offset": 4474,
7839
+ "offset": 5968,
7805
7840
  "length": 5,
7806
7841
  "value": "false"
7807
7842
  },
7808
7843
  {
7809
7844
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7810
7845
  "kind": "IntegerLiteral",
7811
- "offset": 4516,
7846
+ "offset": 6010,
7812
7847
  "length": 1,
7813
7848
  "value": "0"
7814
7849
  },
7815
7850
  {
7816
7851
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7817
7852
  "kind": "BooleanLiteral",
7818
- "offset": 4556,
7853
+ "offset": 6050,
7819
7854
  "length": 4,
7820
7855
  "value": "true"
7821
7856
  },
7822
7857
  {
7823
7858
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7824
7859
  "kind": "BooleanLiteral",
7825
- "offset": 4602,
7860
+ "offset": 6096,
7826
7861
  "length": 5,
7827
7862
  "value": "false"
7828
7863
  },
7829
7864
  {
7830
7865
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7831
7866
  "kind": "BooleanLiteral",
7832
- "offset": 4635,
7867
+ "offset": 6129,
7833
7868
  "length": 5,
7834
7869
  "value": "false"
7835
7870
  },
7836
7871
  {
7837
7872
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7838
7873
  "kind": "BooleanLiteral",
7839
- "offset": 4675,
7874
+ "offset": 6169,
7840
7875
  "length": 5,
7841
7876
  "value": "false"
7842
7877
  },
7843
7878
  {
7844
7879
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7845
7880
  "kind": "BooleanLiteral",
7846
- "offset": 4713,
7881
+ "offset": 6207,
7847
7882
  "length": 5,
7848
7883
  "value": "false"
7849
7884
  },
7850
7885
  {
7851
7886
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7852
7887
  "kind": "BooleanLiteral",
7853
- "offset": 13992,
7888
+ "offset": 15486,
7854
7889
  "length": 5,
7855
7890
  "value": "false"
7856
7891
  },
7857
7892
  {
7858
7893
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7859
7894
  "kind": "BooleanLiteral",
7860
- "offset": 14427,
7895
+ "offset": 15921,
7861
7896
  "length": 5,
7862
7897
  "value": "false"
7863
7898
  },
7864
7899
  {
7865
7900
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7866
7901
  "kind": "IntegerLiteral",
7867
- "offset": 14478,
7902
+ "offset": 15972,
7868
7903
  "length": 3,
7869
7904
  "value": "300"
7870
7905
  },
7871
7906
  {
7872
7907
  "filePath": "\/Users\/triniwiz\/Documents\/GitHub\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
7873
7908
  "kind": "IntegerLiteral",
7874
- "offset": 14652,
7909
+ "offset": 16146,
7875
7910
  "length": 3,
7876
7911
  "value": "150"
7877
7912
  },
@@ -140,6 +140,7 @@ import _SwiftConcurrencyShims
140
140
  @objc @_Concurrency.MainActor(unsafe) public var height: Swift.Float {
141
141
  @objc get
142
142
  }
143
+ @objc @_Concurrency.MainActor(unsafe) public func toDataURL(_ format: Swift.String, _ quality: Swift.Float) -> Swift.String
143
144
  @objc @_Concurrency.MainActor(unsafe) public func initContext(_ type: Swift.String, _ alpha: Swift.Bool = true, _ antialias: Swift.Bool = true, _ depth: Swift.Bool = true, _ failIfMajorPerformanceCaveat: Swift.Bool = false, _ powerPreference: Swift.Int32 = 0, _ premultipliedAlpha: Swift.Bool = true, _ preserveDrawingBuffer: Swift.Bool = false, _ stencil: Swift.Bool = false, _ desynchronized: Swift.Bool = false, _ xrCompatible: Swift.Bool = false)
144
145
  @objc @_Concurrency.MainActor(unsafe) public func initWebGPUContext(_ instance: Swift.Int64)
145
146
  @objc @_Concurrency.MainActor(unsafe) public func create2DContext(_ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ failIfMajorPerformanceCaveat: Swift.Bool, _ powerPreference: Swift.Int32, _ premultipliedAlpha: Swift.Bool, _ preserveDrawingBuffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xrCompatible: Swift.Bool, _ fontColor: Swift.Int32) -> Swift.Int64
@@ -140,6 +140,7 @@ import _SwiftConcurrencyShims
140
140
  @objc @_Concurrency.MainActor(unsafe) public var height: Swift.Float {
141
141
  @objc get
142
142
  }
143
+ @objc @_Concurrency.MainActor(unsafe) public func toDataURL(_ format: Swift.String, _ quality: Swift.Float) -> Swift.String
143
144
  @objc @_Concurrency.MainActor(unsafe) public func initContext(_ type: Swift.String, _ alpha: Swift.Bool = true, _ antialias: Swift.Bool = true, _ depth: Swift.Bool = true, _ failIfMajorPerformanceCaveat: Swift.Bool = false, _ powerPreference: Swift.Int32 = 0, _ premultipliedAlpha: Swift.Bool = true, _ preserveDrawingBuffer: Swift.Bool = false, _ stencil: Swift.Bool = false, _ desynchronized: Swift.Bool = false, _ xrCompatible: Swift.Bool = false)
144
145
  @objc @_Concurrency.MainActor(unsafe) public func initWebGPUContext(_ instance: Swift.Int64)
145
146
  @objc @_Concurrency.MainActor(unsafe) public func create2DContext(_ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ failIfMajorPerformanceCaveat: Swift.Bool, _ powerPreference: Swift.Int32, _ premultipliedAlpha: Swift.Bool, _ preserveDrawingBuffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xrCompatible: Swift.Bool, _ fontColor: Swift.Int32) -> Swift.Int64
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Headers/CanvasNative-Swift.h</key>
8
8
  <data>
9
- K14fPZMMQ3tCzmNYofjGqPD2P/A=
9
+ Pg8+kSgjauRs9rTbQFUnoqI6y3Y=
10
10
  </data>
11
11
  <key>Headers/CanvasNative.h</key>
12
12
  <data>
@@ -22,7 +22,7 @@
22
22
  </data>
23
23
  <key>Headers/canvas_native.h</key>
24
24
  <data>
25
- UO/9LNSxjs4l9FczlMGCHdM1tWE=
25
+ Tm0kXqE68M/l16fj5h4b1a5Rqco=
26
26
  </data>
27
27
  <key>Info.plist</key>
28
28
  <data>
@@ -30,19 +30,19 @@
30
30
  </data>
31
31
  <key>Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
32
32
  <data>
33
- NOr2zR1jdXrMfNvkAuhCqfbNiqA=
33
+ 0eSZ7sQtmt/rPUsvCTWEeU4AwPA=
34
34
  </data>
35
35
  <key>Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
36
36
  <data>
37
- Qyz85qoEm6DQA4wD6zfycTi+5Vg=
37
+ NCS5+sC/vE6z354LrF6GZQe4VOQ=
38
38
  </data>
39
39
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
40
40
  <data>
41
- Zops/YMpubvTf1Fil5CWCtO5WYY=
41
+ VVw1EfNyfOHjUMk1QF9W+RSbpg0=
42
42
  </data>
43
43
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
44
44
  <data>
45
- 2ny+1h1zFdKrnKg6cLTjXppJRIc=
45
+ tJ7pZoBgENBwpc0Nq38LJyKrLck=
46
46
  </data>
47
47
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
48
48
  <data>
@@ -50,19 +50,19 @@
50
50
  </data>
51
51
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
52
52
  <data>
53
- 2ny+1h1zFdKrnKg6cLTjXppJRIc=
53
+ tJ7pZoBgENBwpc0Nq38LJyKrLck=
54
54
  </data>
55
55
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
56
56
  <data>
57
- TWR9LuVFB0OzGlp5flwbsKjYP3E=
57
+ 52D6AD6oCYGoTY1ltUZ7BwbF5Ig=
58
58
  </data>
59
59
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
60
60
  <data>
61
- Zops/YMpubvTf1Fil5CWCtO5WYY=
61
+ VVw1EfNyfOHjUMk1QF9W+RSbpg0=
62
62
  </data>
63
63
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
64
64
  <data>
65
- cybn5Rk+IkoxWL9+NeUY2PrsiCg=
65
+ X4/KT4CAxt2Z9T+Lh7+LwxifA/A=
66
66
  </data>
67
67
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
68
68
  <data>
@@ -70,11 +70,11 @@
70
70
  </data>
71
71
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
72
72
  <data>
73
- cybn5Rk+IkoxWL9+NeUY2PrsiCg=
73
+ X4/KT4CAxt2Z9T+Lh7+LwxifA/A=
74
74
  </data>
75
75
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
76
76
  <data>
77
- +hjVZl1Gz7TWBfPHqW77UoPhi4c=
77
+ Z0yEljEXwztwBlfmDAp2idwV8mo=
78
78
  </data>
79
79
  <key>Modules/module.modulemap</key>
80
80
  <data>
@@ -91,7 +91,7 @@
91
91
  <dict>
92
92
  <key>hash2</key>
93
93
  <data>
94
- WNfDDJ4zt9ASNpm597I9kg4fLgXWUHweF0TqAlWYCrw=
94
+ XZoS+6hA32mCd7FQDSIyEBMqfILbicMkosutFdOZubI=
95
95
  </data>
96
96
  </dict>
97
97
  <key>Headers/CanvasNative.h</key>
@@ -119,35 +119,35 @@
119
119
  <dict>
120
120
  <key>hash2</key>
121
121
  <data>
122
- FgmwPMVlnKBtJmgB66v+2lKSiW43VKLgijsyKLQviJw=
122
+ pCw6vlyZloCJiuTQq8HMdXvrrxAIF72qZ+UKgMjS95c=
123
123
  </data>
124
124
  </dict>
125
125
  <key>Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
126
126
  <dict>
127
127
  <key>hash2</key>
128
128
  <data>
129
- AeM8sAzXGI38+0dLLN88GbqTke0gqylZC65G6U4VsVE=
129
+ //XlQY+TXqpR1NDHlARF/kJNXu/8mYvHXEOrFHl0lBs=
130
130
  </data>
131
131
  </dict>
132
132
  <key>Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
133
133
  <dict>
134
134
  <key>hash2</key>
135
135
  <data>
136
- gg8S2klY20qRNb6agokKzWdNb1Vku5ezRaPadIVjXcI=
136
+ 2qbxdotKoK6dwNual3+oP3CBDmKh1StanxKfZSw/pZ4=
137
137
  </data>
138
138
  </dict>
139
139
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
140
140
  <dict>
141
141
  <key>hash2</key>
142
142
  <data>
143
- C0aY+O4oiJ0HmbcPpJu9+Q5ePar9ySMyoRc9qy/1beI=
143
+ a669PLetgsvr/OUKdlMK8i/17XQSPP6HZofOmHAvmcY=
144
144
  </data>
145
145
  </dict>
146
146
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
147
147
  <dict>
148
148
  <key>hash2</key>
149
149
  <data>
150
- 2fHCspZjtoiwoNu2Oyhos0HQVzI1zsvB9WNkOqL13x8=
150
+ 2a1RHN6rMA/Eg0D7hyobP6mRIy105gLDZszT1T0M/VQ=
151
151
  </data>
152
152
  </dict>
153
153
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
@@ -161,28 +161,28 @@
161
161
  <dict>
162
162
  <key>hash2</key>
163
163
  <data>
164
- 2fHCspZjtoiwoNu2Oyhos0HQVzI1zsvB9WNkOqL13x8=
164
+ 2a1RHN6rMA/Eg0D7hyobP6mRIy105gLDZszT1T0M/VQ=
165
165
  </data>
166
166
  </dict>
167
167
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
168
168
  <dict>
169
169
  <key>hash2</key>
170
170
  <data>
171
- RL0XaqTU31XrMDtLv6K3hindWgGXxjYlXKUz9dfyfIc=
171
+ PODBqOgOG4P3Q5ocjup8ryxTyHsWWTLUaYr4bK7XGZk=
172
172
  </data>
173
173
  </dict>
174
174
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
175
175
  <dict>
176
176
  <key>hash2</key>
177
177
  <data>
178
- C0aY+O4oiJ0HmbcPpJu9+Q5ePar9ySMyoRc9qy/1beI=
178
+ a669PLetgsvr/OUKdlMK8i/17XQSPP6HZofOmHAvmcY=
179
179
  </data>
180
180
  </dict>
181
181
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
182
182
  <dict>
183
183
  <key>hash2</key>
184
184
  <data>
185
- hJKdLyoIRpWzW+FK/Sr/kArRyEVUYpIkKeqrJhEjeik=
185
+ qC6IS3UMY/krAXeo/AjDch2f78FjGv0J1B2e8ijrW58=
186
186
  </data>
187
187
  </dict>
188
188
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
@@ -196,14 +196,14 @@
196
196
  <dict>
197
197
  <key>hash2</key>
198
198
  <data>
199
- hJKdLyoIRpWzW+FK/Sr/kArRyEVUYpIkKeqrJhEjeik=
199
+ qC6IS3UMY/krAXeo/AjDch2f78FjGv0J1B2e8ijrW58=
200
200
  </data>
201
201
  </dict>
202
202
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
203
203
  <dict>
204
204
  <key>hash2</key>
205
205
  <data>
206
- e8DA0zSwEtIKIT1icAz2zX1Q9a5CH6g0hGr2vIXAUv0=
206
+ RoZ5YIX0H4IwBtUOkXDCn4BnN9qaoNX+cPWXc9cI3nA=
207
207
  </data>
208
208
  </dict>
209
209
  <key>Modules/module.modulemap</key>