@nativescript/canvas 2.0.0-webgpu.34 → 2.0.0-webgpu.36

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 (69) hide show
  1. package/Canvas/common.d.ts +1 -1
  2. package/Canvas/common.js +24 -18
  3. package/Canvas/common.js.map +1 -1
  4. package/Canvas/index.android.js.map +1 -1
  5. package/Canvas/index.ios.d.ts +7 -1
  6. package/Canvas/index.ios.js +57 -17
  7. package/Canvas/index.ios.js.map +1 -1
  8. package/Canvas2D/CanvasRenderingContext2D/index.d.ts +2 -1
  9. package/Canvas2D/CanvasRenderingContext2D/index.js +1 -4
  10. package/Canvas2D/CanvasRenderingContext2D/index.js.map +1 -1
  11. package/ImageAsset/index.d.ts +4 -2
  12. package/ImageAsset/index.js +76 -6
  13. package/ImageAsset/index.js.map +1 -1
  14. package/WebGL/WebGLRenderingContext/common.d.ts +1 -1
  15. package/WebGL/WebGLRenderingContext/index.js +5 -4
  16. package/WebGL/WebGLRenderingContext/index.js.map +1 -1
  17. package/WebGL2/WebGL2RenderingContext/index.js +1 -1
  18. package/WebGL2/WebGL2RenderingContext/index.js.map +1 -1
  19. package/WebGPU/GPUCanvasContext.d.ts +2 -1
  20. package/WebGPU/GPUCanvasContext.js.map +1 -1
  21. package/WebGPU/GPUQueue.js +9 -0
  22. package/WebGPU/GPUQueue.js.map +1 -1
  23. package/WebGPU/GPURenderPassEncoder.d.ts +3 -0
  24. package/WebGPU/GPURenderPassEncoder.js +9 -0
  25. package/WebGPU/GPURenderPassEncoder.js.map +1 -1
  26. package/angular/esm2022/index.mjs +4 -4
  27. package/angular/fesm2022/nativescript-canvas-angular.mjs +4 -4
  28. package/angular/fesm2022/nativescript-canvas-angular.mjs.map +1 -1
  29. package/common.js.map +1 -1
  30. package/index.d.ts +2 -1
  31. package/index.js +2 -1
  32. package/index.js.map +1 -1
  33. package/package.json +1 -1
  34. package/platforms/android/canvas-release.aar +0 -0
  35. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  36. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +1 -0
  37. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +85 -0
  38. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  39. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +109 -18
  40. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +4 -0
  41. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +4 -0
  42. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  43. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +681 -675
  44. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  45. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +2 -0
  46. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +85 -0
  47. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  48. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  49. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +109 -18
  50. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +4 -0
  51. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
  52. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +109 -18
  53. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +4 -0
  54. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +4 -0
  55. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +24 -24
  56. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  57. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +683 -677
  58. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/x86_64/CanvasNative.yml +736 -730
  59. package/platforms/ios/src/cpp/CanvasJSIModule.cpp +140 -12
  60. package/platforms/ios/src/cpp/CanvasJSIModule.h +2 -0
  61. package/platforms/ios/src/cpp/ImageAssetImpl.cpp +572 -397
  62. package/platforms/ios/src/cpp/ImageAssetImpl.h +4 -0
  63. package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.cpp +1 -1
  64. package/platforms/ios/src/cpp/webgpu/GPUComputePassEncoderImpl.cpp +42 -37
  65. package/platforms/ios/src/cpp/webgpu/GPUQueueImpl.cpp +40 -8
  66. package/platforms/ios/src/cpp/webgpu/GPURenderBundleEncoderImpl.cpp +26 -23
  67. package/platforms/ios/src/cpp/webgpu/GPURenderPassEncoderImpl.cpp +93 -23
  68. package/platforms/ios/src/cpp/webgpu/GPURenderPassEncoderImpl.h +4 -0
  69. package/utils.d.ts +1 -1
@@ -384,6 +384,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL forceGL;)
384
384
  + (BOOL)forceGL SWIFT_WARN_UNUSED_RESULT;
385
385
  + (void)setForceGL:(BOOL)value;
386
386
  @property (nonatomic) enum CanvasFit fit;
387
+ @property (nonatomic) BOOL weblikeScale;
387
388
  SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSMutableDictionary * _Nonnull store;)
388
389
  + (NSMutableDictionary * _Nonnull)store SWIFT_WARN_UNUSED_RESULT;
389
390
  + (NSMapTable<NSString *, NSCCanvas *> * _Nonnull)getViews SWIFT_WARN_UNUSED_RESULT;
@@ -911,6 +912,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL forceGL;)
911
912
  + (BOOL)forceGL SWIFT_WARN_UNUSED_RESULT;
912
913
  + (void)setForceGL:(BOOL)value;
913
914
  @property (nonatomic) enum CanvasFit fit;
915
+ @property (nonatomic) BOOL weblikeScale;
914
916
  SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSMutableDictionary * _Nonnull store;)
915
917
  + (NSMutableDictionary * _Nonnull)store SWIFT_WARN_UNUSED_RESULT;
916
918
  + (NSMapTable<NSString *, NSCCanvas *> * _Nonnull)getViews SWIFT_WARN_UNUSED_RESULT;
@@ -1770,6 +1770,52 @@ typedef struct CanvasOrigin2d {
1770
1770
  uint32_t y;
1771
1771
  } CanvasOrigin2d;
1772
1772
 
1773
+ typedef struct CanvasImageCopyWebGL {
1774
+ /**
1775
+ * The texture to be copied from. The copy source data is captured at the moment
1776
+ * the copy is issued.
1777
+ */
1778
+ const struct WebGLState *source;
1779
+ /**
1780
+ * The base texel used for copying from the external image. Together
1781
+ * with the `copy_size` argument to copy functions, defines the
1782
+ * sub-region of the image to copy.
1783
+ *
1784
+ * Relative to the top left of the image.
1785
+ *
1786
+ * Must be [`Origin2d::ZERO`] if [`DownlevelFlags::UNRESTRICTED_EXTERNAL_TEXTURE_COPIES`] is not supported.
1787
+ */
1788
+ struct CanvasOrigin2d origin;
1789
+ /**
1790
+ * If the Y coordinate of the image should be flipped. Even if this is
1791
+ * true, `origin` is still relative to the top left.
1792
+ */
1793
+ bool flip_y;
1794
+ } CanvasImageCopyWebGL;
1795
+
1796
+ typedef struct CanvasImageCopyCanvasRenderingContext2D {
1797
+ /**
1798
+ * The texture to be copied from. The copy source data is captured at the moment
1799
+ * the copy is issued.
1800
+ */
1801
+ const struct CanvasRenderingContext2D *source;
1802
+ /**
1803
+ * The base texel used for copying from the external image. Together
1804
+ * with the `copy_size` argument to copy functions, defines the
1805
+ * sub-region of the image to copy.
1806
+ *
1807
+ * Relative to the top left of the image.
1808
+ *
1809
+ * Must be [`Origin2d::ZERO`] if [`DownlevelFlags::UNRESTRICTED_EXTERNAL_TEXTURE_COPIES`] is not supported.
1810
+ */
1811
+ struct CanvasOrigin2d origin;
1812
+ /**
1813
+ * If the Y coordinate of the image should be flipped. Even if this is
1814
+ * true, `origin` is still relative to the top left.
1815
+ */
1816
+ bool flip_y;
1817
+ } CanvasImageCopyCanvasRenderingContext2D;
1818
+
1773
1819
  typedef struct CanvasImageCopyImageAsset {
1774
1820
  /**
1775
1821
  * The texture to be copied from. The copy source data is captured at the moment
@@ -1840,6 +1886,11 @@ typedef struct CanvasCreateTextureViewDescriptor {
1840
1886
  const struct CanvasImageSubresourceRange *range;
1841
1887
  } CanvasCreateTextureViewDescriptor;
1842
1888
 
1889
+ typedef struct FileHelperMime {
1890
+ const char *mime_type;
1891
+ const char *extension;
1892
+ } FileHelperMime;
1893
+
1843
1894
  void canvas_native_font_add_family(const char *alias,
1844
1895
  const char *const *filenames,
1845
1896
  uintptr_t length);
@@ -3274,6 +3325,16 @@ void canvas_native_webgpu_queue_reference(const struct CanvasGPUQueue *queue);
3274
3325
 
3275
3326
  void canvas_native_webgpu_queue_release(const struct CanvasGPUQueue *queue);
3276
3327
 
3328
+ void canvas_native_webgpu_queue_copy_webgl_to_texture(const struct CanvasGPUQueue *queue,
3329
+ const struct CanvasImageCopyWebGL *source,
3330
+ const struct CanvasImageCopyTexture *destination,
3331
+ const struct CanvasExtent3d *size);
3332
+
3333
+ void canvas_native_webgpu_queue_copy_context_to_texture(const struct CanvasGPUQueue *queue,
3334
+ const struct CanvasImageCopyCanvasRenderingContext2D *source,
3335
+ const struct CanvasImageCopyTexture *destination,
3336
+ const struct CanvasExtent3d *size);
3337
+
3277
3338
  void canvas_native_webgpu_queue_copy_image_asset_to_texture(const struct CanvasGPUQueue *queue,
3278
3339
  const struct CanvasImageCopyImageAsset *source,
3279
3340
  const struct CanvasImageCopyTexture *destination,
@@ -3396,10 +3457,20 @@ void canvas_native_webgpu_render_pass_encoder_draw_indexed_indirect(const struct
3396
3457
  const struct CanvasGPUBuffer *indirect_buffer,
3397
3458
  uint64_t indirect_offset);
3398
3459
 
3460
+ void canvas_native_webgpu_render_pass_encoder_multi_draw_indexed_indirect(const struct CanvasGPURenderPassEncoder *render_pass,
3461
+ const struct CanvasGPUBuffer *indirect_buffer,
3462
+ uint64_t indirect_offset,
3463
+ uint32_t count);
3464
+
3399
3465
  void canvas_native_webgpu_render_pass_encoder_draw_indirect(const struct CanvasGPURenderPassEncoder *render_pass,
3400
3466
  const struct CanvasGPUBuffer *indirect_buffer,
3401
3467
  uint64_t indirect_offset);
3402
3468
 
3469
+ void canvas_native_webgpu_render_pass_encoder_multi_draw_indirect(const struct CanvasGPURenderPassEncoder *render_pass,
3470
+ const struct CanvasGPUBuffer *indirect_buffer,
3471
+ uint64_t indirect_offset,
3472
+ uint32_t count);
3473
+
3403
3474
  void canvas_native_webgpu_render_pass_encoder_end(const struct CanvasGPURenderPassEncoder *render_pass);
3404
3475
 
3405
3476
  void canvas_native_webgpu_render_pass_encoder_end_occlusion_query(const struct CanvasGPURenderPassEncoder *render_pass);
@@ -3573,10 +3644,18 @@ char *canvas_native_string_buffer_get_value_at(const struct StringBuffer *buffer
3573
3644
 
3574
3645
  void canvas_native_string_buffer_release(struct StringBuffer *buffer);
3575
3646
 
3647
+ struct FileHelperMime *canvas_native_helper_get_mime(const uint8_t *data, uintptr_t size);
3648
+
3649
+ void canvas_native_helper_release_mime(struct FileHelperMime *mime);
3650
+
3576
3651
  void canvas_native_helper_release(struct FileHelper *value);
3577
3652
 
3578
3653
  struct FileHelper *canvas_native_helper_read_file(const char *path);
3579
3654
 
3655
+ char *canvas_native_helper_read_file_get_mime(struct FileHelper *file);
3656
+
3657
+ char *canvas_native_helper_read_file_get_extension(struct FileHelper *file);
3658
+
3580
3659
  bool canvas_native_helper_read_file_has_error(const struct FileHelper *file);
3581
3660
 
3582
3661
  struct U8Buffer *canvas_native_helper_read_file_get_data(struct FileHelper *file);
@@ -3600,9 +3679,15 @@ bool canvas_native_image_asset_load_from_fd(const struct ImageAsset *asset, int
3600
3679
  bool canvas_native_image_asset_load_from_path(const struct ImageAsset *asset, const char *path);
3601
3680
 
3602
3681
  bool canvas_native_image_asset_load_from_raw(const struct ImageAsset *asset,
3682
+ uint32_t width,
3683
+ uint32_t height,
3603
3684
  const uint8_t *array,
3604
3685
  uintptr_t size);
3605
3686
 
3687
+ bool canvas_native_image_asset_load_from_raw_encoded(const struct ImageAsset *asset,
3688
+ const uint8_t *array,
3689
+ uintptr_t size);
3690
+
3606
3691
  bool canvas_native_image_asset_load_from_url(const struct ImageAsset *asset, const char *url);
3607
3692
 
3608
3693
  int64_t canvas_native_image_asset_addr(const struct ImageAsset *asset);
@@ -2943,6 +2943,90 @@
2943
2943
  }
2944
2944
  ]
2945
2945
  },
2946
+ {
2947
+ "kind": "Var",
2948
+ "name": "weblikeScale",
2949
+ "printedName": "weblikeScale",
2950
+ "children": [
2951
+ {
2952
+ "kind": "TypeNominal",
2953
+ "name": "Bool",
2954
+ "printedName": "Swift.Bool",
2955
+ "usr": "s:Sb"
2956
+ }
2957
+ ],
2958
+ "declKind": "Var",
2959
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(py)weblikeScale",
2960
+ "mangledName": "$s12CanvasNative9NSCCanvasC12weblikeScaleSbvp",
2961
+ "moduleName": "CanvasNative",
2962
+ "declAttributes": ["HasInitialValue", "HasStorage", "Custom", "AccessControl", "ObjC"],
2963
+ "hasStorage": true,
2964
+ "accessors": [
2965
+ {
2966
+ "kind": "Accessor",
2967
+ "name": "Get",
2968
+ "printedName": "Get()",
2969
+ "children": [
2970
+ {
2971
+ "kind": "TypeNominal",
2972
+ "name": "Bool",
2973
+ "printedName": "Swift.Bool",
2974
+ "usr": "s:Sb"
2975
+ }
2976
+ ],
2977
+ "declKind": "Accessor",
2978
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)weblikeScale",
2979
+ "mangledName": "$s12CanvasNative9NSCCanvasC12weblikeScaleSbvg",
2980
+ "moduleName": "CanvasNative",
2981
+ "implicit": true,
2982
+ "declAttributes": ["ObjC"],
2983
+ "accessorKind": "get"
2984
+ },
2985
+ {
2986
+ "kind": "Accessor",
2987
+ "name": "Set",
2988
+ "printedName": "Set()",
2989
+ "children": [
2990
+ {
2991
+ "kind": "TypeNominal",
2992
+ "name": "Void",
2993
+ "printedName": "()"
2994
+ },
2995
+ {
2996
+ "kind": "TypeNominal",
2997
+ "name": "Bool",
2998
+ "printedName": "Swift.Bool",
2999
+ "usr": "s:Sb"
3000
+ }
3001
+ ],
3002
+ "declKind": "Accessor",
3003
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)setWeblikeScale:",
3004
+ "mangledName": "$s12CanvasNative9NSCCanvasC12weblikeScaleSbvs",
3005
+ "moduleName": "CanvasNative",
3006
+ "implicit": true,
3007
+ "declAttributes": ["ObjC"],
3008
+ "accessorKind": "set"
3009
+ },
3010
+ {
3011
+ "kind": "Accessor",
3012
+ "name": "Modify",
3013
+ "printedName": "Modify()",
3014
+ "children": [
3015
+ {
3016
+ "kind": "TypeNominal",
3017
+ "name": "Void",
3018
+ "printedName": "()"
3019
+ }
3020
+ ],
3021
+ "declKind": "Accessor",
3022
+ "usr": "s:12CanvasNative9NSCCanvasC12weblikeScaleSbvM",
3023
+ "mangledName": "$s12CanvasNative9NSCCanvasC12weblikeScaleSbvM",
3024
+ "moduleName": "CanvasNative",
3025
+ "implicit": true,
3026
+ "accessorKind": "_modify"
3027
+ }
3028
+ ]
3029
+ },
2946
3030
  {
2947
3031
  "kind": "Var",
2948
3032
  "name": "store",
@@ -6954,129 +7038,136 @@
6954
7038
  "length": 9,
6955
7039
  "value": "4"
6956
7040
  },
7041
+ {
7042
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7043
+ "kind": "BooleanLiteral",
7044
+ "offset": 1519,
7045
+ "length": 5,
7046
+ "value": "false"
7047
+ },
6957
7048
  {
6958
7049
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6959
7050
  "kind": "IntegerLiteral",
6960
- "offset": 2672,
7051
+ "offset": 2867,
6961
7052
  "length": 1,
6962
7053
  "value": "1"
6963
7054
  },
6964
7055
  {
6965
7056
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6966
7057
  "kind": "BooleanLiteral",
6967
- "offset": 2575,
7058
+ "offset": 2770,
6968
7059
  "length": 4,
6969
7060
  "value": "true"
6970
7061
  },
6971
7062
  {
6972
7063
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6973
7064
  "kind": "IntegerLiteral",
6974
- "offset": 2851,
7065
+ "offset": 3046,
6975
7066
  "length": 1,
6976
7067
  "value": "0"
6977
7068
  },
6978
7069
  {
6979
7070
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6980
7071
  "kind": "BooleanLiteral",
6981
- "offset": 2893,
7072
+ "offset": 3088,
6982
7073
  "length": 5,
6983
7074
  "value": "false"
6984
7075
  },
6985
7076
  {
6986
7077
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6987
7078
  "kind": "BooleanLiteral",
6988
- "offset": 4162,
7079
+ "offset": 4357,
6989
7080
  "length": 4,
6990
7081
  "value": "true"
6991
7082
  },
6992
7083
  {
6993
7084
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6994
7085
  "kind": "BooleanLiteral",
6995
- "offset": 4196,
7086
+ "offset": 4391,
6996
7087
  "length": 4,
6997
7088
  "value": "true"
6998
7089
  },
6999
7090
  {
7000
7091
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7001
7092
  "kind": "BooleanLiteral",
7002
- "offset": 4226,
7093
+ "offset": 4421,
7003
7094
  "length": 4,
7004
7095
  "value": "true"
7005
7096
  },
7006
7097
  {
7007
7098
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7008
7099
  "kind": "BooleanLiteral",
7009
- "offset": 4279,
7100
+ "offset": 4474,
7010
7101
  "length": 5,
7011
7102
  "value": "false"
7012
7103
  },
7013
7104
  {
7014
7105
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7015
7106
  "kind": "IntegerLiteral",
7016
- "offset": 4321,
7107
+ "offset": 4516,
7017
7108
  "length": 1,
7018
7109
  "value": "0"
7019
7110
  },
7020
7111
  {
7021
7112
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7022
7113
  "kind": "BooleanLiteral",
7023
- "offset": 4361,
7114
+ "offset": 4556,
7024
7115
  "length": 4,
7025
7116
  "value": "true"
7026
7117
  },
7027
7118
  {
7028
7119
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7029
7120
  "kind": "BooleanLiteral",
7030
- "offset": 4407,
7121
+ "offset": 4602,
7031
7122
  "length": 5,
7032
7123
  "value": "false"
7033
7124
  },
7034
7125
  {
7035
7126
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7036
7127
  "kind": "BooleanLiteral",
7037
- "offset": 4440,
7128
+ "offset": 4635,
7038
7129
  "length": 5,
7039
7130
  "value": "false"
7040
7131
  },
7041
7132
  {
7042
7133
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7043
7134
  "kind": "BooleanLiteral",
7044
- "offset": 4480,
7135
+ "offset": 4675,
7045
7136
  "length": 5,
7046
7137
  "value": "false"
7047
7138
  },
7048
7139
  {
7049
7140
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7050
7141
  "kind": "BooleanLiteral",
7051
- "offset": 4518,
7142
+ "offset": 4713,
7052
7143
  "length": 5,
7053
7144
  "value": "false"
7054
7145
  },
7055
7146
  {
7056
7147
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7057
7148
  "kind": "BooleanLiteral",
7058
- "offset": 13797,
7149
+ "offset": 13992,
7059
7150
  "length": 5,
7060
7151
  "value": "false"
7061
7152
  },
7062
7153
  {
7063
7154
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7064
7155
  "kind": "BooleanLiteral",
7065
- "offset": 14232,
7156
+ "offset": 14427,
7066
7157
  "length": 5,
7067
7158
  "value": "false"
7068
7159
  },
7069
7160
  {
7070
7161
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7071
7162
  "kind": "IntegerLiteral",
7072
- "offset": 14283,
7163
+ "offset": 14478,
7073
7164
  "length": 3,
7074
7165
  "value": "300"
7075
7166
  },
7076
7167
  {
7077
7168
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7078
7169
  "kind": "IntegerLiteral",
7079
- "offset": 14457,
7170
+ "offset": 14652,
7080
7171
  "length": 3,
7081
7172
  "value": "150"
7082
7173
  },
@@ -109,6 +109,10 @@ import _SwiftConcurrencyShims
109
109
  @objc get
110
110
  @objc set
111
111
  }
112
+ @objc @_Concurrency.MainActor(unsafe) public var weblikeScale: Swift.Bool {
113
+ @objc get
114
+ @objc set
115
+ }
112
116
  @objc @_Concurrency.MainActor(unsafe) public static let store: Foundation.NSMutableDictionary
113
117
  @objc @_Concurrency.MainActor(unsafe) public static func getViews() -> Foundation.NSMapTable<Foundation.NSString, CanvasNative.NSCCanvas>
114
118
  @objc @_Concurrency.MainActor(unsafe) public func getGlViewPtr() -> Swift.UnsafeMutableRawPointer
@@ -109,6 +109,10 @@ import _SwiftConcurrencyShims
109
109
  @objc get
110
110
  @objc set
111
111
  }
112
+ @objc @_Concurrency.MainActor(unsafe) public var weblikeScale: Swift.Bool {
113
+ @objc get
114
+ @objc set
115
+ }
112
116
  @objc @_Concurrency.MainActor(unsafe) public static let store: Foundation.NSMutableDictionary
113
117
  @objc @_Concurrency.MainActor(unsafe) public static func getViews() -> Foundation.NSMapTable<Foundation.NSString, CanvasNative.NSCCanvas>
114
118
  @objc @_Concurrency.MainActor(unsafe) public func getGlViewPtr() -> Swift.UnsafeMutableRawPointer