@nativescript/canvas 2.0.0-beta.10 → 2.0.0-beta.12

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 (57) hide show
  1. package/Canvas/common.d.ts +8 -5
  2. package/Canvas/common.js +64 -40
  3. package/Canvas/common.js.map +1 -1
  4. package/Canvas/index.android.js +33 -70
  5. package/Canvas/index.android.js.map +1 -1
  6. package/Canvas/index.ios.d.ts +1 -0
  7. package/Canvas/index.ios.js +43 -48
  8. package/Canvas/index.ios.js.map +1 -1
  9. package/Canvas2D/CanvasRenderingContext2D/index.js +1 -10
  10. package/Canvas2D/CanvasRenderingContext2D/index.js.map +1 -1
  11. package/Canvas2D/ImageData/index.js +4 -6
  12. package/Canvas2D/ImageData/index.js.map +1 -1
  13. package/WebGL/WebGLRenderingContext/index.js +43 -26
  14. package/WebGL/WebGLRenderingContext/index.js.map +1 -1
  15. package/WebGL2/WebGL2RenderingContext/index.js +0 -2
  16. package/WebGL2/WebGL2RenderingContext/index.js.map +1 -1
  17. package/package.json +1 -1
  18. package/platforms/android/canvas-release.aar +0 -0
  19. package/platforms/ios/CanvasNative.xcframework/Info.plist +5 -5
  20. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  21. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +8 -10
  22. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_ios.h +4 -4
  23. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +35 -16
  24. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Info.plist +0 -0
  25. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  26. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +286 -316
  27. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +8 -10
  28. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +8 -10
  29. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  30. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +640 -644
  31. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  32. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +16 -20
  33. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_ios.h +4 -4
  34. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +35 -16
  35. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Info.plist +0 -0
  36. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  37. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  38. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +286 -316
  39. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +8 -10
  40. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +8 -10
  41. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +286 -316
  42. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +8 -10
  43. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +8 -10
  44. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +27 -27
  45. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  46. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +661 -662
  47. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/x86_64/CanvasNative.yml +646 -641
  48. package/platforms/ios/src/cpp/CanvasJSIModule.cpp +297 -397
  49. package/platforms/ios/src/cpp/Helpers.h +3 -4
  50. package/platforms/ios/src/cpp/ImageAssetImpl.cpp +8 -27
  51. package/platforms/ios/src/cpp/ImageAssetImpl.h +3 -3
  52. package/platforms/ios/src/cpp/URLImpl.cpp +73 -0
  53. package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.cpp +4 -4
  54. package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.cpp +101 -120
  55. package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.cpp +1766 -1659
  56. package/platforms/ios/src/cpp/PerIsolateData.cpp +0 -49
  57. package/platforms/ios/src/cpp/PerIsolateData.h +0 -54
@@ -24,10 +24,10 @@ import _SwiftConcurrencyShims
24
24
  @objc public static func drawImage(context: Swift.Int64, image: UIKit.UIImage, dx: Swift.Float, dy: Swift.Float)
25
25
  @objc public static func drawImage(context: Swift.Int64, image: UIKit.UIImage, dx: Swift.Float, dy: Swift.Float, dw: Swift.Float, dh: Swift.Float)
26
26
  @objc public static func drawImage(context: Swift.Int64, image: UIKit.UIImage, sx: Swift.Float, sy: Swift.Float, sw: Swift.Float, sh: Swift.Float, dx: Swift.Float, dy: Swift.Float, dw: Swift.Float, dh: Swift.Float)
27
- @objc public static func initGLWithView(_ view: Swift.Int64, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.String, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool) -> Swift.Int64
28
- @objc public static func initSharedGLWithView(_ view: Swift.Int64, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.String, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool, _ shared_context: Swift.Int64) -> Swift.Int64
29
- @objc public static func initGLWithWidthAndHeight(_ width: Swift.Int32, _ height: Swift.Int32, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.String, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool) -> Swift.Int64
30
- @objc public static func initSharedGLWidthAndHeight(_ width: Swift.Int32, _ height: Swift.Int32, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.String, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool, _ shared_context: Swift.Int64) -> Swift.Int64
27
+ @objc public static func initGLWithView(_ view: Swift.Int64, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.Int32, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool) -> Swift.Int64
28
+ @objc public static func initSharedGLWithView(_ view: Swift.Int64, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.Int32, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool, _ shared_context: Swift.Int64) -> Swift.Int64
29
+ @objc public static func initGLWithWidthAndHeight(_ width: Swift.Int32, _ height: Swift.Int32, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.Int32, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool) -> Swift.Int64
30
+ @objc public static func initSharedGLWidthAndHeight(_ width: Swift.Int32, _ height: Swift.Int32, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.Int32, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool, _ shared_context: Swift.Int64) -> Swift.Int64
31
31
  @objc public static func resize2DContext(_ context: Swift.Int64, _ width: Swift.Float, _ height: Swift.Float)
32
32
  @objc public static func flush2DContext(_ context: Swift.Int64)
33
33
  @objc public static func flushGL(_ context: Swift.Int64) -> Swift.Bool
@@ -49,7 +49,7 @@ import _SwiftConcurrencyShims
49
49
  @objc @_Concurrency.MainActor(unsafe) public static let store: Foundation.NSMutableDictionary
50
50
  @objc @_Concurrency.MainActor(unsafe) public static func getViews() -> Foundation.NSMapTable<Foundation.NSString, CanvasNative.NSCCanvas>
51
51
  @objc @_Concurrency.MainActor(unsafe) public func getViewPtr() -> Swift.UnsafeMutableRawPointer
52
- @objc @_Concurrency.MainActor(unsafe) public var ignorePixelScaling: Swift.Bool {
52
+ @objc @_Concurrency.MainActor(unsafe) public var autoScale: Swift.Bool {
53
53
  @objc get
54
54
  @objc set
55
55
  }
@@ -71,8 +71,8 @@ import _SwiftConcurrencyShims
71
71
  @objc @_Concurrency.MainActor(unsafe) public var height: Swift.Float {
72
72
  @objc get
73
73
  }
74
- @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.String = "default", _ premultipliedAlpha: Swift.Bool = true, _ preserveDrawingBuffer: Swift.Bool = false, _ stencil: Swift.Bool = false, _ desynchronized: Swift.Bool = false, _ xrCompatible: Swift.Bool = false)
75
- @objc @_Concurrency.MainActor(unsafe) public func create2DContext(_ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ failIfMajorPerformanceCaveat: Swift.Bool, _ powerPreference: Swift.String, _ premultipliedAlpha: Swift.Bool, _ preserveDrawingBuffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xrCompatible: Swift.Bool, _ fontColor: Swift.Int32) -> Swift.Int64
74
+ @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)
75
+ @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
76
76
  @objc @_Concurrency.MainActor(unsafe) public func forceLayout(_ width: CoreFoundation.CGFloat, _ height: CoreFoundation.CGFloat)
77
77
  @objc @_Concurrency.MainActor(unsafe) public func snapshot(_ flip: Swift.Bool) -> UIKit.UIImage?
78
78
  @objc @discardableResult
@@ -93,7 +93,7 @@ import _SwiftConcurrencyShims
93
93
  @objc deinit
94
94
  }
95
95
  @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(TNSSVG) @_Concurrency.MainActor(unsafe) public class NSCSVG : UIKit.UIView {
96
- @objc @_Concurrency.MainActor(unsafe) public var ignorePixelScaling: Swift.Bool {
96
+ @objc @_Concurrency.MainActor(unsafe) public var autoScale: Swift.Bool {
97
97
  @objc get
98
98
  @objc set
99
99
  }
@@ -137,8 +137,6 @@ import _SwiftConcurrencyShims
137
137
  @_hasMissingDesignatedInitializers @objcMembers @objc(CanvasGLKView) @_Concurrency.MainActor(unsafe) public class CanvasGLKView : GLKit.GLKView {
138
138
  @_Concurrency.MainActor(unsafe) @objc dynamic public init()
139
139
  @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
140
- @_Concurrency.MainActor(unsafe) @objc override dynamic public func setNeedsDisplay()
141
- @_Concurrency.MainActor(unsafe) @objc override dynamic public func setNeedsDisplay(_ rect: CoreFoundation.CGRect)
142
140
  @_Concurrency.MainActor(unsafe) @objc override dynamic public func bindDrawable()
143
141
  @_Concurrency.MainActor(unsafe) @objc override dynamic public func deleteDrawable()
144
142
  @objc deinit
@@ -24,10 +24,10 @@ import _SwiftConcurrencyShims
24
24
  @objc public static func drawImage(context: Swift.Int64, image: UIKit.UIImage, dx: Swift.Float, dy: Swift.Float)
25
25
  @objc public static func drawImage(context: Swift.Int64, image: UIKit.UIImage, dx: Swift.Float, dy: Swift.Float, dw: Swift.Float, dh: Swift.Float)
26
26
  @objc public static func drawImage(context: Swift.Int64, image: UIKit.UIImage, sx: Swift.Float, sy: Swift.Float, sw: Swift.Float, sh: Swift.Float, dx: Swift.Float, dy: Swift.Float, dw: Swift.Float, dh: Swift.Float)
27
- @objc public static func initGLWithView(_ view: Swift.Int64, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.String, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool) -> Swift.Int64
28
- @objc public static func initSharedGLWithView(_ view: Swift.Int64, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.String, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool, _ shared_context: Swift.Int64) -> Swift.Int64
29
- @objc public static func initGLWithWidthAndHeight(_ width: Swift.Int32, _ height: Swift.Int32, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.String, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool) -> Swift.Int64
30
- @objc public static func initSharedGLWidthAndHeight(_ width: Swift.Int32, _ height: Swift.Int32, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.String, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool, _ shared_context: Swift.Int64) -> Swift.Int64
27
+ @objc public static func initGLWithView(_ view: Swift.Int64, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.Int32, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool) -> Swift.Int64
28
+ @objc public static func initSharedGLWithView(_ view: Swift.Int64, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.Int32, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool, _ shared_context: Swift.Int64) -> Swift.Int64
29
+ @objc public static func initGLWithWidthAndHeight(_ width: Swift.Int32, _ height: Swift.Int32, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.Int32, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool) -> Swift.Int64
30
+ @objc public static func initSharedGLWidthAndHeight(_ width: Swift.Int32, _ height: Swift.Int32, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.Int32, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool, _ shared_context: Swift.Int64) -> Swift.Int64
31
31
  @objc public static func resize2DContext(_ context: Swift.Int64, _ width: Swift.Float, _ height: Swift.Float)
32
32
  @objc public static func flush2DContext(_ context: Swift.Int64)
33
33
  @objc public static func flushGL(_ context: Swift.Int64) -> Swift.Bool
@@ -49,7 +49,7 @@ import _SwiftConcurrencyShims
49
49
  @objc @_Concurrency.MainActor(unsafe) public static let store: Foundation.NSMutableDictionary
50
50
  @objc @_Concurrency.MainActor(unsafe) public static func getViews() -> Foundation.NSMapTable<Foundation.NSString, CanvasNative.NSCCanvas>
51
51
  @objc @_Concurrency.MainActor(unsafe) public func getViewPtr() -> Swift.UnsafeMutableRawPointer
52
- @objc @_Concurrency.MainActor(unsafe) public var ignorePixelScaling: Swift.Bool {
52
+ @objc @_Concurrency.MainActor(unsafe) public var autoScale: Swift.Bool {
53
53
  @objc get
54
54
  @objc set
55
55
  }
@@ -71,8 +71,8 @@ import _SwiftConcurrencyShims
71
71
  @objc @_Concurrency.MainActor(unsafe) public var height: Swift.Float {
72
72
  @objc get
73
73
  }
74
- @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.String = "default", _ premultipliedAlpha: Swift.Bool = true, _ preserveDrawingBuffer: Swift.Bool = false, _ stencil: Swift.Bool = false, _ desynchronized: Swift.Bool = false, _ xrCompatible: Swift.Bool = false)
75
- @objc @_Concurrency.MainActor(unsafe) public func create2DContext(_ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ failIfMajorPerformanceCaveat: Swift.Bool, _ powerPreference: Swift.String, _ premultipliedAlpha: Swift.Bool, _ preserveDrawingBuffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xrCompatible: Swift.Bool, _ fontColor: Swift.Int32) -> Swift.Int64
74
+ @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)
75
+ @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
76
76
  @objc @_Concurrency.MainActor(unsafe) public func forceLayout(_ width: CoreFoundation.CGFloat, _ height: CoreFoundation.CGFloat)
77
77
  @objc @_Concurrency.MainActor(unsafe) public func snapshot(_ flip: Swift.Bool) -> UIKit.UIImage?
78
78
  @objc @discardableResult
@@ -93,7 +93,7 @@ import _SwiftConcurrencyShims
93
93
  @objc deinit
94
94
  }
95
95
  @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(TNSSVG) @_Concurrency.MainActor(unsafe) public class NSCSVG : UIKit.UIView {
96
- @objc @_Concurrency.MainActor(unsafe) public var ignorePixelScaling: Swift.Bool {
96
+ @objc @_Concurrency.MainActor(unsafe) public var autoScale: Swift.Bool {
97
97
  @objc get
98
98
  @objc set
99
99
  }
@@ -137,8 +137,6 @@ import _SwiftConcurrencyShims
137
137
  @_hasMissingDesignatedInitializers @objcMembers @objc(CanvasGLKView) @_Concurrency.MainActor(unsafe) public class CanvasGLKView : GLKit.GLKView {
138
138
  @_Concurrency.MainActor(unsafe) @objc dynamic public init()
139
139
  @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
140
- @_Concurrency.MainActor(unsafe) @objc override dynamic public func setNeedsDisplay()
141
- @_Concurrency.MainActor(unsafe) @objc override dynamic public func setNeedsDisplay(_ rect: CoreFoundation.CGRect)
142
140
  @_Concurrency.MainActor(unsafe) @objc override dynamic public func bindDrawable()
143
141
  @_Concurrency.MainActor(unsafe) @objc override dynamic public func deleteDrawable()
144
142
  @objc deinit
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Headers/CanvasNative-Swift.h</key>
8
8
  <data>
9
- lloBmCOwAVKXNkKLNRyCLugI0So=
9
+ ogbgw6SkXgmzI3Y8cgn7JLxUofk=
10
10
  </data>
11
11
  <key>Headers/CanvasNative.h</key>
12
12
  <data>
@@ -14,31 +14,31 @@
14
14
  </data>
15
15
  <key>Headers/canvas_ios.h</key>
16
16
  <data>
17
- aYO9nsMy3gTJSzU3GscbfnY1UnE=
17
+ ramKPCzToXogALv75y4zKAD0nEo=
18
18
  </data>
19
19
  <key>Headers/canvas_native.h</key>
20
20
  <data>
21
- HrLv+wzvrjh+xDWPFd5e8UwPzdg=
21
+ eAUyuemcA7iHhIbJfLssJO+Nh+g=
22
22
  </data>
23
23
  <key>Info.plist</key>
24
24
  <data>
25
- Tp1VcMRtLy+zqo1nHwpZ6h8IK1Q=
25
+ xVqQyfmmm14EZbEtqjuEBVSrwQ0=
26
26
  </data>
27
27
  <key>Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
28
28
  <data>
29
- Fn6unuHJYYQvbwtgJks2Ldd0FgA=
29
+ Vz82kny6Pm77M99oxWRqjNCEGyY=
30
30
  </data>
31
31
  <key>Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
32
32
  <data>
33
- eyMRP3ST9NbHi0MFFqy5m38DkwM=
33
+ RnIe7WJxh8k02/YVsJoVaO+1IyU=
34
34
  </data>
35
35
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
36
36
  <data>
37
- oN0x3GhdDmNO8uDUshWZDWTWWj0=
37
+ fDTsPop4Ser5EtABxJJ3uQpY1nk=
38
38
  </data>
39
39
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
40
40
  <data>
41
- BfEQj93+Gz2ym0YV4zIypUsKbVY=
41
+ GVvSKsBNIXL4jwqAD/J0lPHRsLA=
42
42
  </data>
43
43
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
44
44
  <data>
@@ -46,19 +46,19 @@
46
46
  </data>
47
47
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
48
48
  <data>
49
- BfEQj93+Gz2ym0YV4zIypUsKbVY=
49
+ GVvSKsBNIXL4jwqAD/J0lPHRsLA=
50
50
  </data>
51
51
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
52
52
  <data>
53
- Wj4AQuB7UMZ2rmTWvg9alggVVKQ=
53
+ hOinCBCqbO+ZW84pJbSjFO7Dbms=
54
54
  </data>
55
55
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
56
56
  <data>
57
- oN0x3GhdDmNO8uDUshWZDWTWWj0=
57
+ fDTsPop4Ser5EtABxJJ3uQpY1nk=
58
58
  </data>
59
59
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
60
60
  <data>
61
- CLqW8hwCeN5K8dKUF7h9AanhsXU=
61
+ 2NIDdU9gTw/seJJZunLNAIwOjx4=
62
62
  </data>
63
63
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
64
64
  <data>
@@ -66,11 +66,11 @@
66
66
  </data>
67
67
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
68
68
  <data>
69
- CLqW8hwCeN5K8dKUF7h9AanhsXU=
69
+ 2NIDdU9gTw/seJJZunLNAIwOjx4=
70
70
  </data>
71
71
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
72
72
  <data>
73
- Fb/zmarPjMyeoFOcNK5MrHNGAxY=
73
+ /wt52KBTKgHY0hwpaye5OFf8Q5U=
74
74
  </data>
75
75
  <key>Modules/module.modulemap</key>
76
76
  <data>
@@ -87,7 +87,7 @@
87
87
  <dict>
88
88
  <key>hash2</key>
89
89
  <data>
90
- TBeqdHqxBDZuv2SqXjzypi32k4A1rjrmIcpOOHT7ABM=
90
+ PViewbHJS5vbQFEQQ24hEYhMgUU32aAOlpJjbYEo4iU=
91
91
  </data>
92
92
  </dict>
93
93
  <key>Headers/CanvasNative.h</key>
@@ -101,42 +101,42 @@
101
101
  <dict>
102
102
  <key>hash2</key>
103
103
  <data>
104
- bXTANN/FZisv6/sOJ6MbZVpoW9P5rFey+D0g5K8OCMk=
104
+ ArXL25Sfl1BV6EJG0i8SpMBZcvdbumImkkk8SYjY5PE=
105
105
  </data>
106
106
  </dict>
107
107
  <key>Headers/canvas_native.h</key>
108
108
  <dict>
109
109
  <key>hash2</key>
110
110
  <data>
111
- ODf1lAXrS9WDE0IOVQHmMdNaEojU6RXP7c7m22NJMgM=
111
+ MzvpRGfGc94HbpZlA2WMhBp/uRl5f4SV504FsJ7cQcQ=
112
112
  </data>
113
113
  </dict>
114
114
  <key>Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
115
115
  <dict>
116
116
  <key>hash2</key>
117
117
  <data>
118
- 4MH71yJ6mRt3ujYhSESTnELRfsDeIFNJAV0ugsJuZlk=
118
+ J3y4crjx6DtHvZsu6JjZ5i8cJqo05yYI/8CCyU0yuwM=
119
119
  </data>
120
120
  </dict>
121
121
  <key>Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
122
122
  <dict>
123
123
  <key>hash2</key>
124
124
  <data>
125
- izK411wIU1UhZUyhf+GAs/01lAzsxr/+V6caK7NrL1Y=
125
+ /ReNpPAPyoGko7Tax1v64wY5VZF+Fl6B0ICV7IxsRAw=
126
126
  </data>
127
127
  </dict>
128
128
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
129
129
  <dict>
130
130
  <key>hash2</key>
131
131
  <data>
132
- 4BtQvmEx4NcEfQvfQSSJr2dKtXKnb2YuZ9dqH1ZpHjM=
132
+ u7RqQr5Wt3KVhhJVEaFVtCGrsIj0aFLAHVgqpgXC2Aw=
133
133
  </data>
134
134
  </dict>
135
135
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
136
136
  <dict>
137
137
  <key>hash2</key>
138
138
  <data>
139
- eyFZLVrJusoooQxLirdv72Fx1kOhPi4ZR91Qy2nEelQ=
139
+ agOAXqTBfcWhGFQ2c0DW4fNAuhbSFcYRiMFaMNwWB28=
140
140
  </data>
141
141
  </dict>
142
142
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
@@ -150,28 +150,28 @@
150
150
  <dict>
151
151
  <key>hash2</key>
152
152
  <data>
153
- eyFZLVrJusoooQxLirdv72Fx1kOhPi4ZR91Qy2nEelQ=
153
+ agOAXqTBfcWhGFQ2c0DW4fNAuhbSFcYRiMFaMNwWB28=
154
154
  </data>
155
155
  </dict>
156
156
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
157
157
  <dict>
158
158
  <key>hash2</key>
159
159
  <data>
160
- GJQiWBrDKqXGnbOAg1hC/MzKcin2n8FTBZu3cHL033o=
160
+ krMrlpvTR1zAvt9U8hN25LbcKep728UHenSf0Wabd14=
161
161
  </data>
162
162
  </dict>
163
163
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
164
164
  <dict>
165
165
  <key>hash2</key>
166
166
  <data>
167
- 4BtQvmEx4NcEfQvfQSSJr2dKtXKnb2YuZ9dqH1ZpHjM=
167
+ u7RqQr5Wt3KVhhJVEaFVtCGrsIj0aFLAHVgqpgXC2Aw=
168
168
  </data>
169
169
  </dict>
170
170
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
171
171
  <dict>
172
172
  <key>hash2</key>
173
173
  <data>
174
- vyY+O7N3cUsCHlkWK3GELatFcfrUoGQw8x4IF8yNWUE=
174
+ +lKpFc+gkwXScBKE2So5R5I9/m13XfWObJmP1h6SBkY=
175
175
  </data>
176
176
  </dict>
177
177
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
@@ -185,14 +185,14 @@
185
185
  <dict>
186
186
  <key>hash2</key>
187
187
  <data>
188
- vyY+O7N3cUsCHlkWK3GELatFcfrUoGQw8x4IF8yNWUE=
188
+ +lKpFc+gkwXScBKE2So5R5I9/m13XfWObJmP1h6SBkY=
189
189
  </data>
190
190
  </dict>
191
191
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
192
192
  <dict>
193
193
  <key>hash2</key>
194
194
  <data>
195
- B/ifzi93fg+K1FjUGQJYVF9V/FPGmyxh/Mwsj/Tv9zg=
195
+ 8+VkhSa4g/tazMx075qzhRV/mBHV55Y+1o/GaI6ZPvo=
196
196
  </data>
197
197
  </dict>
198
198
  <key>Modules/module.modulemap</key>