react-native-skia 0.0.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +8 -0
- package/Package.swift +117 -0
- package/README.md +5 -10
- package/android/CMakeLists.txt +219 -0
- package/android/README.md +14 -0
- package/android/build.gradle +261 -0
- package/android/cpp/jni/JniLoad.cpp +15 -0
- package/android/cpp/jni/JniPlatformContext.cpp +238 -0
- package/android/cpp/jni/JniSkiaManager.cpp +43 -0
- package/android/cpp/jni/include/JniPlatformContext.h +63 -0
- package/android/cpp/jni/include/JniSkiaBaseView.h +92 -0
- package/android/cpp/jni/include/JniSkiaGraphiteView.h +176 -0
- package/android/cpp/jni/include/JniSkiaManager.h +73 -0
- package/android/cpp/jni/include/JniSkiaPictureView.h +172 -0
- package/android/cpp/rnskia-android/AHardwareBufferUtils.cpp +31 -0
- package/android/cpp/rnskia-android/AHardwareBufferUtils.h +13 -0
- package/android/cpp/rnskia-android/GrAHardwareBufferUtils.cpp +245 -0
- package/android/cpp/rnskia-android/GrAHardwareBufferUtils.h +33 -0
- package/android/cpp/rnskia-android/OpenGLContext.h +248 -0
- package/android/cpp/rnskia-android/OpenGLWindowContext.cpp +67 -0
- package/android/cpp/rnskia-android/OpenGLWindowContext.h +75 -0
- package/android/cpp/rnskia-android/RNSkAndroidPlatformContext.h +289 -0
- package/android/cpp/rnskia-android/RNSkAndroidVideo.cpp +208 -0
- package/android/cpp/rnskia-android/RNSkAndroidVideo.h +44 -0
- package/android/cpp/rnskia-android/RNSkAndroidView.h +67 -0
- package/android/cpp/rnskia-android/RNSkOpenGLCanvasProvider.cpp +239 -0
- package/android/cpp/rnskia-android/RNSkOpenGLCanvasProvider.h +79 -0
- package/android/cpp/rnskia-android/gl/Context.h +80 -0
- package/android/cpp/rnskia-android/gl/Display.h +123 -0
- package/android/cpp/rnskia-android/gl/Error.cpp +45 -0
- package/android/cpp/rnskia-android/gl/Error.h +8 -0
- package/android/cpp/rnskia-android/gl/Surface.h +43 -0
- package/android/src/main/AndroidManifest.xml +6 -0
- package/android/src/main/java/com/reactnative/skia/PlatformContext.java +131 -0
- package/android/src/main/java/com/reactnative/skia/RNSkVideo.java +320 -0
- package/android/src/main/java/com/reactnative/skia/RNSkiaModule.java +67 -0
- package/android/src/main/java/com/reactnative/skia/RNSkiaPackage.java +58 -0
- package/android/src/main/java/com/reactnative/skia/SkiaBaseView.java +185 -0
- package/android/src/main/java/com/reactnative/skia/SkiaBaseViewManager.java +65 -0
- package/android/src/main/java/com/reactnative/skia/SkiaGraphiteView.java +78 -0
- package/android/src/main/java/com/reactnative/skia/SkiaGraphiteViewManager.java +32 -0
- package/android/src/main/java/com/reactnative/skia/SkiaManager.java +58 -0
- package/android/src/main/java/com/reactnative/skia/SkiaPictureView.java +105 -0
- package/android/src/main/java/com/reactnative/skia/SkiaPictureViewManager.java +44 -0
- package/android/src/main/java/com/reactnative/skia/SkiaSurfaceView.java +52 -0
- package/android/src/main/java/com/reactnative/skia/SkiaTextureView.java +63 -0
- package/android/src/main/java/com/reactnative/skia/SkiaViewAPI.java +16 -0
- package/android/src/main/java/com/reactnative/skia/ViewScreenshotService.java +205 -0
- package/apple/MetalContext.h +116 -0
- package/apple/MetalContext.mm +38 -0
- package/apple/MetalLayerColorSpace.mm +39 -0
- package/apple/MetalLayerColorSpaceUtils.h +34 -0
- package/apple/MetalWindowContext.h +42 -0
- package/apple/MetalWindowContext.mm +95 -0
- package/apple/RNSkApplePlatformContext.h +85 -0
- package/apple/RNSkApplePlatformContext.mm +451 -0
- package/apple/RNSkAppleVideo.h +78 -0
- package/apple/RNSkAppleVideo.mm +292 -0
- package/apple/RNSkAppleView.h +49 -0
- package/apple/RNSkAppleView.mm +35 -0
- package/apple/RNSkMetalCanvasProvider.h +60 -0
- package/apple/RNSkMetalCanvasProvider.mm +158 -0
- package/apple/RNSkUIKit.h +13 -0
- package/apple/RNSkiaModule.h +19 -0
- package/apple/RNSkiaModule.mm +80 -0
- package/apple/SkiaCVPixelBufferUtils.h +122 -0
- package/apple/SkiaCVPixelBufferUtils.mm +535 -0
- package/apple/SkiaGraphiteView.h +26 -0
- package/apple/SkiaGraphiteView.mm +180 -0
- package/apple/SkiaPictureView.h +7 -0
- package/apple/SkiaPictureView.mm +70 -0
- package/apple/SkiaUIView.h +31 -0
- package/apple/SkiaUIView.mm +164 -0
- package/apple/ViewScreenshotService.h +25 -0
- package/apple/ViewScreenshotService.mm +96 -0
- package/cpp/api/CustomBlendModes.h +114 -0
- package/cpp/api/JsiNativeBuffer.h +56 -0
- package/cpp/api/JsiSkAnimatedImage.h +137 -0
- package/cpp/api/JsiSkAnimatedImageFactory.h +47 -0
- package/cpp/api/JsiSkApi.h +334 -0
- package/cpp/api/JsiSkCanvas.h +631 -0
- package/cpp/api/JsiSkColor.h +143 -0
- package/cpp/api/JsiSkColorFilter.h +41 -0
- package/cpp/api/JsiSkColorFilterFactory.h +95 -0
- package/cpp/api/JsiSkContourMeasure.h +75 -0
- package/cpp/api/JsiSkContourMeasureIter.h +75 -0
- package/cpp/api/JsiSkConverters.h +410 -0
- package/cpp/api/JsiSkData.h +43 -0
- package/cpp/api/JsiSkDataFactory.h +101 -0
- package/cpp/api/JsiSkDispatcher.cpp +9 -0
- package/cpp/api/JsiSkDispatcher.h +149 -0
- package/cpp/api/JsiSkFont.h +249 -0
- package/cpp/api/JsiSkFontMgr.h +91 -0
- package/cpp/api/JsiSkFontMgrFactory.h +51 -0
- package/cpp/api/JsiSkFontStyle.h +79 -0
- package/cpp/api/JsiSkGraphiteContext.h +82 -0
- package/cpp/api/JsiSkGraphiteRecording.h +44 -0
- package/cpp/api/JsiSkImage.h +438 -0
- package/cpp/api/JsiSkImageFactory.h +199 -0
- package/cpp/api/JsiSkImageFilter.h +48 -0
- package/cpp/api/JsiSkImageFilterFactory.h +448 -0
- package/cpp/api/JsiSkImageInfo.h +86 -0
- package/cpp/api/JsiSkMaskFilter.h +46 -0
- package/cpp/api/JsiSkMaskFilterFactory.h +47 -0
- package/cpp/api/JsiSkMatrix.h +156 -0
- package/cpp/api/JsiSkNativeObjects.h +387 -0
- package/cpp/api/JsiSkPaint.h +199 -0
- package/cpp/api/JsiSkParagraph.h +289 -0
- package/cpp/api/JsiSkParagraphBuilder.h +123 -0
- package/cpp/api/JsiSkParagraphBuilderFactory.h +57 -0
- package/cpp/api/JsiSkParagraphStyle.h +138 -0
- package/cpp/api/JsiSkPath.h +258 -0
- package/cpp/api/JsiSkPathBuilder.h +302 -0
- package/cpp/api/JsiSkPathBuilderFactory.h +52 -0
- package/cpp/api/JsiSkPathEffect.h +46 -0
- package/cpp/api/JsiSkPathEffectFactory.h +119 -0
- package/cpp/api/JsiSkPathFactory.h +364 -0
- package/cpp/api/JsiSkPicture.h +119 -0
- package/cpp/api/JsiSkPictureFactory.h +81 -0
- package/cpp/api/JsiSkPictureRecorder.h +72 -0
- package/cpp/api/JsiSkPoint.h +89 -0
- package/cpp/api/JsiSkRRect.h +130 -0
- package/cpp/api/JsiSkRSXform.h +124 -0
- package/cpp/api/JsiSkRect.h +122 -0
- package/cpp/api/JsiSkRuntimeEffect.h +226 -0
- package/cpp/api/JsiSkRuntimeEffectFactory.h +44 -0
- package/cpp/api/JsiSkRuntimeShaderBuilder.h +91 -0
- package/cpp/api/JsiSkSVG.h +79 -0
- package/cpp/api/JsiSkSVGFactory.h +175 -0
- package/cpp/api/JsiSkShader.h +45 -0
- package/cpp/api/JsiSkShaderFactory.h +218 -0
- package/cpp/api/JsiSkSkottie.h +610 -0
- package/cpp/api/JsiSkStrutStyle.h +113 -0
- package/cpp/api/JsiSkSurface.h +207 -0
- package/cpp/api/JsiSkSurfaceFactory.h +115 -0
- package/cpp/api/JsiSkTextBlob.h +52 -0
- package/cpp/api/JsiSkTextBlobFactory.h +94 -0
- package/cpp/api/JsiSkTextStyle.h +199 -0
- package/cpp/api/JsiSkTypeface.h +89 -0
- package/cpp/api/JsiSkTypefaceFactory.h +44 -0
- package/cpp/api/JsiSkTypefaceFontProvider.h +105 -0
- package/cpp/api/JsiSkTypefaceFontProviderFactory.h +40 -0
- package/cpp/api/JsiSkVertices.h +169 -0
- package/cpp/api/JsiSkottieFactory.h +69 -0
- package/cpp/api/JsiTextureInfo.h +53 -0
- package/cpp/api/JsiVideo.h +101 -0
- package/cpp/api/recorder/ColorFilters.h +134 -0
- package/cpp/api/recorder/Command.h +71 -0
- package/cpp/api/recorder/Convertor.h +1467 -0
- package/cpp/api/recorder/DataTypes.h +236 -0
- package/cpp/api/recorder/DrawingCtx.h +233 -0
- package/cpp/api/recorder/Drawings.h +989 -0
- package/cpp/api/recorder/ImageFilters.h +326 -0
- package/cpp/api/recorder/ImageFit.h +111 -0
- package/cpp/api/recorder/JsiRecorder.h +379 -0
- package/cpp/api/recorder/Paint.h +206 -0
- package/cpp/api/recorder/PathEffects.h +203 -0
- package/cpp/api/recorder/RNRecorder.h +821 -0
- package/cpp/api/recorder/Shaders.h +495 -0
- package/cpp/api/third_party/CSSColorParser.cpp +181 -0
- package/cpp/api/third_party/CSSColorParser.h +210 -0
- package/cpp/api/third_party/SkottieUtils.cpp +333 -0
- package/cpp/api/third_party/SkottieUtils.h +173 -0
- package/cpp/api/third_party/base64.cpp +153 -0
- package/cpp/api/third_party/base64.h +50 -0
- package/cpp/dawn/include/dawn/dawn_proc.h +53 -0
- package/cpp/dawn/include/dawn/dawn_proc_table.h +329 -0
- package/cpp/dawn/include/dawn/dawn_thread_dispatch_proc.h +47 -0
- package/cpp/dawn/include/dawn/dawn_version.h +41 -0
- package/cpp/dawn/include/dawn/native/D3D11Backend.h +65 -0
- package/cpp/dawn/include/dawn/native/D3D12Backend.h +104 -0
- package/cpp/dawn/include/dawn/native/D3DBackend.h +56 -0
- package/cpp/dawn/include/dawn/native/DawnNative.h +367 -0
- package/cpp/dawn/include/dawn/native/MetalBackend.h +56 -0
- package/cpp/dawn/include/dawn/native/NullBackend.h +39 -0
- package/cpp/dawn/include/dawn/native/OpenGLBackend.h +89 -0
- package/cpp/dawn/include/dawn/native/VulkanBackend.h +183 -0
- package/cpp/dawn/include/dawn/native/WebGPUBackend.h +49 -0
- package/cpp/dawn/include/dawn/native/dawn_native_export.h +49 -0
- package/cpp/dawn/include/dawn/platform/DawnPlatform.h +211 -0
- package/cpp/dawn/include/dawn/platform/dawn_platform_export.h +49 -0
- package/cpp/dawn/include/dawn/replay/Replay.h +99 -0
- package/cpp/dawn/include/dawn/replay/dawn_replay_export.h +49 -0
- package/cpp/dawn/include/dawn/webgpu_cpp_print.h +2868 -0
- package/cpp/dawn/include/tint/tint.h +91 -0
- package/cpp/dawn/include/webgpu/webgpu.h +5063 -0
- package/cpp/dawn/include/webgpu/webgpu_cpp.h +10401 -0
- package/cpp/dawn/include/webgpu/webgpu_cpp_chained_struct.h +57 -0
- package/cpp/dawn/include/webgpu/webgpu_enum_class_bitmasks.h +163 -0
- package/cpp/dawn/include/webgpu/webgpu_glfw.h +88 -0
- package/cpp/jsi/BoxedNativeObject.h +146 -0
- package/cpp/jsi/EnumMapper.h +63 -0
- package/cpp/jsi/JSICache.cpp +122 -0
- package/cpp/jsi/JSICache.h +117 -0
- package/cpp/jsi/JSIConverter.h +498 -0
- package/cpp/jsi/JsiPromises.cpp +39 -0
- package/cpp/jsi/JsiPromises.h +50 -0
- package/cpp/jsi/NativeObject.h +599 -0
- package/cpp/jsi/Promise.cpp +48 -0
- package/cpp/jsi/Promise.h +37 -0
- package/cpp/jsi/ViewProperty.cpp +23 -0
- package/cpp/jsi/ViewProperty.h +52 -0
- package/cpp/rnskia/RNDawnContext.h +497 -0
- package/cpp/rnskia/RNDawnInterop.cpp +19 -0
- package/cpp/rnskia/RNDawnUtils.h +300 -0
- package/cpp/rnskia/RNDawnWindowContext.cpp +45 -0
- package/cpp/rnskia/RNDawnWindowContext.h +167 -0
- package/cpp/rnskia/RNImageProvider.h +100 -0
- package/cpp/rnskia/RNMetalLayerColorSpace.h +16 -0
- package/cpp/rnskia/RNSkGraphiteProducer.cpp +189 -0
- package/cpp/rnskia/RNSkGraphiteProducer.h +116 -0
- package/cpp/rnskia/RNSkGraphiteView.h +708 -0
- package/cpp/rnskia/RNSkJsiViewApi.h +471 -0
- package/cpp/rnskia/RNSkManager.cpp +62 -0
- package/cpp/rnskia/RNSkManager.h +77 -0
- package/cpp/rnskia/RNSkPictureView.cpp +69 -0
- package/cpp/rnskia/RNSkPictureView.h +211 -0
- package/cpp/rnskia/RNSkPlatformContext.h +204 -0
- package/cpp/rnskia/RNSkThreadPool.h +91 -0
- package/cpp/rnskia/RNSkVideo.h +31 -0
- package/cpp/rnskia/RNSkView.h +336 -0
- package/cpp/rnskia/RNWindowContext.h +25 -0
- package/cpp/skia/include/android/AHardwareBufferUtils.h +26 -0
- package/cpp/skia/include/android/GrAHardwareBufferUtils.h +97 -0
- package/cpp/skia/include/android/SkAndroidFrameworkUtils.h +83 -0
- package/cpp/skia/include/android/SkAnimatedImage.h +193 -0
- package/cpp/skia/include/android/SkCanvasAndroid.h +20 -0
- package/cpp/skia/include/android/SkImageAndroid.h +100 -0
- package/cpp/skia/include/android/SkSurfaceAndroid.h +50 -0
- package/cpp/skia/include/android/graphite/SurfaceAndroid.h +59 -0
- package/cpp/skia/include/android/vk/AndroidVulkanMemoryAllocator.h +31 -0
- package/cpp/skia/include/codec/SkAndroidCodec.h +302 -0
- package/cpp/skia/include/codec/SkAvifDecoder.h +80 -0
- package/cpp/skia/include/codec/SkBmpDecoder.h +44 -0
- package/cpp/skia/include/codec/SkBmpRustDecoder.h +42 -0
- package/cpp/skia/include/codec/SkCodec.h +1178 -0
- package/cpp/skia/include/codec/SkCodecAnimation.h +61 -0
- package/cpp/skia/include/codec/SkEncodedImageFormat.h +33 -0
- package/cpp/skia/include/codec/SkEncodedOrigin.h +71 -0
- package/cpp/skia/include/codec/SkGifDecoder.h +44 -0
- package/cpp/skia/include/codec/SkIcoDecoder.h +44 -0
- package/cpp/skia/include/codec/SkJpegDecoder.h +51 -0
- package/cpp/skia/include/codec/SkJpegxlDecoder.h +44 -0
- package/cpp/skia/include/codec/SkPixmapUtils.h +31 -0
- package/cpp/skia/include/codec/SkPngChunkReader.h +45 -0
- package/cpp/skia/include/codec/SkPngDecoder.h +51 -0
- package/cpp/skia/include/codec/SkPngRustDecoder.h +30 -0
- package/cpp/skia/include/codec/SkRawDecoder.h +50 -0
- package/cpp/skia/include/codec/SkWbmpDecoder.h +44 -0
- package/cpp/skia/include/codec/SkWebpDecoder.h +51 -0
- package/cpp/skia/include/config/SkUserConfig.h +141 -0
- package/cpp/skia/include/core/RasterContext.h +25 -0
- package/cpp/skia/include/core/SkAlphaType.h +45 -0
- package/cpp/skia/include/core/SkAnnotation.h +52 -0
- package/cpp/skia/include/core/SkArc.h +69 -0
- package/cpp/skia/include/core/SkBBHFactory.h +67 -0
- package/cpp/skia/include/core/SkBitmap.h +1264 -0
- package/cpp/skia/include/core/SkBlendMode.h +112 -0
- package/cpp/skia/include/core/SkBlender.h +30 -0
- package/cpp/skia/include/core/SkBlurTypes.h +20 -0
- package/cpp/skia/include/core/SkCPUContext.h +31 -0
- package/cpp/skia/include/core/SkCPURecorder.h +76 -0
- package/cpp/skia/include/core/SkCanvas.h +2769 -0
- package/cpp/skia/include/core/SkCanvasVirtualEnforcer.h +61 -0
- package/cpp/skia/include/core/SkCapabilities.h +35 -0
- package/cpp/skia/include/core/SkClipOp.h +19 -0
- package/cpp/skia/include/core/SkColor.h +469 -0
- package/cpp/skia/include/core/SkColorFilter.h +150 -0
- package/cpp/skia/include/core/SkColorSpace.h +432 -0
- package/cpp/skia/include/core/SkColorTable.h +62 -0
- package/cpp/skia/include/core/SkColorType.h +159 -0
- package/cpp/skia/include/core/SkContext.h +62 -0
- package/cpp/skia/include/core/SkContextOptions.h +15 -0
- package/cpp/skia/include/core/SkContourMeasure.h +215 -0
- package/cpp/skia/include/core/SkCoverageMode.h +28 -0
- package/cpp/skia/include/core/SkCubicMap.h +47 -0
- package/cpp/skia/include/core/SkData.h +225 -0
- package/cpp/skia/include/core/SkDataTable.h +122 -0
- package/cpp/skia/include/core/SkDocument.h +93 -0
- package/cpp/skia/include/core/SkDrawable.h +178 -0
- package/cpp/skia/include/core/SkExecutor.h +59 -0
- package/cpp/skia/include/core/SkFlattenable.h +115 -0
- package/cpp/skia/include/core/SkFont.h +536 -0
- package/cpp/skia/include/core/SkFontArguments.h +116 -0
- package/cpp/skia/include/core/SkFontMetrics.h +139 -0
- package/cpp/skia/include/core/SkFontMgr.h +178 -0
- package/cpp/skia/include/core/SkFontParameters.h +43 -0
- package/cpp/skia/include/core/SkFontScanner.h +45 -0
- package/cpp/skia/include/core/SkFontStyle.h +84 -0
- package/cpp/skia/include/core/SkFontTypes.h +25 -0
- package/cpp/skia/include/core/SkFourByteTag.h +19 -0
- package/cpp/skia/include/core/SkGraphics.h +169 -0
- package/cpp/skia/include/core/SkImage.h +918 -0
- package/cpp/skia/include/core/SkImageFilter.h +119 -0
- package/cpp/skia/include/core/SkImageGenerator.h +140 -0
- package/cpp/skia/include/core/SkImageInfo.h +634 -0
- package/cpp/skia/include/core/SkM44.h +442 -0
- package/cpp/skia/include/core/SkMallocPixelRef.h +45 -0
- package/cpp/skia/include/core/SkMaskFilter.h +45 -0
- package/cpp/skia/include/core/SkMatrix.h +1887 -0
- package/cpp/skia/include/core/SkMesh.h +429 -0
- package/cpp/skia/include/core/SkMilestone.h +9 -0
- package/cpp/skia/include/core/SkOpenTypeSVGDecoder.h +30 -0
- package/cpp/skia/include/core/SkOverdrawCanvas.h +94 -0
- package/cpp/skia/include/core/SkPaint.h +698 -0
- package/cpp/skia/include/core/SkPath.h +1145 -0
- package/cpp/skia/include/core/SkPathBuilder.h +1052 -0
- package/cpp/skia/include/core/SkPathEffect.h +88 -0
- package/cpp/skia/include/core/SkPathIter.h +90 -0
- package/cpp/skia/include/core/SkPathMeasure.h +96 -0
- package/cpp/skia/include/core/SkPathTypes.h +71 -0
- package/cpp/skia/include/core/SkPathUtils.h +39 -0
- package/cpp/skia/include/core/SkPicture.h +309 -0
- package/cpp/skia/include/core/SkPictureRecorder.h +115 -0
- package/cpp/skia/include/core/SkPixelRef.h +120 -0
- package/cpp/skia/include/core/SkPixmap.h +736 -0
- package/cpp/skia/include/core/SkPoint.h +560 -0
- package/cpp/skia/include/core/SkPoint3.h +149 -0
- package/cpp/skia/include/core/SkRRect.h +548 -0
- package/cpp/skia/include/core/SkRSXform.h +71 -0
- package/cpp/skia/include/core/SkRasterHandleAllocator.h +94 -0
- package/cpp/skia/include/core/SkRecorder.h +57 -0
- package/cpp/skia/include/core/SkRect.h +1419 -0
- package/cpp/skia/include/core/SkRefCnt.h +391 -0
- package/cpp/skia/include/core/SkRegion.h +701 -0
- package/cpp/skia/include/core/SkSamplingOptions.h +107 -0
- package/cpp/skia/include/core/SkScalar.h +148 -0
- package/cpp/skia/include/core/SkSerialProcs.h +123 -0
- package/cpp/skia/include/core/SkShader.h +123 -0
- package/cpp/skia/include/core/SkSize.h +93 -0
- package/cpp/skia/include/core/SkSpan.h +174 -0
- package/cpp/skia/include/core/SkStream.h +524 -0
- package/cpp/skia/include/core/SkStrikeRef.h +96 -0
- package/cpp/skia/include/core/SkString.h +297 -0
- package/cpp/skia/include/core/SkStrokeRec.h +160 -0
- package/cpp/skia/include/core/SkSurface.h +689 -0
- package/cpp/skia/include/core/SkSurfaceProps.h +122 -0
- package/cpp/skia/include/core/SkSwizzle.h +21 -0
- package/cpp/skia/include/core/SkTextBlob.h +541 -0
- package/cpp/skia/include/core/SkTextureCompressionType.h +30 -0
- package/cpp/skia/include/core/SkTileMode.h +41 -0
- package/cpp/skia/include/core/SkTiledImageUtils.h +125 -0
- package/cpp/skia/include/core/SkTraceMemoryDump.h +121 -0
- package/cpp/skia/include/core/SkTypeface.h +468 -0
- package/cpp/skia/include/core/SkTypes.h +193 -0
- package/cpp/skia/include/core/SkUnPreMultiply.h +55 -0
- package/cpp/skia/include/core/SkVertices.h +136 -0
- package/cpp/skia/include/core/SkYUVAInfo.h +311 -0
- package/cpp/skia/include/core/SkYUVAPixmaps.h +335 -0
- package/cpp/skia/include/docs/SkMultiPictureDocument.h +53 -0
- package/cpp/skia/include/docs/SkPDFDocument.h +277 -0
- package/cpp/skia/include/docs/SkPDFJpegHelpers.h +41 -0
- package/cpp/skia/include/docs/SkXPSDocument.h +43 -0
- package/cpp/skia/include/effects/Sk1DPathEffect.h +40 -0
- package/cpp/skia/include/effects/Sk2DPathEffect.h +33 -0
- package/cpp/skia/include/effects/SkBlenders.h +27 -0
- package/cpp/skia/include/effects/SkBlurMaskFilter.h +35 -0
- package/cpp/skia/include/effects/SkColorMatrix.h +57 -0
- package/cpp/skia/include/effects/SkColorMatrixFilter.h +22 -0
- package/cpp/skia/include/effects/SkCornerPathEffect.h +32 -0
- package/cpp/skia/include/effects/SkDashPathEffect.h +43 -0
- package/cpp/skia/include/effects/SkDiscretePathEffect.h +37 -0
- package/cpp/skia/include/effects/SkGradient.h +206 -0
- package/cpp/skia/include/effects/SkHighContrastFilter.h +84 -0
- package/cpp/skia/include/effects/SkImageFilters.h +654 -0
- package/cpp/skia/include/effects/SkLumaColorFilter.h +37 -0
- package/cpp/skia/include/effects/SkOverdrawColorFilter.h +33 -0
- package/cpp/skia/include/effects/SkPerlinNoiseShader.h +53 -0
- package/cpp/skia/include/effects/SkRuntimeEffect.h +503 -0
- package/cpp/skia/include/effects/SkShaderMaskFilter.h +28 -0
- package/cpp/skia/include/effects/SkTableMaskFilter.h +47 -0
- package/cpp/skia/include/effects/SkTrimPathEffect.h +45 -0
- package/cpp/skia/include/encode/SkEncoder.h +63 -0
- package/cpp/skia/include/encode/SkICC.h +36 -0
- package/cpp/skia/include/encode/SkJpegEncoder.h +127 -0
- package/cpp/skia/include/encode/SkPngEncoder.h +132 -0
- package/cpp/skia/include/encode/SkPngRustEncoder.h +121 -0
- package/cpp/skia/include/encode/SkWebpEncoder.h +87 -0
- package/cpp/skia/include/gpu/GpuTypes.h +98 -0
- package/cpp/skia/include/gpu/MutableTextureState.h +68 -0
- package/cpp/skia/include/gpu/ShaderErrorHandler.h +46 -0
- package/cpp/skia/include/gpu/ganesh/GrBackendSemaphore.h +50 -0
- package/cpp/skia/include/gpu/ganesh/GrBackendSurface.h +257 -0
- package/cpp/skia/include/gpu/ganesh/GrContextOptions.h +384 -0
- package/cpp/skia/include/gpu/ganesh/GrContextThreadSafeProxy.h +175 -0
- package/cpp/skia/include/gpu/ganesh/GrDirectContext.h +1053 -0
- package/cpp/skia/include/gpu/ganesh/GrDriverBugWorkarounds.h +53 -0
- package/cpp/skia/include/gpu/ganesh/GrDriverBugWorkaroundsAutogen.h +49 -0
- package/cpp/skia/include/gpu/ganesh/GrExternalTextureGenerator.h +54 -0
- package/cpp/skia/include/gpu/ganesh/GrRecordingContext.h +300 -0
- package/cpp/skia/include/gpu/ganesh/GrTypes.h +193 -0
- package/cpp/skia/include/gpu/ganesh/GrYUVABackendTextures.h +130 -0
- package/cpp/skia/include/gpu/ganesh/SkImageGanesh.h +361 -0
- package/cpp/skia/include/gpu/ganesh/SkMeshGanesh.h +57 -0
- package/cpp/skia/include/gpu/ganesh/SkSurfaceGanesh.h +221 -0
- package/cpp/skia/include/gpu/ganesh/d3d/GrD3DBackendContext.h +35 -0
- package/cpp/skia/include/gpu/ganesh/d3d/GrD3DBackendSemaphore.h +20 -0
- package/cpp/skia/include/gpu/ganesh/d3d/GrD3DBackendSurface.h +59 -0
- package/cpp/skia/include/gpu/ganesh/d3d/GrD3DDirectContext.h +40 -0
- package/cpp/skia/include/gpu/ganesh/d3d/GrD3DTypes.h +248 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLAssembleHelpers.h +17 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLAssembleInterface.h +45 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLBackendSurface.h +64 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLConfig.h +69 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLDirectContext.h +41 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLExtensions.h +79 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLFunctions.h +313 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLInterface.h +337 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLMakeWebGLInterface.h +19 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLTypes.h +219 -0
- package/cpp/skia/include/gpu/ganesh/gl/egl/GrGLMakeEGLInterface.h +23 -0
- package/cpp/skia/include/gpu/ganesh/gl/epoxy/GrGLMakeEpoxyEGLInterface.h +20 -0
- package/cpp/skia/include/gpu/ganesh/gl/glx/GrGLMakeGLXInterface.h +23 -0
- package/cpp/skia/include/gpu/ganesh/gl/ios/GrGLMakeIOSInterface.h +20 -0
- package/cpp/skia/include/gpu/ganesh/gl/mac/GrGLMakeMacInterface.h +20 -0
- package/cpp/skia/include/gpu/ganesh/gl/win/GrGLMakeWinInterface.h +20 -0
- package/cpp/skia/include/gpu/ganesh/mock/GrMockBackendSurface.h +59 -0
- package/cpp/skia/include/gpu/ganesh/mock/GrMockTypes.h +166 -0
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlBackendContext.h +21 -0
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlBackendSemaphore.h +23 -0
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlBackendSurface.h +44 -0
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlDirectContext.h +41 -0
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlTypes.h +61 -0
- package/cpp/skia/include/gpu/ganesh/mtl/SkSurfaceMetal.h +73 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrBackendDrawableInfo.h +44 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSemaphore.h +20 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSurface.h +71 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkDirectContext.h +46 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkTypes.h +101 -0
- package/cpp/skia/include/gpu/graphite/BackendSemaphore.h +60 -0
- package/cpp/skia/include/gpu/graphite/BackendTexture.h +65 -0
- package/cpp/skia/include/gpu/graphite/Context.h +440 -0
- package/cpp/skia/include/gpu/graphite/ContextOptions.h +245 -0
- package/cpp/skia/include/gpu/graphite/GraphiteTypes.h +316 -0
- package/cpp/skia/include/gpu/graphite/Image.h +428 -0
- package/cpp/skia/include/gpu/graphite/ImageProvider.h +68 -0
- package/cpp/skia/include/gpu/graphite/PersistentPipelineStorage.h +45 -0
- package/cpp/skia/include/gpu/graphite/PrecompileContext.h +117 -0
- package/cpp/skia/include/gpu/graphite/Recorder.h +353 -0
- package/cpp/skia/include/gpu/graphite/Recording.h +103 -0
- package/cpp/skia/include/gpu/graphite/Surface.h +121 -0
- package/cpp/skia/include/gpu/graphite/TextureInfo.h +133 -0
- package/cpp/skia/include/gpu/graphite/YUVABackendTextures.h +148 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnBackendContext.h +85 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnGraphiteTypes.h +163 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnTypes.h +9 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnUtils.h +9 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlBackendContext.h +45 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteTypes.h +73 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteTypesUtils.h +10 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteTypes_cpp.h +50 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteUtils.h +9 -0
- package/cpp/skia/include/gpu/graphite/precompile/PaintOptions.h +211 -0
- package/cpp/skia/include/gpu/graphite/precompile/Precompile.h +59 -0
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileBase.h +76 -0
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileBlender.h +56 -0
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileColorFilter.h +95 -0
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileImageFilter.h +116 -0
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileMaskFilter.h +49 -0
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileRuntimeEffect.h +47 -0
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileShader.h +268 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteContext.h +42 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteTypes.h +104 -0
- package/cpp/skia/include/gpu/graphite/vk/precompile/VulkanPrecompileShader.h +39 -0
- package/cpp/skia/include/gpu/mtl/MtlMemoryAllocator.h +41 -0
- package/cpp/skia/include/gpu/vk/VulkanBackendContext.h +57 -0
- package/cpp/skia/include/gpu/vk/VulkanExtensions.h +73 -0
- package/cpp/skia/include/gpu/vk/VulkanMemoryAllocator.h +117 -0
- package/cpp/skia/include/gpu/vk/VulkanMutableTextureState.h +26 -0
- package/cpp/skia/include/gpu/vk/VulkanPreferredFeatures.h +225 -0
- package/cpp/skia/include/gpu/vk/VulkanTypes.h +245 -0
- package/cpp/skia/include/pathops/SkPathOps.h +150 -0
- package/cpp/skia/include/ports/SkCFObject.h +180 -0
- package/cpp/skia/include/ports/SkFontConfigInterface.h +112 -0
- package/cpp/skia/include/ports/SkFontMgr_FontConfigInterface.h +24 -0
- package/cpp/skia/include/ports/SkFontMgr_Fontations.h +20 -0
- package/cpp/skia/include/ports/SkFontMgr_android.h +48 -0
- package/cpp/skia/include/ports/SkFontMgr_android_ndk.h +27 -0
- package/cpp/skia/include/ports/SkFontMgr_data.h +22 -0
- package/cpp/skia/include/ports/SkFontMgr_directory.h +21 -0
- package/cpp/skia/include/ports/SkFontMgr_empty.h +21 -0
- package/cpp/skia/include/ports/SkFontMgr_fontconfig.h +24 -0
- package/cpp/skia/include/ports/SkFontMgr_fuchsia.h +21 -0
- package/cpp/skia/include/ports/SkFontMgr_mac_ct.h +27 -0
- package/cpp/skia/include/ports/SkFontScanner_Fontations.h +15 -0
- package/cpp/skia/include/ports/SkFontScanner_FreeType.h +15 -0
- package/cpp/skia/include/ports/SkImageGeneratorCG.h +28 -0
- package/cpp/skia/include/ports/SkImageGeneratorNDK.h +40 -0
- package/cpp/skia/include/ports/SkImageGeneratorWIC.h +41 -0
- package/cpp/skia/include/ports/SkTypeface_fontations.h +24 -0
- package/cpp/skia/include/ports/SkTypeface_mac.h +44 -0
- package/cpp/skia/include/ports/SkTypeface_win.h +63 -0
- package/cpp/skia/include/private/SingleOwner.h +75 -0
- package/cpp/skia/include/private/SkAPI.h +52 -0
- package/cpp/skia/include/private/SkASAN.h +56 -0
- package/cpp/skia/include/private/SkAlign.h +51 -0
- package/cpp/skia/include/private/SkAlignedStorage.h +32 -0
- package/cpp/skia/include/private/SkAnySubclass.h +79 -0
- package/cpp/skia/include/private/SkAssert.h +203 -0
- package/cpp/skia/include/private/SkAttributes.h +96 -0
- package/cpp/skia/include/private/SkCPUTypes.h +25 -0
- package/cpp/skia/include/private/SkContainers.h +54 -0
- package/cpp/skia/include/private/SkDebug.h +27 -0
- package/cpp/skia/include/private/SkDeque.h +138 -0
- package/cpp/skia/include/private/SkEncodedInfo.h +249 -0
- package/cpp/skia/include/private/SkEnumBitMask.h +92 -0
- package/cpp/skia/include/private/SkExif.h +69 -0
- package/cpp/skia/include/private/SkFeatures.h +173 -0
- package/cpp/skia/include/private/SkFixed.h +143 -0
- package/cpp/skia/include/private/SkFloatingPoint.h +183 -0
- package/cpp/skia/include/private/SkGainmapInfo.h +140 -0
- package/cpp/skia/include/private/SkGainmapShader.h +60 -0
- package/cpp/skia/include/private/SkHdrMetadata.h +357 -0
- package/cpp/skia/include/private/SkIDChangeListener.h +76 -0
- package/cpp/skia/include/private/SkJpegGainmapEncoder.h +48 -0
- package/cpp/skia/include/private/SkJpegMetadataDecoder.h +103 -0
- package/cpp/skia/include/private/SkLoadUserConfig.h +64 -0
- package/cpp/skia/include/private/SkLog.h +44 -0
- package/cpp/skia/include/private/SkLogPriority.h +34 -0
- package/cpp/skia/include/private/SkMacros.h +170 -0
- package/cpp/skia/include/private/SkMalloc.h +152 -0
- package/cpp/skia/include/private/SkMath.h +77 -0
- package/cpp/skia/include/private/SkMutex.h +72 -0
- package/cpp/skia/include/private/SkNoncopyable.h +30 -0
- package/cpp/skia/include/private/SkOnce.h +55 -0
- package/cpp/skia/include/private/SkPathRef.h +90 -0
- package/cpp/skia/include/private/SkPixelStorage.h +52 -0
- package/cpp/skia/include/private/SkSLSampleUsage.h +85 -0
- package/cpp/skia/include/private/SkSafe32.h +49 -0
- package/cpp/skia/include/private/SkSemaphore.h +84 -0
- package/cpp/skia/include/private/SkTArray.h +823 -0
- package/cpp/skia/include/private/SkTDArray.h +247 -0
- package/cpp/skia/include/private/SkTFitsIn.h +92 -0
- package/cpp/skia/include/private/SkTLogic.h +56 -0
- package/cpp/skia/include/private/SkTPin.h +23 -0
- package/cpp/skia/include/private/SkTemplates.h +500 -0
- package/cpp/skia/include/private/SkThreadAnnotations.h +104 -0
- package/cpp/skia/include/private/SkThreadID.h +23 -0
- package/cpp/skia/include/private/SkTo.h +39 -0
- package/cpp/skia/include/private/SkTypeTraits.h +53 -0
- package/cpp/skia/include/private/SkWeakRefCnt.h +173 -0
- package/cpp/skia/include/private/SkXmp.h +62 -0
- package/cpp/skia/include/private/chromium/GrDeferredDisplayList.h +120 -0
- package/cpp/skia/include/private/chromium/GrDeferredDisplayListRecorder.h +62 -0
- package/cpp/skia/include/private/chromium/GrPromiseImageTexture.h +43 -0
- package/cpp/skia/include/private/chromium/GrSurfaceCharacterization.h +211 -0
- package/cpp/skia/include/private/chromium/GrVkSecondaryCBDrawContext.h +132 -0
- package/cpp/skia/include/private/chromium/SkChromeRemoteGlyphCache.h +150 -0
- package/cpp/skia/include/private/chromium/SkCodecsICCProfileChromium.h +52 -0
- package/cpp/skia/include/private/chromium/SkDiscardableMemory.h +70 -0
- package/cpp/skia/include/private/chromium/SkExifChromium.h +26 -0
- package/cpp/skia/include/private/chromium/SkImageChromium.h +117 -0
- package/cpp/skia/include/private/chromium/SkPMColor.h +38 -0
- package/cpp/skia/include/private/chromium/Slug.h +72 -0
- package/cpp/skia/include/private/gpu/ganesh/GrContext_Base.h +104 -0
- package/cpp/skia/include/private/gpu/ganesh/GrD3DTypesMinimal.h +60 -0
- package/cpp/skia/include/private/gpu/ganesh/GrImageContext.h +56 -0
- package/cpp/skia/include/private/gpu/ganesh/GrTextureGenerator.h +66 -0
- package/cpp/skia/include/private/gpu/ganesh/GrTypesPriv.h +959 -0
- package/cpp/skia/include/private/gpu/vk/SkiaVulkan.h +36 -0
- package/cpp/skia/include/sksl/SkSLDebugTrace.h +25 -0
- package/cpp/skia/include/sksl/SkSLVersion.h +27 -0
- package/cpp/skia/include/svg/SkSVGCanvas.h +62 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_icd.h +245 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_layer.h +192 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_platform.h +84 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std.h +394 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_decode.h +109 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_encode.h +143 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std.h +312 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_decode.h +77 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_encode.h +147 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std.h +446 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_decode.h +67 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_encode.h +157 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_vp9std.h +151 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_vp9std_decode.h +68 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codecs_common.h +36 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan.h +103 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_android.h +159 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_beta.h +375 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_core.h +25896 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_directfb.h +59 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_fuchsia.h +282 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ggp.h +62 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ios.h +50 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_macos.h +50 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_metal.h +244 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ohos.h +120 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_screen.h +114 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_vi.h +50 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_wayland.h +59 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_win32.h +372 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xcb.h +60 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xlib.h +60 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xlib_xrandr.h +50 -0
- package/cpp/skia/include/utils/SkCamera.h +109 -0
- package/cpp/skia/include/utils/SkCanvasStateUtils.h +81 -0
- package/cpp/skia/include/utils/SkCustomTypeface.h +70 -0
- package/cpp/skia/include/utils/SkEventTracer.h +93 -0
- package/cpp/skia/include/utils/SkLogHandler.h +53 -0
- package/cpp/skia/include/utils/SkNWayCanvas.h +124 -0
- package/cpp/skia/include/utils/SkNoDrawCanvas.h +78 -0
- package/cpp/skia/include/utils/SkNullCanvas.h +22 -0
- package/cpp/skia/include/utils/SkOrderedFontMgr.h +66 -0
- package/cpp/skia/include/utils/SkPaintFilterCanvas.h +140 -0
- package/cpp/skia/include/utils/SkParse.h +36 -0
- package/cpp/skia/include/utils/SkParsePath.h +33 -0
- package/cpp/skia/include/utils/SkShadowUtils.h +102 -0
- package/cpp/skia/include/utils/SkTextUtils.h +43 -0
- package/cpp/skia/include/utils/SkTraceEventPhase.h +19 -0
- package/cpp/skia/include/utils/mac/SkCGUtils.h +90 -0
- package/cpp/skia/modules/jsonreader/SkJSONReader.cpp +996 -0
- package/cpp/skia/modules/jsonreader/SkJSONReader.h +389 -0
- package/cpp/skia/modules/skcms/skcms.h +10 -0
- package/cpp/skia/modules/skcms/src/Transform_inl.h +1599 -0
- package/cpp/skia/modules/skcms/src/skcms_Transform.h +167 -0
- package/cpp/skia/modules/skcms/src/skcms_internals.h +162 -0
- package/cpp/skia/modules/skcms/src/skcms_public.h +496 -0
- package/cpp/skia/modules/skottie/include/ExternalLayer.h +56 -0
- package/cpp/skia/modules/skottie/include/Skottie.h +324 -0
- package/cpp/skia/modules/skottie/include/SkottieProperty.h +192 -0
- package/cpp/skia/modules/skottie/include/SlotManager.h +113 -0
- package/cpp/skia/modules/skottie/include/TextShaper.h +198 -0
- package/cpp/skia/modules/skottie/src/SkottieValue.h +56 -0
- package/cpp/skia/modules/skottie/src/animator/Animator.h +89 -0
- package/cpp/skia/modules/skottie/src/text/Font.h +82 -0
- package/cpp/skia/modules/skottie/src/text/TextAdapter.h +155 -0
- package/cpp/skia/modules/skottie/src/text/TextAnimator.h +122 -0
- package/cpp/skia/modules/skottie/src/text/TextValue.h +28 -0
- package/cpp/skia/modules/skparagraph/include/DartTypes.h +153 -0
- package/cpp/skia/modules/skparagraph/include/FontArguments.h +46 -0
- package/cpp/skia/modules/skparagraph/include/FontCollection.h +76 -0
- package/cpp/skia/modules/skparagraph/include/Metrics.h +98 -0
- package/cpp/skia/modules/skparagraph/include/Paragraph.h +289 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphBuilder.h +94 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphCache.h +52 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphPainter.h +63 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphStyle.h +160 -0
- package/cpp/skia/modules/skparagraph/include/TextShadow.h +30 -0
- package/cpp/skia/modules/skparagraph/include/TextStyle.h +392 -0
- package/cpp/skia/modules/skparagraph/include/TypefaceFontProvider.h +78 -0
- package/cpp/skia/modules/skresources/include/SkResources.h +291 -0
- package/cpp/skia/modules/sksg/include/SkSGClipEffect.h +61 -0
- package/cpp/skia/modules/sksg/include/SkSGColorFilter.h +135 -0
- package/cpp/skia/modules/sksg/include/SkSGDraw.h +57 -0
- package/cpp/skia/modules/sksg/include/SkSGEffectNode.h +50 -0
- package/cpp/skia/modules/sksg/include/SkSGGeometryEffect.h +207 -0
- package/cpp/skia/modules/sksg/include/SkSGGeometryNode.h +54 -0
- package/cpp/skia/modules/sksg/include/SkSGGradient.h +108 -0
- package/cpp/skia/modules/sksg/include/SkSGGroup.h +65 -0
- package/cpp/skia/modules/sksg/include/SkSGImage.h +59 -0
- package/cpp/skia/modules/sksg/include/SkSGInvalidationController.h +46 -0
- package/cpp/skia/modules/sksg/include/SkSGMaskEffect.h +65 -0
- package/cpp/skia/modules/sksg/include/SkSGMerge.h +74 -0
- package/cpp/skia/modules/sksg/include/SkSGNode.h +128 -0
- package/cpp/skia/modules/sksg/include/SkSGOpacityEffect.h +54 -0
- package/cpp/skia/modules/sksg/include/SkSGPaint.h +112 -0
- package/cpp/skia/modules/sksg/include/SkSGPath.h +68 -0
- package/cpp/skia/modules/sksg/include/SkSGPlane.h +47 -0
- package/cpp/skia/modules/sksg/include/SkSGRect.h +122 -0
- package/cpp/skia/modules/sksg/include/SkSGRenderEffect.h +283 -0
- package/cpp/skia/modules/sksg/include/SkSGRenderNode.h +157 -0
- package/cpp/skia/modules/sksg/include/SkSGScene.h +47 -0
- package/cpp/skia/modules/sksg/include/SkSGText.h +82 -0
- package/cpp/skia/modules/sksg/include/SkSGTransform.h +127 -0
- package/cpp/skia/modules/skshaper/include/SkShaper.h +340 -0
- package/cpp/skia/modules/skshaper/include/SkShaper_coretext.h +26 -0
- package/cpp/skia/modules/skshaper/include/SkShaper_factory.h +41 -0
- package/cpp/skia/modules/skshaper/include/SkShaper_harfbuzz.h +39 -0
- package/cpp/skia/modules/skshaper/include/SkShaper_skunicode.h +28 -0
- package/cpp/skia/modules/skunicode/include/SkUnicode.h +321 -0
- package/cpp/skia/modules/skunicode/include/SkUnicode_icu.h +18 -0
- package/cpp/skia/modules/skunicode/include/SkUnicode_libgrapheme.h +19 -0
- package/cpp/skia/modules/svg/include/SkSVGAttribute.h +110 -0
- package/cpp/skia/modules/svg/include/SkSVGAttributeParser.h +170 -0
- package/cpp/skia/modules/svg/include/SkSVGCircle.h +56 -0
- package/cpp/skia/modules/svg/include/SkSVGClipPath.h +41 -0
- package/cpp/skia/modules/svg/include/SkSVGContainer.h +52 -0
- package/cpp/skia/modules/svg/include/SkSVGDOM.h +111 -0
- package/cpp/skia/modules/svg/include/SkSVGDefs.h +23 -0
- package/cpp/skia/modules/svg/include/SkSVGEllipse.h +51 -0
- package/cpp/skia/modules/svg/include/SkSVGFe.h +93 -0
- package/cpp/skia/modules/svg/include/SkSVGFeBlend.h +54 -0
- package/cpp/skia/modules/svg/include/SkSVGFeColorMatrix.h +55 -0
- package/cpp/skia/modules/svg/include/SkSVGFeComponentTransfer.h +82 -0
- package/cpp/skia/modules/svg/include/SkSVGFeComposite.h +55 -0
- package/cpp/skia/modules/svg/include/SkSVGFeDisplacementMap.h +56 -0
- package/cpp/skia/modules/svg/include/SkSVGFeFlood.h +42 -0
- package/cpp/skia/modules/svg/include/SkSVGFeGaussianBlur.h +50 -0
- package/cpp/skia/modules/svg/include/SkSVGFeImage.h +44 -0
- package/cpp/skia/modules/svg/include/SkSVGFeLightSource.h +93 -0
- package/cpp/skia/modules/svg/include/SkSVGFeLighting.h +131 -0
- package/cpp/skia/modules/svg/include/SkSVGFeMerge.h +63 -0
- package/cpp/skia/modules/svg/include/SkSVGFeMorphology.h +55 -0
- package/cpp/skia/modules/svg/include/SkSVGFeOffset.h +44 -0
- package/cpp/skia/modules/svg/include/SkSVGFeTurbulence.h +49 -0
- package/cpp/skia/modules/svg/include/SkSVGFilter.h +48 -0
- package/cpp/skia/modules/svg/include/SkSVGFilterContext.h +69 -0
- package/cpp/skia/modules/svg/include/SkSVGG.h +23 -0
- package/cpp/skia/modules/svg/include/SkSVGGradient.h +56 -0
- package/cpp/skia/modules/svg/include/SkSVGHiddenContainer.h +23 -0
- package/cpp/skia/modules/svg/include/SkSVGIDMapper.h +19 -0
- package/cpp/skia/modules/svg/include/SkSVGImage.h +67 -0
- package/cpp/skia/modules/svg/include/SkSVGLine.h +53 -0
- package/cpp/skia/modules/svg/include/SkSVGLinearGradient.h +47 -0
- package/cpp/skia/modules/svg/include/SkSVGMask.h +49 -0
- package/cpp/skia/modules/svg/include/SkSVGNode.h +235 -0
- package/cpp/skia/modules/svg/include/SkSVGOpenTypeSVGDecoder.h +37 -0
- package/cpp/skia/modules/svg/include/SkSVGPath.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGPattern.h +61 -0
- package/cpp/skia/modules/svg/include/SkSVGPoly.h +56 -0
- package/cpp/skia/modules/svg/include/SkSVGRadialGradient.h +48 -0
- package/cpp/skia/modules/svg/include/SkSVGRect.h +56 -0
- package/cpp/skia/modules/svg/include/SkSVGRenderContext.h +229 -0
- package/cpp/skia/modules/svg/include/SkSVGSVG.h +60 -0
- package/cpp/skia/modules/svg/include/SkSVGShape.h +40 -0
- package/cpp/skia/modules/svg/include/SkSVGStop.h +36 -0
- package/cpp/skia/modules/svg/include/SkSVGText.h +128 -0
- package/cpp/skia/modules/svg/include/SkSVGTransformableNode.h +48 -0
- package/cpp/skia/modules/svg/include/SkSVGTypes.h +740 -0
- package/cpp/skia/modules/svg/include/SkSVGUse.h +49 -0
- package/cpp/skia/modules/svg/include/SkSVGValue.h +85 -0
- package/cpp/skia/src/core/SkArenaAlloc.h +371 -0
- package/cpp/skia/src/core/SkAutoLocaleSetter.h +94 -0
- package/cpp/skia/src/core/SkChecksum.h +118 -0
- package/cpp/skia/src/core/SkLRUCache.h +143 -0
- package/cpp/skia/src/core/SkMathPriv.h +225 -0
- package/cpp/skia/src/core/SkTHash.h +714 -0
- package/cpp/skia/src/core/SkTInternalLList.h +304 -0
- package/cpp/skia/src/core/SkTLazy.h +216 -0
- package/cpp/skia/src/core/SkUTF.h +102 -0
- package/cpp/skia/src/gpu/ganesh/gl/GrGLDefines.h +1162 -0
- package/cpp/skia/src/gpu/graphite/ContextOptionsPriv.h +45 -0
- package/cpp/skia/src/gpu/graphite/ResourceTypes.h +362 -0
- package/cpp/skia/src/gpu/graphite/TextureProxyView.h +105 -0
- package/cpp/utils/RNSkLog.h +82 -0
- package/cpp/utils/RNSkMeasureTime.h +32 -0
- package/cpp/utils/RNSkTimingInfo.h +106 -0
- package/cpp/utils/RNSkTypedArray.h +41 -0
- package/include/ReactNativeSkia.h +6 -0
- package/jestEnv.js +22 -0
- package/jestSetup.js +27 -0
- package/jestSetup.mjs +7 -0
- package/lib/commonjs/Platform/IPlatform.d.ts +9 -0
- package/lib/commonjs/Platform/IPlatform.js +6 -0
- package/lib/commonjs/Platform/IPlatform.js.map +1 -0
- package/lib/commonjs/Platform/Platform.d.ts +2 -0
- package/lib/commonjs/Platform/Platform.js +22 -0
- package/lib/commonjs/Platform/Platform.js.map +1 -0
- package/lib/commonjs/Platform/Platform.web.d.ts +2 -0
- package/lib/commonjs/Platform/Platform.web.js +73 -0
- package/lib/commonjs/Platform/Platform.web.js.map +1 -0
- package/lib/commonjs/Platform/index.d.ts +1 -0
- package/lib/commonjs/Platform/index.js +17 -0
- package/lib/commonjs/Platform/index.js.map +1 -0
- package/lib/commonjs/animation/functions/index.d.ts +4 -0
- package/lib/commonjs/animation/functions/index.js +50 -0
- package/lib/commonjs/animation/functions/index.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolate.d.ts +17 -0
- package/lib/commonjs/animation/functions/interpolate.js +131 -0
- package/lib/commonjs/animation/functions/interpolate.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/commonjs/animation/functions/interpolateColors.js +35 -0
- package/lib/commonjs/animation/functions/interpolateColors.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolatePaths.d.ts +19 -0
- package/lib/commonjs/animation/functions/interpolatePaths.js +87 -0
- package/lib/commonjs/animation/functions/interpolatePaths.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolateVector.d.ts +10 -0
- package/lib/commonjs/animation/functions/interpolateVector.js +23 -0
- package/lib/commonjs/animation/functions/interpolateVector.js.map +1 -0
- package/lib/commonjs/animation/index.d.ts +1 -0
- package/lib/commonjs/animation/index.js +17 -0
- package/lib/commonjs/animation/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.d.ts +6 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.js +37 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Enum.js +13 -0
- package/lib/commonjs/dom/nodes/datatypes/Enum.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Fitting.d.ts +33 -0
- package/lib/commonjs/dom/nodes/datatypes/Fitting.js +141 -0
- package/lib/commonjs/dom/nodes/datatypes/Fitting.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Gradient.d.ts +253 -0
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js +74 -0
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Path.d.ts +4 -0
- package/lib/commonjs/dom/nodes/datatypes/Path.js +26 -0
- package/lib/commonjs/dom/nodes/datatypes/Path.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Radius.d.ts +3 -0
- package/lib/commonjs/dom/nodes/datatypes/Radius.js +16 -0
- package/lib/commonjs/dom/nodes/datatypes/Radius.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.d.ts +7 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.js +68 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.d.ts +4 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.js +67 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/commonjs/dom/nodes/datatypes/index.js +94 -0
- package/lib/commonjs/dom/nodes/datatypes/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/index.d.ts +2 -0
- package/lib/commonjs/dom/nodes/index.js +28 -0
- package/lib/commonjs/dom/nodes/index.js.map +1 -0
- package/lib/commonjs/dom/types/ColorFilters.d.ts +12 -0
- package/lib/commonjs/dom/types/ColorFilters.js +6 -0
- package/lib/commonjs/dom/types/ColorFilters.js.map +1 -0
- package/lib/commonjs/dom/types/Common.d.ts +60 -0
- package/lib/commonjs/dom/types/Common.js +6 -0
- package/lib/commonjs/dom/types/Common.js.map +1 -0
- package/lib/commonjs/dom/types/Drawings.d.ts +121 -0
- package/lib/commonjs/dom/types/Drawings.js +6 -0
- package/lib/commonjs/dom/types/Drawings.js.map +1 -0
- package/lib/commonjs/dom/types/ImageFilters.d.ts +37 -0
- package/lib/commonjs/dom/types/ImageFilters.js +6 -0
- package/lib/commonjs/dom/types/ImageFilters.js.map +1 -0
- package/lib/commonjs/dom/types/MaskFilters.d.ts +7 -0
- package/lib/commonjs/dom/types/MaskFilters.js +6 -0
- package/lib/commonjs/dom/types/MaskFilters.js.map +1 -0
- package/lib/commonjs/dom/types/Node.d.ts +17 -0
- package/lib/commonjs/dom/types/Node.js +6 -0
- package/lib/commonjs/dom/types/Node.js.map +1 -0
- package/lib/commonjs/dom/types/NodeType.d.ts +61 -0
- package/lib/commonjs/dom/types/NodeType.js +79 -0
- package/lib/commonjs/dom/types/NodeType.js.map +1 -0
- package/lib/commonjs/dom/types/Paragraph.d.ts +8 -0
- package/lib/commonjs/dom/types/Paragraph.js +6 -0
- package/lib/commonjs/dom/types/Paragraph.js.map +1 -0
- package/lib/commonjs/dom/types/PathEffects.d.ts +28 -0
- package/lib/commonjs/dom/types/PathEffects.js +6 -0
- package/lib/commonjs/dom/types/PathEffects.js.map +1 -0
- package/lib/commonjs/dom/types/Shaders.d.ts +58 -0
- package/lib/commonjs/dom/types/Shaders.js +6 -0
- package/lib/commonjs/dom/types/Shaders.js.map +1 -0
- package/lib/commonjs/dom/types/SkDOM.d.ts +73 -0
- package/lib/commonjs/dom/types/SkDOM.js +6 -0
- package/lib/commonjs/dom/types/SkDOM.js.map +1 -0
- package/lib/commonjs/dom/types/index.d.ts +11 -0
- package/lib/commonjs/dom/types/index.js +127 -0
- package/lib/commonjs/dom/types/index.js.map +1 -0
- package/lib/commonjs/external/ModuleProxy.d.ts +10 -0
- package/lib/commonjs/external/ModuleProxy.js +36 -0
- package/lib/commonjs/external/ModuleProxy.js.map +1 -0
- package/lib/commonjs/external/index.d.ts +1 -0
- package/lib/commonjs/external/index.js +17 -0
- package/lib/commonjs/external/index.js.map +1 -0
- package/lib/commonjs/external/reanimated/ReanimatedProxy.d.ts +3 -0
- package/lib/commonjs/external/reanimated/ReanimatedProxy.js +18 -0
- package/lib/commonjs/external/reanimated/ReanimatedProxy.js.map +1 -0
- package/lib/commonjs/external/reanimated/buffers.d.ts +7 -0
- package/lib/commonjs/external/reanimated/buffers.js +51 -0
- package/lib/commonjs/external/reanimated/buffers.js.map +1 -0
- package/lib/commonjs/external/reanimated/index.d.ts +6 -0
- package/lib/commonjs/external/reanimated/index.js +72 -0
- package/lib/commonjs/external/reanimated/index.js.map +1 -0
- package/lib/commonjs/external/reanimated/interpolators.d.ts +16 -0
- package/lib/commonjs/external/reanimated/interpolators.js +92 -0
- package/lib/commonjs/external/reanimated/interpolators.js.map +1 -0
- package/lib/commonjs/external/reanimated/renderHelpers.d.ts +16 -0
- package/lib/commonjs/external/reanimated/renderHelpers.js +50 -0
- package/lib/commonjs/external/reanimated/renderHelpers.js.map +1 -0
- package/lib/commonjs/external/reanimated/textures.d.ts +6 -0
- package/lib/commonjs/external/reanimated/textures.js +82 -0
- package/lib/commonjs/external/reanimated/textures.js.map +1 -0
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.d.ts +3 -0
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js +53 -0
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js.map +1 -0
- package/lib/commonjs/external/reanimated/useVideo.d.ts +21 -0
- package/lib/commonjs/external/reanimated/useVideo.js +150 -0
- package/lib/commonjs/external/reanimated/useVideo.js.map +1 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.d.ts +4 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.js +40 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.js.map +1 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.web.d.ts +4 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.web.js +20 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.web.js.map +1 -0
- package/lib/commonjs/headless/index.d.ts +9 -0
- package/lib/commonjs/headless/index.js +72 -0
- package/lib/commonjs/headless/index.js.map +1 -0
- package/lib/commonjs/index.d.ts +14 -0
- package/lib/commonjs/index.js +144 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/mock/index.d.ts +2 -0
- package/lib/commonjs/mock/index.js +81 -0
- package/lib/commonjs/mock/index.js.map +1 -0
- package/lib/commonjs/renderer/Canvas.d.ts +57 -0
- package/lib/commonjs/renderer/Canvas.js +198 -0
- package/lib/commonjs/renderer/Canvas.js.map +1 -0
- package/lib/commonjs/renderer/DefaultCanvas.d.ts +8 -0
- package/lib/commonjs/renderer/DefaultCanvas.js +42 -0
- package/lib/commonjs/renderer/DefaultCanvas.js.map +1 -0
- package/lib/commonjs/renderer/GraphiteCanvas.d.ts +22 -0
- package/lib/commonjs/renderer/GraphiteCanvas.js +64 -0
- package/lib/commonjs/renderer/GraphiteCanvas.js.map +1 -0
- package/lib/commonjs/renderer/GraphiteCanvas.web.d.ts +1 -0
- package/lib/commonjs/renderer/GraphiteCanvas.web.js +13 -0
- package/lib/commonjs/renderer/GraphiteCanvas.web.js.map +1 -0
- package/lib/commonjs/renderer/Offscreen.d.ts +6 -0
- package/lib/commonjs/renderer/Offscreen.js +43 -0
- package/lib/commonjs/renderer/Offscreen.js.map +1 -0
- package/lib/commonjs/renderer/components/Blend.d.ts +4 -0
- package/lib/commonjs/renderer/components/Blend.js +13 -0
- package/lib/commonjs/renderer/components/Blend.js.map +1 -0
- package/lib/commonjs/renderer/components/Group.d.ts +8 -0
- package/lib/commonjs/renderer/components/Group.js +22 -0
- package/lib/commonjs/renderer/components/Group.js.map +1 -0
- package/lib/commonjs/renderer/components/ImageFilter.d.ts +4 -0
- package/lib/commonjs/renderer/components/ImageFilter.js +13 -0
- package/lib/commonjs/renderer/components/ImageFilter.js.map +1 -0
- package/lib/commonjs/renderer/components/Mask.d.ts +10 -0
- package/lib/commonjs/renderer/components/Mask.js +27 -0
- package/lib/commonjs/renderer/components/Mask.js.map +1 -0
- package/lib/commonjs/renderer/components/Paint.d.ts +4 -0
- package/lib/commonjs/renderer/components/Paint.js +13 -0
- package/lib/commonjs/renderer/components/Paint.js.map +1 -0
- package/lib/commonjs/renderer/components/Picture.d.ts +4 -0
- package/lib/commonjs/renderer/components/Picture.js +13 -0
- package/lib/commonjs/renderer/components/Picture.js.map +1 -0
- package/lib/commonjs/renderer/components/Skottie.d.ts +4 -0
- package/lib/commonjs/renderer/components/Skottie.js +13 -0
- package/lib/commonjs/renderer/components/Skottie.js.map +1 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.d.ts +9 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js +25 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js.map +1 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.d.ts +8 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js +18 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js.map +1 -0
- package/lib/commonjs/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/commonjs/renderer/components/backdrop/index.js +28 -0
- package/lib/commonjs/renderer/components/backdrop/index.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/Lerp.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/Matrix.d.ts +5 -0
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js +15 -0
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/commonjs/renderer/components/colorFilters/index.js +72 -0
- package/lib/commonjs/renderer/components/colorFilters/index.js.map +1 -0
- package/lib/commonjs/renderer/components/image/Image.d.ts +4 -0
- package/lib/commonjs/renderer/components/image/Image.js +19 -0
- package/lib/commonjs/renderer/components/image/Image.js.map +1 -0
- package/lib/commonjs/renderer/components/image/ImageSVG.d.ts +4 -0
- package/lib/commonjs/renderer/components/image/ImageSVG.js +13 -0
- package/lib/commonjs/renderer/components/image/ImageSVG.js.map +1 -0
- package/lib/commonjs/renderer/components/image/ImageShader.d.ts +4 -0
- package/lib/commonjs/renderer/components/image/ImageShader.js +25 -0
- package/lib/commonjs/renderer/components/image/ImageShader.js.map +1 -0
- package/lib/commonjs/renderer/components/image/index.d.ts +3 -0
- package/lib/commonjs/renderer/components/image/index.js +39 -0
- package/lib/commonjs/renderer/components/image/index.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Blur.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Blur.js +19 -0
- package/lib/commonjs/renderer/components/imageFilters/Blur.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js +13 -0
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Morphology.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js +19 -0
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Offset.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Offset.js +21 -0
- package/lib/commonjs/renderer/components/imageFilters/Offset.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js +13 -0
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Shadow.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js +13 -0
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/commonjs/renderer/components/imageFilters/index.js +72 -0
- package/lib/commonjs/renderer/components/imageFilters/index.js.map +1 -0
- package/lib/commonjs/renderer/components/index.d.ts +18 -0
- package/lib/commonjs/renderer/components/index.js +204 -0
- package/lib/commonjs/renderer/components/index.js.map +1 -0
- package/lib/commonjs/renderer/components/maskFilters/Blur.d.ts +4 -0
- package/lib/commonjs/renderer/components/maskFilters/Blur.js +21 -0
- package/lib/commonjs/renderer/components/maskFilters/Blur.js.map +1 -0
- package/lib/commonjs/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/commonjs/renderer/components/maskFilters/index.js +17 -0
- package/lib/commonjs/renderer/components/maskFilters/index.js.map +1 -0
- package/lib/commonjs/renderer/components/paragraph/Paragraph.d.ts +4 -0
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js +13 -0
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js.map +1 -0
- package/lib/commonjs/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/commonjs/renderer/components/paragraph/index.js +17 -0
- package/lib/commonjs/renderer/components/paragraph/index.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Corner.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Corner.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Corner.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Dash.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Dash.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Dash.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Discrete.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js +19 -0
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Line2D.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Path1D.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Path2D.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Sum.d.ts +3 -0
- package/lib/commonjs/renderer/components/pathEffects/Sum.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Sum.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/commonjs/renderer/components/pathEffects/index.js +83 -0
- package/lib/commonjs/renderer/components/pathEffects/index.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/Color.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/Color.js +13 -0
- package/lib/commonjs/renderer/components/shaders/Color.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/FractalNoise.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js +23 -0
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/LinearGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/RadialGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/Shader.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/Shader.js +19 -0
- package/lib/commonjs/renderer/components/shaders/Shader.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/ShaderLib.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/ShaderLib.js +51 -0
- package/lib/commonjs/renderer/components/shaders/ShaderLib.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/SweepGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/Turbulence.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/Turbulence.js +23 -0
- package/lib/commonjs/renderer/components/shaders/Turbulence.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/index.d.ts +9 -0
- package/lib/commonjs/renderer/components/shaders/index.js +105 -0
- package/lib/commonjs/renderer/components/shaders/index.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Atlas.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Atlas.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Atlas.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Box.d.ts +5 -0
- package/lib/commonjs/renderer/components/shapes/Box.js +17 -0
- package/lib/commonjs/renderer/components/shapes/Box.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Circle.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Circle.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Circle.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/DiffRect.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/DiffRect.js +13 -0
- package/lib/commonjs/renderer/components/shapes/DiffRect.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Fill.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Fill.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Fill.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/FitBox.d.ts +13 -0
- package/lib/commonjs/renderer/components/shapes/FitBox.js +57 -0
- package/lib/commonjs/renderer/components/shapes/FitBox.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Line.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Line.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Line.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Oval.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Oval.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Oval.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Patch.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Patch.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Patch.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Path.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Path.js +21 -0
- package/lib/commonjs/renderer/components/shapes/Path.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Points.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Points.js +19 -0
- package/lib/commonjs/renderer/components/shapes/Points.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Rect.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Rect.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Rect.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/RoundedRect.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js +13 -0
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Vertices.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Vertices.js +19 -0
- package/lib/commonjs/renderer/components/shapes/Vertices.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/index.d.ts +14 -0
- package/lib/commonjs/renderer/components/shapes/index.js +160 -0
- package/lib/commonjs/renderer/components/shapes/index.js.map +1 -0
- package/lib/commonjs/renderer/components/text/Glyphs.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/Glyphs.js +21 -0
- package/lib/commonjs/renderer/components/text/Glyphs.js.map +1 -0
- package/lib/commonjs/renderer/components/text/Text.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/Text.js +21 -0
- package/lib/commonjs/renderer/components/text/Text.js.map +1 -0
- package/lib/commonjs/renderer/components/text/TextBlob.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/TextBlob.js +21 -0
- package/lib/commonjs/renderer/components/text/TextBlob.js.map +1 -0
- package/lib/commonjs/renderer/components/text/TextPath.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/TextPath.js +19 -0
- package/lib/commonjs/renderer/components/text/TextPath.js.map +1 -0
- package/lib/commonjs/renderer/components/text/index.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/index.js +50 -0
- package/lib/commonjs/renderer/components/text/index.js.map +1 -0
- package/lib/commonjs/renderer/index.d.ts +1 -0
- package/lib/commonjs/renderer/index.js +17 -0
- package/lib/commonjs/renderer/index.js.map +1 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.d.ts +38 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.js +30 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.js.map +1 -0
- package/lib/commonjs/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/commonjs/renderer/processors/Animations/index.js +17 -0
- package/lib/commonjs/renderer/processors/Animations/index.js.map +1 -0
- package/lib/commonjs/renderer/processors/index.d.ts +2 -0
- package/lib/commonjs/renderer/processors/index.js +28 -0
- package/lib/commonjs/renderer/processors/index.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/Coordinates.d.ts +29 -0
- package/lib/commonjs/renderer/processors/math/Coordinates.js +55 -0
- package/lib/commonjs/renderer/processors/math/Coordinates.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/Math.d.ts +16 -0
- package/lib/commonjs/renderer/processors/math/Math.js +39 -0
- package/lib/commonjs/renderer/processors/math/Math.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/commonjs/renderer/processors/math/Transforms.js +21 -0
- package/lib/commonjs/renderer/processors/math/Transforms.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/index.d.ts +3 -0
- package/lib/commonjs/renderer/processors/math/index.js +39 -0
- package/lib/commonjs/renderer/processors/math/index.js.map +1 -0
- package/lib/commonjs/renderer/typeddash.d.ts +3 -0
- package/lib/commonjs/renderer/typeddash.js +38 -0
- package/lib/commonjs/renderer/typeddash.js.map +1 -0
- package/lib/commonjs/skia/NativeSetup.d.ts +1 -0
- package/lib/commonjs/skia/NativeSetup.js +21 -0
- package/lib/commonjs/skia/NativeSetup.js.map +1 -0
- package/lib/commonjs/skia/Skia.d.ts +8 -0
- package/lib/commonjs/skia/Skia.js +14 -0
- package/lib/commonjs/skia/Skia.js.map +1 -0
- package/lib/commonjs/skia/Skia.web.d.ts +1 -0
- package/lib/commonjs/skia/Skia.web.js +9 -0
- package/lib/commonjs/skia/Skia.web.js.map +1 -0
- package/lib/commonjs/skia/SkiaWorkletSerialization.d.ts +1 -0
- package/lib/commonjs/skia/SkiaWorkletSerialization.js +66 -0
- package/lib/commonjs/skia/SkiaWorkletSerialization.js.map +1 -0
- package/lib/commonjs/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/commonjs/skia/core/AnimatedImage.js +16 -0
- package/lib/commonjs/skia/core/AnimatedImage.js.map +1 -0
- package/lib/commonjs/skia/core/Data.d.ts +5 -0
- package/lib/commonjs/skia/core/Data.js +76 -0
- package/lib/commonjs/skia/core/Data.js.map +1 -0
- package/lib/commonjs/skia/core/Font.d.ts +33 -0
- package/lib/commonjs/skia/core/Font.js +126 -0
- package/lib/commonjs/skia/core/Font.js.map +1 -0
- package/lib/commonjs/skia/core/Image.d.ts +16 -0
- package/lib/commonjs/skia/core/Image.js +44 -0
- package/lib/commonjs/skia/core/Image.js.map +1 -0
- package/lib/commonjs/skia/core/Matrix.d.ts +2 -0
- package/lib/commonjs/skia/core/Matrix.js +15 -0
- package/lib/commonjs/skia/core/Matrix.js.map +1 -0
- package/lib/commonjs/skia/core/Picture.d.ts +8 -0
- package/lib/commonjs/skia/core/Picture.js +28 -0
- package/lib/commonjs/skia/core/Picture.js.map +1 -0
- package/lib/commonjs/skia/core/RRect.d.ts +2 -0
- package/lib/commonjs/skia/core/RRect.js +14 -0
- package/lib/commonjs/skia/core/RRect.js.map +1 -0
- package/lib/commonjs/skia/core/Rect.d.ts +8 -0
- package/lib/commonjs/skia/core/Rect.js +56 -0
- package/lib/commonjs/skia/core/Rect.js.map +1 -0
- package/lib/commonjs/skia/core/SVG.d.ts +2 -0
- package/lib/commonjs/skia/core/SVG.js +12 -0
- package/lib/commonjs/skia/core/SVG.js.map +1 -0
- package/lib/commonjs/skia/core/SVG.web.d.ts +2 -0
- package/lib/commonjs/skia/core/SVG.web.js +37 -0
- package/lib/commonjs/skia/core/SVG.web.js.map +1 -0
- package/lib/commonjs/skia/core/Typeface.d.ts +5 -0
- package/lib/commonjs/skia/core/Typeface.js +16 -0
- package/lib/commonjs/skia/core/Typeface.js.map +1 -0
- package/lib/commonjs/skia/core/Vector.d.ts +7 -0
- package/lib/commonjs/skia/core/Vector.js +39 -0
- package/lib/commonjs/skia/core/Vector.js.map +1 -0
- package/lib/commonjs/skia/core/index.d.ts +11 -0
- package/lib/commonjs/skia/core/index.js +127 -0
- package/lib/commonjs/skia/core/index.js.map +1 -0
- package/lib/commonjs/skia/index.d.ts +3 -0
- package/lib/commonjs/skia/index.js +40 -0
- package/lib/commonjs/skia/index.js.map +1 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.d.ts +29 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.js +6 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.js.map +1 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +13 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.js +6 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.js.map +1 -0
- package/lib/commonjs/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/commonjs/skia/types/AnimatedImage/index.js +28 -0
- package/lib/commonjs/skia/types/AnimatedImage/index.js.map +1 -0
- package/lib/commonjs/skia/types/Canvas.d.ts +409 -0
- package/lib/commonjs/skia/types/Canvas.js +17 -0
- package/lib/commonjs/skia/types/Canvas.js.map +1 -0
- package/lib/commonjs/skia/types/Color.d.ts +2 -0
- package/lib/commonjs/skia/types/Color.js +2 -0
- package/lib/commonjs/skia/types/Color.js.map +1 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.d.ts +3 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.js +9 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.js.map +1 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.d.ts +43 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.js +6 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/commonjs/skia/types/ColorFilter/index.js +28 -0
- package/lib/commonjs/skia/types/ColorFilter/index.js.map +1 -0
- package/lib/commonjs/skia/types/ContourMeasure.d.ts +41 -0
- package/lib/commonjs/skia/types/ContourMeasure.js +6 -0
- package/lib/commonjs/skia/types/ContourMeasure.js.map +1 -0
- package/lib/commonjs/skia/types/Data/Data.d.ts +18 -0
- package/lib/commonjs/skia/types/Data/Data.js +15 -0
- package/lib/commonjs/skia/types/Data/Data.js.map +1 -0
- package/lib/commonjs/skia/types/Data/DataFactory.d.ts +18 -0
- package/lib/commonjs/skia/types/Data/DataFactory.js +6 -0
- package/lib/commonjs/skia/types/Data/DataFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Data/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Data/index.js +28 -0
- package/lib/commonjs/skia/types/Data/index.js.map +1 -0
- package/lib/commonjs/skia/types/Font/Font.d.ts +189 -0
- package/lib/commonjs/skia/types/Font/Font.js +63 -0
- package/lib/commonjs/skia/types/Font/Font.js.map +1 -0
- package/lib/commonjs/skia/types/Font/FontMgr.d.ts +8 -0
- package/lib/commonjs/skia/types/Font/FontMgr.js +6 -0
- package/lib/commonjs/skia/types/Font/FontMgr.js.map +1 -0
- package/lib/commonjs/skia/types/Font/FontMgrFactory.d.ts +4 -0
- package/lib/commonjs/skia/types/Font/FontMgrFactory.js +6 -0
- package/lib/commonjs/skia/types/Font/FontMgrFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Font/index.d.ts +3 -0
- package/lib/commonjs/skia/types/Font/index.js +39 -0
- package/lib/commonjs/skia/types/Font/index.js.map +1 -0
- package/lib/commonjs/skia/types/Graphite.d.ts +34 -0
- package/lib/commonjs/skia/types/Graphite.js +6 -0
- package/lib/commonjs/skia/types/Graphite.js.map +1 -0
- package/lib/commonjs/skia/types/Image/ColorType.d.ts +21 -0
- package/lib/commonjs/skia/types/Image/ColorType.js +47 -0
- package/lib/commonjs/skia/types/Image/ColorType.js.map +1 -0
- package/lib/commonjs/skia/types/Image/Image.d.ts +131 -0
- package/lib/commonjs/skia/types/Image/Image.js +47 -0
- package/lib/commonjs/skia/types/Image/Image.js.map +1 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.d.ts +110 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.js +14 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Image/index.d.ts +3 -0
- package/lib/commonjs/skia/types/Image/index.js +39 -0
- package/lib/commonjs/skia/types/Image/index.js.map +1 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.d.ts +23 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js +30 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js.map +1 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.d.ts +367 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js +14 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/commonjs/skia/types/ImageFilter/index.js +28 -0
- package/lib/commonjs/skia/types/ImageFilter/index.js.map +1 -0
- package/lib/commonjs/skia/types/JsiInstance.d.ts +5 -0
- package/lib/commonjs/skia/types/JsiInstance.js +2 -0
- package/lib/commonjs/skia/types/JsiInstance.js.map +1 -0
- package/lib/commonjs/skia/types/MaskFilter.d.ts +21 -0
- package/lib/commonjs/skia/types/MaskFilter.js +23 -0
- package/lib/commonjs/skia/types/MaskFilter.js.map +1 -0
- package/lib/commonjs/skia/types/Matrix.d.ts +23 -0
- package/lib/commonjs/skia/types/Matrix.js +22 -0
- package/lib/commonjs/skia/types/Matrix.js.map +1 -0
- package/lib/commonjs/skia/types/Matrix4.d.ts +122 -0
- package/lib/commonjs/skia/types/Matrix4.js +426 -0
- package/lib/commonjs/skia/types/Matrix4.js.map +1 -0
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.d.ts +29 -0
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.js +15 -0
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -0
- package/lib/commonjs/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/commonjs/skia/types/NativeBuffer/index.js +17 -0
- package/lib/commonjs/skia/types/NativeBuffer/index.js.map +1 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.d.ts +60 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.js +100 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.js.map +1 -0
- package/lib/commonjs/skia/types/Paint/Paint.d.ts +142 -0
- package/lib/commonjs/skia/types/Paint/Paint.js +26 -0
- package/lib/commonjs/skia/types/Paint/Paint.js.map +1 -0
- package/lib/commonjs/skia/types/Paint/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Paint/index.js +28 -0
- package/lib/commonjs/skia/types/Paint/index.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/Paragraph.d.ts +171 -0
- package/lib/commonjs/skia/types/Paragraph/Paragraph.js +6 -0
- package/lib/commonjs/skia/types/Paragraph/Paragraph.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.d.ts +60 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.js +30 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.d.ts +41 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.js +28 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/TextStyle.d.ts +62 -0
- package/lib/commonjs/skia/types/Paragraph/TextStyle.js +27 -0
- package/lib/commonjs/skia/types/Paragraph/TextStyle.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.d.ts +10 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.js +6 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +4 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.js +6 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/commonjs/skia/types/Paragraph/index.js +72 -0
- package/lib/commonjs/skia/types/Paragraph/index.js.map +1 -0
- package/lib/commonjs/skia/types/Path/Path.d.ts +141 -0
- package/lib/commonjs/skia/types/Path/Path.js +44 -0
- package/lib/commonjs/skia/types/Path/Path.js.map +1 -0
- package/lib/commonjs/skia/types/Path/PathBuilder.d.ts +201 -0
- package/lib/commonjs/skia/types/Path/PathBuilder.js +6 -0
- package/lib/commonjs/skia/types/Path/PathBuilder.js.map +1 -0
- package/lib/commonjs/skia/types/Path/PathBuilderFactory.d.ts +13 -0
- package/lib/commonjs/skia/types/Path/PathBuilderFactory.js +6 -0
- package/lib/commonjs/skia/types/Path/PathBuilderFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Path/PathFactory.d.ts +115 -0
- package/lib/commonjs/skia/types/Path/PathFactory.js +6 -0
- package/lib/commonjs/skia/types/Path/PathFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Path/index.d.ts +4 -0
- package/lib/commonjs/skia/types/Path/index.js +50 -0
- package/lib/commonjs/skia/types/Path/index.js.map +1 -0
- package/lib/commonjs/skia/types/PathEffect.d.ts +75 -0
- package/lib/commonjs/skia/types/PathEffect.js +15 -0
- package/lib/commonjs/skia/types/PathEffect.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/Picture.d.ts +27 -0
- package/lib/commonjs/skia/types/Picture/Picture.js +6 -0
- package/lib/commonjs/skia/types/Picture/Picture.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/PictureFactory.d.ts +8 -0
- package/lib/commonjs/skia/types/Picture/PictureFactory.js +6 -0
- package/lib/commonjs/skia/types/Picture/PictureFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/PictureRecorder.d.ts +16 -0
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js +6 -0
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/index.d.ts +3 -0
- package/lib/commonjs/skia/types/Picture/index.js +39 -0
- package/lib/commonjs/skia/types/Picture/index.js.map +1 -0
- package/lib/commonjs/skia/types/Point.d.ts +10 -0
- package/lib/commonjs/skia/types/Point.js +13 -0
- package/lib/commonjs/skia/types/Point.js.map +1 -0
- package/lib/commonjs/skia/types/RRect.d.ts +16 -0
- package/lib/commonjs/skia/types/RRect.js +16 -0
- package/lib/commonjs/skia/types/RRect.js.map +1 -0
- package/lib/commonjs/skia/types/RSXform.d.ts +8 -0
- package/lib/commonjs/skia/types/RSXform.js +6 -0
- package/lib/commonjs/skia/types/RSXform.js.map +1 -0
- package/lib/commonjs/skia/types/Recorder.d.ts +64 -0
- package/lib/commonjs/skia/types/Recorder.js +6 -0
- package/lib/commonjs/skia/types/Recorder.js.map +1 -0
- package/lib/commonjs/skia/types/Rect.d.ts +11 -0
- package/lib/commonjs/skia/types/Rect.js +17 -0
- package/lib/commonjs/skia/types/Rect.js.map +1 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.d.ts +52 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.js +6 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.js.map +1 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +10 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.js +6 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +1 -0
- package/lib/commonjs/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/commonjs/skia/types/RuntimeEffect/index.js +28 -0
- package/lib/commonjs/skia/types/RuntimeEffect/index.js.map +1 -0
- package/lib/commonjs/skia/types/SVG/SVG.d.ts +5 -0
- package/lib/commonjs/skia/types/SVG/SVG.js +6 -0
- package/lib/commonjs/skia/types/SVG/SVG.js.map +1 -0
- package/lib/commonjs/skia/types/SVG/SVGFactory.d.ts +7 -0
- package/lib/commonjs/skia/types/SVG/SVGFactory.js +6 -0
- package/lib/commonjs/skia/types/SVG/SVGFactory.js.map +1 -0
- package/lib/commonjs/skia/types/SVG/index.d.ts +2 -0
- package/lib/commonjs/skia/types/SVG/index.js +28 -0
- package/lib/commonjs/skia/types/SVG/index.js.map +1 -0
- package/lib/commonjs/skia/types/Shader/Shader.d.ts +10 -0
- package/lib/commonjs/skia/types/Shader/Shader.js +52 -0
- package/lib/commonjs/skia/types/Shader/Shader.js.map +1 -0
- package/lib/commonjs/skia/types/Shader/ShaderFactory.d.ts +104 -0
- package/lib/commonjs/skia/types/Shader/ShaderFactory.js +6 -0
- package/lib/commonjs/skia/types/Shader/ShaderFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Shader/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Shader/index.js +28 -0
- package/lib/commonjs/skia/types/Shader/index.js.map +1 -0
- package/lib/commonjs/skia/types/Size.d.ts +4 -0
- package/lib/commonjs/skia/types/Size.js +2 -0
- package/lib/commonjs/skia/types/Size.js.map +1 -0
- package/lib/commonjs/skia/types/Skia.d.ts +90 -0
- package/lib/commonjs/skia/types/Skia.js +6 -0
- package/lib/commonjs/skia/types/Skia.js.map +1 -0
- package/lib/commonjs/skia/types/Skottie.d.ts +223 -0
- package/lib/commonjs/skia/types/Skottie.js +73 -0
- package/lib/commonjs/skia/types/Skottie.js.map +1 -0
- package/lib/commonjs/skia/types/Surface/Surface.d.ts +52 -0
- package/lib/commonjs/skia/types/Surface/Surface.js +6 -0
- package/lib/commonjs/skia/types/Surface/Surface.js.map +1 -0
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.d.ts +42 -0
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js +11 -0
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Surface/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Surface/index.js +28 -0
- package/lib/commonjs/skia/types/Surface/index.js.map +1 -0
- package/lib/commonjs/skia/types/TextBlob.d.ts +44 -0
- package/lib/commonjs/skia/types/TextBlob.js +6 -0
- package/lib/commonjs/skia/types/TextBlob.js.map +1 -0
- package/lib/commonjs/skia/types/Typeface/Typeface.d.ts +11 -0
- package/lib/commonjs/skia/types/Typeface/Typeface.js +6 -0
- package/lib/commonjs/skia/types/Typeface/Typeface.js.map +1 -0
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.d.ts +5 -0
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.js +6 -0
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Typeface/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Typeface/index.js +28 -0
- package/lib/commonjs/skia/types/Typeface/index.js.map +1 -0
- package/lib/commonjs/skia/types/Vertices/Vertices.d.ts +17 -0
- package/lib/commonjs/skia/types/Vertices/Vertices.js +13 -0
- package/lib/commonjs/skia/types/Vertices/Vertices.js.map +1 -0
- package/lib/commonjs/skia/types/Vertices/index.d.ts +1 -0
- package/lib/commonjs/skia/types/Vertices/index.js +17 -0
- package/lib/commonjs/skia/types/Vertices/index.js.map +1 -0
- package/lib/commonjs/skia/types/Video/Video.d.ts +20 -0
- package/lib/commonjs/skia/types/Video/Video.js +6 -0
- package/lib/commonjs/skia/types/Video/Video.js.map +1 -0
- package/lib/commonjs/skia/types/Video/index.d.ts +1 -0
- package/lib/commonjs/skia/types/Video/index.js +17 -0
- package/lib/commonjs/skia/types/Video/index.js.map +1 -0
- package/lib/commonjs/skia/types/index.d.ts +36 -0
- package/lib/commonjs/skia/types/index.js +402 -0
- package/lib/commonjs/skia/types/index.js.map +1 -0
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.d.ts +9 -0
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.js +30 -0
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.js.map +1 -0
- package/lib/commonjs/skia/web/Host.d.ts +19 -0
- package/lib/commonjs/skia/web/Host.js +71 -0
- package/lib/commonjs/skia/web/Host.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.d.ts +11 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js +31 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.js +23 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkCanvas.d.ts +47 -0
- package/lib/commonjs/skia/web/JsiSkCanvas.js +196 -0
- package/lib/commonjs/skia/web/JsiSkCanvas.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/commonjs/skia/web/JsiSkColor.js +304 -0
- package/lib/commonjs/skia/web/JsiSkColor.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.d.ts +6 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.js +14 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.d.ts +14 -0
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.js +36 -0
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js +32 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js +22 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkData.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkData.js +14 -0
- package/lib/commonjs/skia/web/JsiSkData.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkDataFactory.d.ts +19 -0
- package/lib/commonjs/skia/web/JsiSkDataFactory.js +33 -0
- package/lib/commonjs/skia/web/JsiSkDataFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkFont.d.ts +34 -0
- package/lib/commonjs/skia/web/JsiSkFont.js +134 -0
- package/lib/commonjs/skia/web/JsiSkFont.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkFontMgr.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkFontMgr.js +26 -0
- package/lib/commonjs/skia/web/JsiSkFontMgr.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImage.d.ts +17 -0
- package/lib/commonjs/skia/web/JsiSkImage.js +122 -0
- package/lib/commonjs/skia/web/JsiSkImage.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.d.ts +16 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.js +80 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.d.ts +6 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.js +14 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.d.ts +36 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js +151 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.d.ts +6 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js +14 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.js +18 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.d.ts +19 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.js +67 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js +48 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPaint.d.ts +30 -0
- package/lib/commonjs/skia/web/JsiSkPaint.js +167 -0
- package/lib/commonjs/skia/web/JsiSkPaint.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.d.ts +20 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.js +66 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.d.ts +14 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js +60 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.js +27 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.d.ts +5 -0
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js +65 -0
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPath.d.ts +35 -0
- package/lib/commonjs/skia/web/JsiSkPath.js +176 -0
- package/lib/commonjs/skia/web/JsiSkPath.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathBuilder.d.ts +45 -0
- package/lib/commonjs/skia/web/JsiSkPathBuilder.js +192 -0
- package/lib/commonjs/skia/web/JsiSkPathBuilder.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathBuilderFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkPathBuilderFactory.js +26 -0
- package/lib/commonjs/skia/web/JsiSkPathBuilderFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.d.ts +6 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.js +14 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.d.ts +15 -0
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js +63 -0
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.d.ts +25 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.js +177 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPicture.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkPicture.js +25 -0
- package/lib/commonjs/skia/web/JsiSkPicture.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPictureFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkPictureFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkPictureFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.d.ts +11 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js +23 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPoint.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkPoint.js +26 -0
- package/lib/commonjs/skia/web/JsiSkPoint.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRRect.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkRRect.js +47 -0
- package/lib/commonjs/skia/web/JsiSkRRect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.js +38 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRect.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkRect.js +38 -0
- package/lib/commonjs/skia/web/JsiSkRect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.d.ts +16 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js +38 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSVG.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkSVG.js +25 -0
- package/lib/commonjs/skia/web/JsiSkSVG.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSVGFactory.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkSVGFactory.js +56 -0
- package/lib/commonjs/skia/web/JsiSkSVGFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkShader.d.ts +6 -0
- package/lib/commonjs/skia/web/JsiSkShader.js +14 -0
- package/lib/commonjs/skia/web/JsiSkShader.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkShaderFactory.d.ts +16 -0
- package/lib/commonjs/skia/web/JsiSkShaderFactory.js +41 -0
- package/lib/commonjs/skia/web/JsiSkShaderFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSurface.d.ts +14 -0
- package/lib/commonjs/skia/web/JsiSkSurface.js +44 -0
- package/lib/commonjs/skia/web/JsiSkSurface.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js +42 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.d.ts +6 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.js +14 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.js +30 -0
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTextStyle.d.ts +5 -0
- package/lib/commonjs/skia/web/JsiSkTextStyle.js +51 -0
- package/lib/commonjs/skia/web/JsiSkTextStyle.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypeface.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkTypeface.js +25 -0
- package/lib/commonjs/skia/web/JsiSkTypeface.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.d.ts +11 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js +64 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.js +19 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkVertices.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkVertices.js +21 -0
- package/lib/commonjs/skia/web/JsiSkVertices.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.d.ts +4 -0
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.js +30 -0
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkia.d.ts +3 -0
- package/lib/commonjs/skia/web/JsiSkia.js +104 -0
- package/lib/commonjs/skia/web/JsiSkia.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkottieAnimation.d.ts +58 -0
- package/lib/commonjs/skia/web/JsiSkottieAnimation.js +240 -0
- package/lib/commonjs/skia/web/JsiSkottieAnimation.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkottieFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkottieFactory.js +26 -0
- package/lib/commonjs/skia/web/JsiSkottieFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiVideo.d.ts +28 -0
- package/lib/commonjs/skia/web/JsiVideo.js +96 -0
- package/lib/commonjs/skia/web/JsiVideo.js.map +1 -0
- package/lib/commonjs/skia/web/index.d.ts +1 -0
- package/lib/commonjs/skia/web/index.js +17 -0
- package/lib/commonjs/skia/web/index.js.map +1 -0
- package/lib/commonjs/sksg/Container.d.ts +3 -0
- package/lib/commonjs/sksg/Container.js +12 -0
- package/lib/commonjs/sksg/Container.js.map +1 -0
- package/lib/commonjs/sksg/Container.native.d.ts +28 -0
- package/lib/commonjs/sksg/Container.native.js +110 -0
- package/lib/commonjs/sksg/Container.native.js.map +1 -0
- package/lib/commonjs/sksg/Container.web.d.ts +13 -0
- package/lib/commonjs/sksg/Container.web.js +131 -0
- package/lib/commonjs/sksg/Container.web.js.map +1 -0
- package/lib/commonjs/sksg/Elements.d.ts +67 -0
- package/lib/commonjs/sksg/Elements.js +6 -0
- package/lib/commonjs/sksg/Elements.js.map +1 -0
- package/lib/commonjs/sksg/HostConfig.d.ts +19 -0
- package/lib/commonjs/sksg/HostConfig.js +181 -0
- package/lib/commonjs/sksg/HostConfig.js.map +1 -0
- package/lib/commonjs/sksg/Node.d.ts +19 -0
- package/lib/commonjs/sksg/Node.js +78 -0
- package/lib/commonjs/sksg/Node.js.map +1 -0
- package/lib/commonjs/sksg/Reconciler.d.ts +21 -0
- package/lib/commonjs/sksg/Reconciler.js +72 -0
- package/lib/commonjs/sksg/Reconciler.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/Core.d.ts +83 -0
- package/lib/commonjs/sksg/Recorder/Core.js +94 -0
- package/lib/commonjs/sksg/Recorder/Core.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/Debug.d.ts +2 -0
- package/lib/commonjs/sksg/Recorder/Debug.js +86 -0
- package/lib/commonjs/sksg/Recorder/Debug.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/DrawingContext.d.ts +23 -0
- package/lib/commonjs/sksg/Recorder/DrawingContext.js +149 -0
- package/lib/commonjs/sksg/Recorder/DrawingContext.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/FrameScope.d.ts +18 -0
- package/lib/commonjs/sksg/Recorder/FrameScope.js +66 -0
- package/lib/commonjs/sksg/Recorder/FrameScope.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/FrameScope.native.d.ts +10 -0
- package/lib/commonjs/sksg/Recorder/FrameScope.native.js +26 -0
- package/lib/commonjs/sksg/Recorder/FrameScope.native.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/Player.d.ts +3 -0
- package/lib/commonjs/sksg/Recorder/Player.js +185 -0
- package/lib/commonjs/sksg/Recorder/Player.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/ReanimatedRecorder.d.ts +59 -0
- package/lib/commonjs/sksg/Recorder/ReanimatedRecorder.js +214 -0
- package/lib/commonjs/sksg/Recorder/ReanimatedRecorder.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/Recorder.d.ts +68 -0
- package/lib/commonjs/sksg/Recorder/Recorder.js +336 -0
- package/lib/commonjs/sksg/Recorder/Recorder.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/Visitor.d.ts +5 -0
- package/lib/commonjs/sksg/Recorder/Visitor.js +315 -0
- package/lib/commonjs/sksg/Recorder/Visitor.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/commands/Box.d.ts +13 -0
- package/lib/commonjs/sksg/Recorder/commands/Box.js +69 -0
- package/lib/commonjs/sksg/Recorder/commands/Box.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/commands/CTM.d.ts +3 -0
- package/lib/commonjs/sksg/Recorder/commands/CTM.js +79 -0
- package/lib/commonjs/sksg/Recorder/commands/CTM.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/commands/ColorFilters.d.ts +6 -0
- package/lib/commonjs/sksg/Recorder/commands/ColorFilters.js +76 -0
- package/lib/commonjs/sksg/Recorder/commands/ColorFilters.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/commands/Drawing.d.ts +22 -0
- package/lib/commonjs/sksg/Recorder/commands/Drawing.js +370 -0
- package/lib/commonjs/sksg/Recorder/commands/Drawing.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/commands/ImageFilters.d.ts +12 -0
- package/lib/commonjs/sksg/Recorder/commands/ImageFilters.js +207 -0
- package/lib/commonjs/sksg/Recorder/commands/ImageFilters.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/commands/Paint.d.ts +4 -0
- package/lib/commonjs/sksg/Recorder/commands/Paint.js +63 -0
- package/lib/commonjs/sksg/Recorder/commands/Paint.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/commands/PathEffects.d.ts +6 -0
- package/lib/commonjs/sksg/Recorder/commands/PathEffects.js +137 -0
- package/lib/commonjs/sksg/Recorder/commands/PathEffects.js.map +1 -0
- package/lib/commonjs/sksg/Recorder/commands/Shaders.d.ts +5 -0
- package/lib/commonjs/sksg/Recorder/commands/Shaders.js +221 -0
- package/lib/commonjs/sksg/Recorder/commands/Shaders.js.map +1 -0
- package/lib/commonjs/sksg/StaticContainer.d.ts +23 -0
- package/lib/commonjs/sksg/StaticContainer.js +90 -0
- package/lib/commonjs/sksg/StaticContainer.js.map +1 -0
- package/lib/commonjs/sksg/utils.d.ts +10 -0
- package/lib/commonjs/sksg/utils.js +51 -0
- package/lib/commonjs/sksg/utils.js.map +1 -0
- package/lib/commonjs/specs/NativeSkiaModule.d.ts +6 -0
- package/lib/commonjs/specs/NativeSkiaModule.js +10 -0
- package/lib/commonjs/specs/NativeSkiaModule.js.map +1 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.d.ts +25 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.js +104 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.js.map +1 -0
- package/lib/commonjs/specs/SkiaGraphiteViewNativeComponent.d.ts +10 -0
- package/lib/commonjs/specs/SkiaGraphiteViewNativeComponent.js +12 -0
- package/lib/commonjs/specs/SkiaGraphiteViewNativeComponent.js.map +1 -0
- package/lib/commonjs/specs/SkiaGraphiteViewNativeComponent.web.d.ts +9 -0
- package/lib/commonjs/specs/SkiaGraphiteViewNativeComponent.web.js +28 -0
- package/lib/commonjs/specs/SkiaGraphiteViewNativeComponent.web.js.map +1 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.d.ts +14 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js +12 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js.map +1 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.web.d.ts +10 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.web.js +29 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.web.js.map +1 -0
- package/lib/commonjs/views/SkiaGraphiteView.d.ts +20 -0
- package/lib/commonjs/views/SkiaGraphiteView.js +58 -0
- package/lib/commonjs/views/SkiaGraphiteView.js.map +1 -0
- package/lib/commonjs/views/SkiaGraphiteView.web.d.ts +14 -0
- package/lib/commonjs/views/SkiaGraphiteView.web.js +260 -0
- package/lib/commonjs/views/SkiaGraphiteView.web.js.map +1 -0
- package/lib/commonjs/views/SkiaPictureView.d.ts +28 -0
- package/lib/commonjs/views/SkiaPictureView.js +99 -0
- package/lib/commonjs/views/SkiaPictureView.js.map +1 -0
- package/lib/commonjs/views/SkiaPictureView.web.d.ts +11 -0
- package/lib/commonjs/views/SkiaPictureView.web.js +165 -0
- package/lib/commonjs/views/SkiaPictureView.web.js.map +1 -0
- package/lib/commonjs/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/commonjs/views/SkiaViewNativeId.js +10 -0
- package/lib/commonjs/views/SkiaViewNativeId.js.map +1 -0
- package/lib/commonjs/views/SkiaWebRenderer.d.ts +79 -0
- package/lib/commonjs/views/SkiaWebRenderer.js +578 -0
- package/lib/commonjs/views/SkiaWebRenderer.js.map +1 -0
- package/lib/commonjs/views/api.d.ts +5 -0
- package/lib/commonjs/views/api.js +11 -0
- package/lib/commonjs/views/api.js.map +1 -0
- package/lib/commonjs/views/formats.d.ts +1 -0
- package/lib/commonjs/views/formats.js +28 -0
- package/lib/commonjs/views/formats.js.map +1 -0
- package/lib/commonjs/views/index.d.ts +4 -0
- package/lib/commonjs/views/index.js +50 -0
- package/lib/commonjs/views/index.js.map +1 -0
- package/lib/commonjs/views/types.d.ts +69 -0
- package/lib/commonjs/views/types.js +6 -0
- package/lib/commonjs/views/types.js.map +1 -0
- package/lib/commonjs/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/commonjs/web/LoadSkiaWeb.js +27 -0
- package/lib/commonjs/web/LoadSkiaWeb.js.map +1 -0
- package/lib/commonjs/web/WithSkiaWeb.d.ts +19 -0
- package/lib/commonjs/web/WithSkiaWeb.js +36 -0
- package/lib/commonjs/web/WithSkiaWeb.js.map +1 -0
- package/lib/commonjs/web/index.d.ts +2 -0
- package/lib/commonjs/web/index.js +28 -0
- package/lib/commonjs/web/index.js.map +1 -0
- package/lib/module/Platform/IPlatform.d.ts +9 -0
- package/lib/module/Platform/IPlatform.js +2 -0
- package/lib/module/Platform/IPlatform.js.map +1 -0
- package/lib/module/Platform/Platform.d.ts +2 -0
- package/lib/module/Platform/Platform.js +16 -0
- package/lib/module/Platform/Platform.js.map +1 -0
- package/lib/module/Platform/Platform.web.d.ts +2 -0
- package/lib/module/Platform/Platform.web.js +66 -0
- package/lib/module/Platform/Platform.web.js.map +1 -0
- package/lib/module/Platform/index.d.ts +1 -0
- package/lib/module/Platform/index.js +2 -0
- package/lib/module/Platform/index.js.map +1 -0
- package/lib/module/animation/functions/index.d.ts +4 -0
- package/lib/module/animation/functions/index.js +5 -0
- package/lib/module/animation/functions/index.js.map +1 -0
- package/lib/module/animation/functions/interpolate.d.ts +17 -0
- package/lib/module/animation/functions/interpolate.js +123 -0
- package/lib/module/animation/functions/interpolate.js.map +1 -0
- package/lib/module/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/module/animation/functions/interpolateColors.js +27 -0
- package/lib/module/animation/functions/interpolateColors.js.map +1 -0
- package/lib/module/animation/functions/interpolatePaths.d.ts +19 -0
- package/lib/module/animation/functions/interpolatePaths.js +80 -0
- package/lib/module/animation/functions/interpolatePaths.js.map +1 -0
- package/lib/module/animation/functions/interpolateVector.d.ts +10 -0
- package/lib/module/animation/functions/interpolateVector.js +15 -0
- package/lib/module/animation/functions/interpolateVector.js.map +1 -0
- package/lib/module/animation/index.d.ts +1 -0
- package/lib/module/animation/index.js +2 -0
- package/lib/module/animation/index.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Circle.d.ts +6 -0
- package/lib/module/dom/nodes/datatypes/Circle.js +29 -0
- package/lib/module/dom/nodes/datatypes/Circle.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/module/dom/nodes/datatypes/Enum.js +6 -0
- package/lib/module/dom/nodes/datatypes/Enum.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Fitting.d.ts +33 -0
- package/lib/module/dom/nodes/datatypes/Fitting.js +132 -0
- package/lib/module/dom/nodes/datatypes/Fitting.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Gradient.d.ts +253 -0
- package/lib/module/dom/nodes/datatypes/Gradient.js +64 -0
- package/lib/module/dom/nodes/datatypes/Gradient.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Path.d.ts +4 -0
- package/lib/module/dom/nodes/datatypes/Path.js +18 -0
- package/lib/module/dom/nodes/datatypes/Path.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Radius.d.ts +3 -0
- package/lib/module/dom/nodes/datatypes/Radius.js +9 -0
- package/lib/module/dom/nodes/datatypes/Radius.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Rect.d.ts +7 -0
- package/lib/module/dom/nodes/datatypes/Rect.js +57 -0
- package/lib/module/dom/nodes/datatypes/Rect.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Transform.d.ts +4 -0
- package/lib/module/dom/nodes/datatypes/Transform.js +59 -0
- package/lib/module/dom/nodes/datatypes/Transform.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/module/dom/nodes/datatypes/index.js +9 -0
- package/lib/module/dom/nodes/datatypes/index.js.map +1 -0
- package/lib/module/dom/nodes/index.d.ts +2 -0
- package/lib/module/dom/nodes/index.js +3 -0
- package/lib/module/dom/nodes/index.js.map +1 -0
- package/lib/module/dom/types/ColorFilters.d.ts +12 -0
- package/lib/module/dom/types/ColorFilters.js +2 -0
- package/lib/module/dom/types/ColorFilters.js.map +1 -0
- package/lib/module/dom/types/Common.d.ts +60 -0
- package/lib/module/dom/types/Common.js +2 -0
- package/lib/module/dom/types/Common.js.map +1 -0
- package/lib/module/dom/types/Drawings.d.ts +121 -0
- package/lib/module/dom/types/Drawings.js +2 -0
- package/lib/module/dom/types/Drawings.js.map +1 -0
- package/lib/module/dom/types/ImageFilters.d.ts +37 -0
- package/lib/module/dom/types/ImageFilters.js +2 -0
- package/lib/module/dom/types/ImageFilters.js.map +1 -0
- package/lib/module/dom/types/MaskFilters.d.ts +7 -0
- package/lib/module/dom/types/MaskFilters.js +2 -0
- package/lib/module/dom/types/MaskFilters.js.map +1 -0
- package/lib/module/dom/types/Node.d.ts +17 -0
- package/lib/module/dom/types/Node.js +2 -0
- package/lib/module/dom/types/Node.js.map +1 -0
- package/lib/module/dom/types/NodeType.d.ts +61 -0
- package/lib/module/dom/types/NodeType.js +73 -0
- package/lib/module/dom/types/NodeType.js.map +1 -0
- package/lib/module/dom/types/Paragraph.d.ts +8 -0
- package/lib/module/dom/types/Paragraph.js +2 -0
- package/lib/module/dom/types/Paragraph.js.map +1 -0
- package/lib/module/dom/types/PathEffects.d.ts +28 -0
- package/lib/module/dom/types/PathEffects.js +2 -0
- package/lib/module/dom/types/PathEffects.js.map +1 -0
- package/lib/module/dom/types/Shaders.d.ts +58 -0
- package/lib/module/dom/types/Shaders.js +2 -0
- package/lib/module/dom/types/Shaders.js.map +1 -0
- package/lib/module/dom/types/SkDOM.d.ts +73 -0
- package/lib/module/dom/types/SkDOM.js +2 -0
- package/lib/module/dom/types/SkDOM.js.map +1 -0
- package/lib/module/dom/types/index.d.ts +11 -0
- package/lib/module/dom/types/index.js +12 -0
- package/lib/module/dom/types/index.js.map +1 -0
- package/lib/module/external/ModuleProxy.d.ts +10 -0
- package/lib/module/external/ModuleProxy.js +28 -0
- package/lib/module/external/ModuleProxy.js.map +1 -0
- package/lib/module/external/index.d.ts +1 -0
- package/lib/module/external/index.js +2 -0
- package/lib/module/external/index.js.map +1 -0
- package/lib/module/external/reanimated/ReanimatedProxy.d.ts +3 -0
- package/lib/module/external/reanimated/ReanimatedProxy.js +12 -0
- package/lib/module/external/reanimated/ReanimatedProxy.js.map +1 -0
- package/lib/module/external/reanimated/buffers.d.ts +7 -0
- package/lib/module/external/reanimated/buffers.js +40 -0
- package/lib/module/external/reanimated/buffers.js.map +1 -0
- package/lib/module/external/reanimated/index.d.ts +6 -0
- package/lib/module/external/reanimated/index.js +7 -0
- package/lib/module/external/reanimated/index.js.map +1 -0
- package/lib/module/external/reanimated/interpolators.d.ts +16 -0
- package/lib/module/external/reanimated/interpolators.js +81 -0
- package/lib/module/external/reanimated/interpolators.js.map +1 -0
- package/lib/module/external/reanimated/renderHelpers.d.ts +16 -0
- package/lib/module/external/reanimated/renderHelpers.js +44 -0
- package/lib/module/external/reanimated/renderHelpers.js.map +1 -0
- package/lib/module/external/reanimated/textures.d.ts +6 -0
- package/lib/module/external/reanimated/textures.js +72 -0
- package/lib/module/external/reanimated/textures.js.map +1 -0
- package/lib/module/external/reanimated/useAnimatedImageValue.d.ts +3 -0
- package/lib/module/external/reanimated/useAnimatedImageValue.js +45 -0
- package/lib/module/external/reanimated/useAnimatedImageValue.js.map +1 -0
- package/lib/module/external/reanimated/useVideo.d.ts +21 -0
- package/lib/module/external/reanimated/useVideo.js +142 -0
- package/lib/module/external/reanimated/useVideo.js.map +1 -0
- package/lib/module/external/reanimated/useVideoLoading.d.ts +4 -0
- package/lib/module/external/reanimated/useVideoLoading.js +33 -0
- package/lib/module/external/reanimated/useVideoLoading.js.map +1 -0
- package/lib/module/external/reanimated/useVideoLoading.web.d.ts +4 -0
- package/lib/module/external/reanimated/useVideoLoading.web.js +13 -0
- package/lib/module/external/reanimated/useVideoLoading.web.js.map +1 -0
- package/lib/module/headless/index.d.ts +9 -0
- package/lib/module/headless/index.js +36 -0
- package/lib/module/headless/index.js.map +1 -0
- package/lib/module/index.d.ts +14 -0
- package/lib/module/index.js +14 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/mock/index.d.ts +2 -0
- package/lib/module/mock/index.js +75 -0
- package/lib/module/mock/index.js.map +1 -0
- package/lib/module/renderer/Canvas.d.ts +57 -0
- package/lib/module/renderer/Canvas.js +186 -0
- package/lib/module/renderer/Canvas.js.map +1 -0
- package/lib/module/renderer/DefaultCanvas.d.ts +8 -0
- package/lib/module/renderer/DefaultCanvas.js +34 -0
- package/lib/module/renderer/DefaultCanvas.js.map +1 -0
- package/lib/module/renderer/GraphiteCanvas.d.ts +22 -0
- package/lib/module/renderer/GraphiteCanvas.js +57 -0
- package/lib/module/renderer/GraphiteCanvas.js.map +1 -0
- package/lib/module/renderer/GraphiteCanvas.web.d.ts +1 -0
- package/lib/module/renderer/GraphiteCanvas.web.js +4 -0
- package/lib/module/renderer/GraphiteCanvas.web.js.map +1 -0
- package/lib/module/renderer/Offscreen.d.ts +6 -0
- package/lib/module/renderer/Offscreen.js +33 -0
- package/lib/module/renderer/Offscreen.js.map +1 -0
- package/lib/module/renderer/components/Blend.d.ts +4 -0
- package/lib/module/renderer/components/Blend.js +5 -0
- package/lib/module/renderer/components/Blend.js.map +1 -0
- package/lib/module/renderer/components/Group.d.ts +8 -0
- package/lib/module/renderer/components/Group.js +14 -0
- package/lib/module/renderer/components/Group.js.map +1 -0
- package/lib/module/renderer/components/ImageFilter.d.ts +4 -0
- package/lib/module/renderer/components/ImageFilter.js +5 -0
- package/lib/module/renderer/components/ImageFilter.js.map +1 -0
- package/lib/module/renderer/components/Mask.d.ts +10 -0
- package/lib/module/renderer/components/Mask.js +19 -0
- package/lib/module/renderer/components/Mask.js.map +1 -0
- package/lib/module/renderer/components/Paint.d.ts +4 -0
- package/lib/module/renderer/components/Paint.js +5 -0
- package/lib/module/renderer/components/Paint.js.map +1 -0
- package/lib/module/renderer/components/Picture.d.ts +4 -0
- package/lib/module/renderer/components/Picture.js +5 -0
- package/lib/module/renderer/components/Picture.js.map +1 -0
- package/lib/module/renderer/components/Skottie.d.ts +4 -0
- package/lib/module/renderer/components/Skottie.js +5 -0
- package/lib/module/renderer/components/Skottie.js.map +1 -0
- package/lib/module/renderer/components/backdrop/BackdropBlur.d.ts +9 -0
- package/lib/module/renderer/components/backdrop/BackdropBlur.js +17 -0
- package/lib/module/renderer/components/backdrop/BackdropBlur.js.map +1 -0
- package/lib/module/renderer/components/backdrop/BackdropFilter.d.ts +8 -0
- package/lib/module/renderer/components/backdrop/BackdropFilter.js +10 -0
- package/lib/module/renderer/components/backdrop/BackdropFilter.js.map +1 -0
- package/lib/module/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/module/renderer/components/backdrop/index.js +3 -0
- package/lib/module/renderer/components/backdrop/index.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/BlendColor.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/BlendColor.js +5 -0
- package/lib/module/renderer/components/colorFilters/BlendColor.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/Lerp.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/Lerp.js +5 -0
- package/lib/module/renderer/components/colorFilters/Lerp.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.js +5 -0
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.js +5 -0
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/Matrix.d.ts +5 -0
- package/lib/module/renderer/components/colorFilters/Matrix.js +6 -0
- package/lib/module/renderer/components/colorFilters/Matrix.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.js +5 -0
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/module/renderer/components/colorFilters/index.js +7 -0
- package/lib/module/renderer/components/colorFilters/index.js.map +1 -0
- package/lib/module/renderer/components/image/Image.d.ts +4 -0
- package/lib/module/renderer/components/image/Image.js +11 -0
- package/lib/module/renderer/components/image/Image.js.map +1 -0
- package/lib/module/renderer/components/image/ImageSVG.d.ts +4 -0
- package/lib/module/renderer/components/image/ImageSVG.js +5 -0
- package/lib/module/renderer/components/image/ImageSVG.js.map +1 -0
- package/lib/module/renderer/components/image/ImageShader.d.ts +4 -0
- package/lib/module/renderer/components/image/ImageShader.js +17 -0
- package/lib/module/renderer/components/image/ImageShader.js.map +1 -0
- package/lib/module/renderer/components/image/index.d.ts +3 -0
- package/lib/module/renderer/components/image/index.js +4 -0
- package/lib/module/renderer/components/image/index.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Blur.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Blur.js +11 -0
- package/lib/module/renderer/components/imageFilters/Blur.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/DisplacementMap.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/DisplacementMap.js +5 -0
- package/lib/module/renderer/components/imageFilters/DisplacementMap.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Morphology.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Morphology.js +11 -0
- package/lib/module/renderer/components/imageFilters/Morphology.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Offset.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Offset.js +13 -0
- package/lib/module/renderer/components/imageFilters/Offset.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/RuntimeShader.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/RuntimeShader.js +5 -0
- package/lib/module/renderer/components/imageFilters/RuntimeShader.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Shadow.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Shadow.js +5 -0
- package/lib/module/renderer/components/imageFilters/Shadow.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/module/renderer/components/imageFilters/index.js +7 -0
- package/lib/module/renderer/components/imageFilters/index.js.map +1 -0
- package/lib/module/renderer/components/index.d.ts +18 -0
- package/lib/module/renderer/components/index.js +19 -0
- package/lib/module/renderer/components/index.js.map +1 -0
- package/lib/module/renderer/components/maskFilters/Blur.d.ts +4 -0
- package/lib/module/renderer/components/maskFilters/Blur.js +13 -0
- package/lib/module/renderer/components/maskFilters/Blur.js.map +1 -0
- package/lib/module/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/module/renderer/components/maskFilters/index.js +2 -0
- package/lib/module/renderer/components/maskFilters/index.js.map +1 -0
- package/lib/module/renderer/components/paragraph/Paragraph.d.ts +4 -0
- package/lib/module/renderer/components/paragraph/Paragraph.js +5 -0
- package/lib/module/renderer/components/paragraph/Paragraph.js.map +1 -0
- package/lib/module/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/module/renderer/components/paragraph/index.js +2 -0
- package/lib/module/renderer/components/paragraph/index.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Corner.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Corner.js +5 -0
- package/lib/module/renderer/components/pathEffects/Corner.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Dash.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Dash.js +5 -0
- package/lib/module/renderer/components/pathEffects/Dash.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Discrete.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Discrete.js +11 -0
- package/lib/module/renderer/components/pathEffects/Discrete.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Line2D.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Line2D.js +5 -0
- package/lib/module/renderer/components/pathEffects/Line2D.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Path1D.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Path1D.js +5 -0
- package/lib/module/renderer/components/pathEffects/Path1D.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Path2D.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Path2D.js +5 -0
- package/lib/module/renderer/components/pathEffects/Path2D.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Sum.d.ts +3 -0
- package/lib/module/renderer/components/pathEffects/Sum.js +5 -0
- package/lib/module/renderer/components/pathEffects/Sum.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/module/renderer/components/pathEffects/index.js +8 -0
- package/lib/module/renderer/components/pathEffects/index.js.map +1 -0
- package/lib/module/renderer/components/shaders/Color.d.ts +4 -0
- package/lib/module/renderer/components/shaders/Color.js +5 -0
- package/lib/module/renderer/components/shaders/Color.js.map +1 -0
- package/lib/module/renderer/components/shaders/FractalNoise.d.ts +4 -0
- package/lib/module/renderer/components/shaders/FractalNoise.js +15 -0
- package/lib/module/renderer/components/shaders/FractalNoise.js.map +1 -0
- package/lib/module/renderer/components/shaders/LinearGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/LinearGradient.js +5 -0
- package/lib/module/renderer/components/shaders/LinearGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/RadialGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/RadialGradient.js +5 -0
- package/lib/module/renderer/components/shaders/RadialGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/Shader.d.ts +4 -0
- package/lib/module/renderer/components/shaders/Shader.js +11 -0
- package/lib/module/renderer/components/shaders/Shader.js.map +1 -0
- package/lib/module/renderer/components/shaders/ShaderLib.d.ts +4 -0
- package/lib/module/renderer/components/shaders/ShaderLib.js +45 -0
- package/lib/module/renderer/components/shaders/ShaderLib.js.map +1 -0
- package/lib/module/renderer/components/shaders/SweepGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/SweepGradient.js +5 -0
- package/lib/module/renderer/components/shaders/SweepGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/Turbulence.d.ts +4 -0
- package/lib/module/renderer/components/shaders/Turbulence.js +15 -0
- package/lib/module/renderer/components/shaders/Turbulence.js.map +1 -0
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.js +5 -0
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/index.d.ts +9 -0
- package/lib/module/renderer/components/shaders/index.js +10 -0
- package/lib/module/renderer/components/shaders/index.js.map +1 -0
- package/lib/module/renderer/components/shapes/Atlas.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Atlas.js +5 -0
- package/lib/module/renderer/components/shapes/Atlas.js.map +1 -0
- package/lib/module/renderer/components/shapes/Box.d.ts +5 -0
- package/lib/module/renderer/components/shapes/Box.js +8 -0
- package/lib/module/renderer/components/shapes/Box.js.map +1 -0
- package/lib/module/renderer/components/shapes/Circle.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Circle.js +5 -0
- package/lib/module/renderer/components/shapes/Circle.js.map +1 -0
- package/lib/module/renderer/components/shapes/DiffRect.d.ts +4 -0
- package/lib/module/renderer/components/shapes/DiffRect.js +5 -0
- package/lib/module/renderer/components/shapes/DiffRect.js.map +1 -0
- package/lib/module/renderer/components/shapes/Fill.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Fill.js +5 -0
- package/lib/module/renderer/components/shapes/Fill.js.map +1 -0
- package/lib/module/renderer/components/shapes/FitBox.d.ts +13 -0
- package/lib/module/renderer/components/shapes/FitBox.js +48 -0
- package/lib/module/renderer/components/shapes/FitBox.js.map +1 -0
- package/lib/module/renderer/components/shapes/Line.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Line.js +5 -0
- package/lib/module/renderer/components/shapes/Line.js.map +1 -0
- package/lib/module/renderer/components/shapes/Oval.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Oval.js +5 -0
- package/lib/module/renderer/components/shapes/Oval.js.map +1 -0
- package/lib/module/renderer/components/shapes/Patch.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Patch.js +5 -0
- package/lib/module/renderer/components/shapes/Patch.js.map +1 -0
- package/lib/module/renderer/components/shapes/Path.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Path.js +13 -0
- package/lib/module/renderer/components/shapes/Path.js.map +1 -0
- package/lib/module/renderer/components/shapes/Points.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Points.js +11 -0
- package/lib/module/renderer/components/shapes/Points.js.map +1 -0
- package/lib/module/renderer/components/shapes/Rect.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Rect.js +5 -0
- package/lib/module/renderer/components/shapes/Rect.js.map +1 -0
- package/lib/module/renderer/components/shapes/RoundedRect.d.ts +4 -0
- package/lib/module/renderer/components/shapes/RoundedRect.js +5 -0
- package/lib/module/renderer/components/shapes/RoundedRect.js.map +1 -0
- package/lib/module/renderer/components/shapes/Vertices.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Vertices.js +11 -0
- package/lib/module/renderer/components/shapes/Vertices.js.map +1 -0
- package/lib/module/renderer/components/shapes/index.d.ts +14 -0
- package/lib/module/renderer/components/shapes/index.js +15 -0
- package/lib/module/renderer/components/shapes/index.js.map +1 -0
- package/lib/module/renderer/components/text/Glyphs.d.ts +4 -0
- package/lib/module/renderer/components/text/Glyphs.js +13 -0
- package/lib/module/renderer/components/text/Glyphs.js.map +1 -0
- package/lib/module/renderer/components/text/Text.d.ts +4 -0
- package/lib/module/renderer/components/text/Text.js +13 -0
- package/lib/module/renderer/components/text/Text.js.map +1 -0
- package/lib/module/renderer/components/text/TextBlob.d.ts +4 -0
- package/lib/module/renderer/components/text/TextBlob.js +13 -0
- package/lib/module/renderer/components/text/TextBlob.js.map +1 -0
- package/lib/module/renderer/components/text/TextPath.d.ts +4 -0
- package/lib/module/renderer/components/text/TextPath.js +11 -0
- package/lib/module/renderer/components/text/TextPath.js.map +1 -0
- package/lib/module/renderer/components/text/index.d.ts +4 -0
- package/lib/module/renderer/components/text/index.js +5 -0
- package/lib/module/renderer/components/text/index.js.map +1 -0
- package/lib/module/renderer/index.d.ts +1 -0
- package/lib/module/renderer/index.js +2 -0
- package/lib/module/renderer/index.js.map +1 -0
- package/lib/module/renderer/processors/Animations/Animations.d.ts +38 -0
- package/lib/module/renderer/processors/Animations/Animations.js +23 -0
- package/lib/module/renderer/processors/Animations/Animations.js.map +1 -0
- package/lib/module/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/module/renderer/processors/Animations/index.js +2 -0
- package/lib/module/renderer/processors/Animations/index.js.map +1 -0
- package/lib/module/renderer/processors/index.d.ts +2 -0
- package/lib/module/renderer/processors/index.js +3 -0
- package/lib/module/renderer/processors/index.js.map +1 -0
- package/lib/module/renderer/processors/math/Coordinates.d.ts +29 -0
- package/lib/module/renderer/processors/math/Coordinates.js +43 -0
- package/lib/module/renderer/processors/math/Coordinates.js.map +1 -0
- package/lib/module/renderer/processors/math/Math.d.ts +16 -0
- package/lib/module/renderer/processors/math/Math.js +30 -0
- package/lib/module/renderer/processors/math/Math.js.map +1 -0
- package/lib/module/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/module/renderer/processors/math/Transforms.js +14 -0
- package/lib/module/renderer/processors/math/Transforms.js.map +1 -0
- package/lib/module/renderer/processors/math/index.d.ts +3 -0
- package/lib/module/renderer/processors/math/index.js +4 -0
- package/lib/module/renderer/processors/math/index.js.map +1 -0
- package/lib/module/renderer/typeddash.d.ts +3 -0
- package/lib/module/renderer/typeddash.js +29 -0
- package/lib/module/renderer/typeddash.js.map +1 -0
- package/lib/module/skia/NativeSetup.d.ts +1 -0
- package/lib/module/skia/NativeSetup.js +18 -0
- package/lib/module/skia/NativeSetup.js.map +1 -0
- package/lib/module/skia/Skia.d.ts +8 -0
- package/lib/module/skia/Skia.js +8 -0
- package/lib/module/skia/Skia.js.map +1 -0
- package/lib/module/skia/Skia.web.d.ts +1 -0
- package/lib/module/skia/Skia.web.js +3 -0
- package/lib/module/skia/Skia.web.js.map +1 -0
- package/lib/module/skia/SkiaWorkletSerialization.d.ts +1 -0
- package/lib/module/skia/SkiaWorkletSerialization.js +59 -0
- package/lib/module/skia/SkiaWorkletSerialization.js.map +1 -0
- package/lib/module/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/module/skia/core/AnimatedImage.js +9 -0
- package/lib/module/skia/core/AnimatedImage.js.map +1 -0
- package/lib/module/skia/core/Data.d.ts +5 -0
- package/lib/module/skia/core/Data.js +66 -0
- package/lib/module/skia/core/Data.js.map +1 -0
- package/lib/module/skia/core/Font.d.ts +33 -0
- package/lib/module/skia/core/Font.js +116 -0
- package/lib/module/skia/core/Font.js.map +1 -0
- package/lib/module/skia/core/Image.d.ts +16 -0
- package/lib/module/skia/core/Image.js +36 -0
- package/lib/module/skia/core/Image.js.map +1 -0
- package/lib/module/skia/core/Matrix.d.ts +2 -0
- package/lib/module/skia/core/Matrix.js +8 -0
- package/lib/module/skia/core/Matrix.js.map +1 -0
- package/lib/module/skia/core/Picture.d.ts +8 -0
- package/lib/module/skia/core/Picture.js +22 -0
- package/lib/module/skia/core/Picture.js.map +1 -0
- package/lib/module/skia/core/RRect.d.ts +2 -0
- package/lib/module/skia/core/RRect.js +7 -0
- package/lib/module/skia/core/RRect.js.map +1 -0
- package/lib/module/skia/core/Rect.d.ts +8 -0
- package/lib/module/skia/core/Rect.js +43 -0
- package/lib/module/skia/core/Rect.js.map +1 -0
- package/lib/module/skia/core/SVG.d.ts +2 -0
- package/lib/module/skia/core/SVG.js +5 -0
- package/lib/module/skia/core/SVG.js.map +1 -0
- package/lib/module/skia/core/SVG.web.d.ts +2 -0
- package/lib/module/skia/core/SVG.web.js +30 -0
- package/lib/module/skia/core/SVG.web.js.map +1 -0
- package/lib/module/skia/core/Typeface.d.ts +5 -0
- package/lib/module/skia/core/Typeface.js +9 -0
- package/lib/module/skia/core/Typeface.js.map +1 -0
- package/lib/module/skia/core/Vector.d.ts +7 -0
- package/lib/module/skia/core/Vector.js +28 -0
- package/lib/module/skia/core/Vector.js.map +1 -0
- package/lib/module/skia/core/index.d.ts +11 -0
- package/lib/module/skia/core/index.js +12 -0
- package/lib/module/skia/core/index.js.map +1 -0
- package/lib/module/skia/index.d.ts +3 -0
- package/lib/module/skia/index.js +4 -0
- package/lib/module/skia/index.js.map +1 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.d.ts +29 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.js +2 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.js.map +1 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +13 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.js +2 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.js.map +1 -0
- package/lib/module/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/module/skia/types/AnimatedImage/index.js +3 -0
- package/lib/module/skia/types/AnimatedImage/index.js.map +1 -0
- package/lib/module/skia/types/Canvas.d.ts +409 -0
- package/lib/module/skia/types/Canvas.js +11 -0
- package/lib/module/skia/types/Canvas.js.map +1 -0
- package/lib/module/skia/types/Color.d.ts +2 -0
- package/lib/module/skia/types/Color.js +2 -0
- package/lib/module/skia/types/Color.js.map +1 -0
- package/lib/module/skia/types/ColorFilter/ColorFilter.d.ts +3 -0
- package/lib/module/skia/types/ColorFilter/ColorFilter.js +2 -0
- package/lib/module/skia/types/ColorFilter/ColorFilter.js.map +1 -0
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.d.ts +43 -0
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.js +2 -0
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.js.map +1 -0
- package/lib/module/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/module/skia/types/ColorFilter/index.js +3 -0
- package/lib/module/skia/types/ColorFilter/index.js.map +1 -0
- package/lib/module/skia/types/ContourMeasure.d.ts +41 -0
- package/lib/module/skia/types/ContourMeasure.js +2 -0
- package/lib/module/skia/types/ContourMeasure.js.map +1 -0
- package/lib/module/skia/types/Data/Data.d.ts +18 -0
- package/lib/module/skia/types/Data/Data.js +7 -0
- package/lib/module/skia/types/Data/Data.js.map +1 -0
- package/lib/module/skia/types/Data/DataFactory.d.ts +18 -0
- package/lib/module/skia/types/Data/DataFactory.js +2 -0
- package/lib/module/skia/types/Data/DataFactory.js.map +1 -0
- package/lib/module/skia/types/Data/index.d.ts +2 -0
- package/lib/module/skia/types/Data/index.js +3 -0
- package/lib/module/skia/types/Data/index.js.map +1 -0
- package/lib/module/skia/types/Font/Font.d.ts +189 -0
- package/lib/module/skia/types/Font/Font.js +57 -0
- package/lib/module/skia/types/Font/Font.js.map +1 -0
- package/lib/module/skia/types/Font/FontMgr.d.ts +8 -0
- package/lib/module/skia/types/Font/FontMgr.js +2 -0
- package/lib/module/skia/types/Font/FontMgr.js.map +1 -0
- package/lib/module/skia/types/Font/FontMgrFactory.d.ts +4 -0
- package/lib/module/skia/types/Font/FontMgrFactory.js +2 -0
- package/lib/module/skia/types/Font/FontMgrFactory.js.map +1 -0
- package/lib/module/skia/types/Font/index.d.ts +3 -0
- package/lib/module/skia/types/Font/index.js +4 -0
- package/lib/module/skia/types/Font/index.js.map +1 -0
- package/lib/module/skia/types/Graphite.d.ts +34 -0
- package/lib/module/skia/types/Graphite.js +2 -0
- package/lib/module/skia/types/Graphite.js.map +1 -0
- package/lib/module/skia/types/Image/ColorType.d.ts +21 -0
- package/lib/module/skia/types/Image/ColorType.js +41 -0
- package/lib/module/skia/types/Image/ColorType.js.map +1 -0
- package/lib/module/skia/types/Image/Image.d.ts +131 -0
- package/lib/module/skia/types/Image/Image.js +39 -0
- package/lib/module/skia/types/Image/Image.js.map +1 -0
- package/lib/module/skia/types/Image/ImageFactory.d.ts +110 -0
- package/lib/module/skia/types/Image/ImageFactory.js +8 -0
- package/lib/module/skia/types/Image/ImageFactory.js.map +1 -0
- package/lib/module/skia/types/Image/index.d.ts +3 -0
- package/lib/module/skia/types/Image/index.js +4 -0
- package/lib/module/skia/types/Image/index.js.map +1 -0
- package/lib/module/skia/types/ImageFilter/ImageFilter.d.ts +23 -0
- package/lib/module/skia/types/ImageFilter/ImageFilter.js +23 -0
- package/lib/module/skia/types/ImageFilter/ImageFilter.js.map +1 -0
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.d.ts +367 -0
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js +8 -0
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -0
- package/lib/module/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/module/skia/types/ImageFilter/index.js +3 -0
- package/lib/module/skia/types/ImageFilter/index.js.map +1 -0
- package/lib/module/skia/types/JsiInstance.d.ts +5 -0
- package/lib/module/skia/types/JsiInstance.js +2 -0
- package/lib/module/skia/types/JsiInstance.js.map +1 -0
- package/lib/module/skia/types/MaskFilter.d.ts +21 -0
- package/lib/module/skia/types/MaskFilter.js +16 -0
- package/lib/module/skia/types/MaskFilter.js.map +1 -0
- package/lib/module/skia/types/Matrix.d.ts +23 -0
- package/lib/module/skia/types/Matrix.js +13 -0
- package/lib/module/skia/types/Matrix.js.map +1 -0
- package/lib/module/skia/types/Matrix4.d.ts +122 -0
- package/lib/module/skia/types/Matrix4.js +402 -0
- package/lib/module/skia/types/Matrix4.js.map +1 -0
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.d.ts +29 -0
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.js +5 -0
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -0
- package/lib/module/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/module/skia/types/NativeBuffer/index.js +2 -0
- package/lib/module/skia/types/NativeBuffer/index.js.map +1 -0
- package/lib/module/skia/types/Paint/BlendMode.d.ts +60 -0
- package/lib/module/skia/types/Paint/BlendMode.js +94 -0
- package/lib/module/skia/types/Paint/BlendMode.js.map +1 -0
- package/lib/module/skia/types/Paint/Paint.d.ts +142 -0
- package/lib/module/skia/types/Paint/Paint.js +19 -0
- package/lib/module/skia/types/Paint/Paint.js.map +1 -0
- package/lib/module/skia/types/Paint/index.d.ts +2 -0
- package/lib/module/skia/types/Paint/index.js +3 -0
- package/lib/module/skia/types/Paint/index.js.map +1 -0
- package/lib/module/skia/types/Paragraph/Paragraph.d.ts +171 -0
- package/lib/module/skia/types/Paragraph/Paragraph.js +2 -0
- package/lib/module/skia/types/Paragraph/Paragraph.js.map +1 -0
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.d.ts +60 -0
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.js +24 -0
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.js.map +1 -0
- package/lib/module/skia/types/Paragraph/ParagraphStyle.d.ts +41 -0
- package/lib/module/skia/types/Paragraph/ParagraphStyle.js +22 -0
- package/lib/module/skia/types/Paragraph/ParagraphStyle.js.map +1 -0
- package/lib/module/skia/types/Paragraph/TextStyle.d.ts +62 -0
- package/lib/module/skia/types/Paragraph/TextStyle.js +21 -0
- package/lib/module/skia/types/Paragraph/TextStyle.js.map +1 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.d.ts +10 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.js +2 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.js.map +1 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +4 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.js +2 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +1 -0
- package/lib/module/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/module/skia/types/Paragraph/index.js +7 -0
- package/lib/module/skia/types/Paragraph/index.js.map +1 -0
- package/lib/module/skia/types/Path/Path.d.ts +141 -0
- package/lib/module/skia/types/Path/Path.js +38 -0
- package/lib/module/skia/types/Path/Path.js.map +1 -0
- package/lib/module/skia/types/Path/PathBuilder.d.ts +201 -0
- package/lib/module/skia/types/Path/PathBuilder.js +2 -0
- package/lib/module/skia/types/Path/PathBuilder.js.map +1 -0
- package/lib/module/skia/types/Path/PathBuilderFactory.d.ts +13 -0
- package/lib/module/skia/types/Path/PathBuilderFactory.js +2 -0
- package/lib/module/skia/types/Path/PathBuilderFactory.js.map +1 -0
- package/lib/module/skia/types/Path/PathFactory.d.ts +115 -0
- package/lib/module/skia/types/Path/PathFactory.js +2 -0
- package/lib/module/skia/types/Path/PathFactory.js.map +1 -0
- package/lib/module/skia/types/Path/index.d.ts +4 -0
- package/lib/module/skia/types/Path/index.js +5 -0
- package/lib/module/skia/types/Path/index.js.map +1 -0
- package/lib/module/skia/types/PathEffect.d.ts +75 -0
- package/lib/module/skia/types/PathEffect.js +8 -0
- package/lib/module/skia/types/PathEffect.js.map +1 -0
- package/lib/module/skia/types/Picture/Picture.d.ts +27 -0
- package/lib/module/skia/types/Picture/Picture.js +2 -0
- package/lib/module/skia/types/Picture/Picture.js.map +1 -0
- package/lib/module/skia/types/Picture/PictureFactory.d.ts +8 -0
- package/lib/module/skia/types/Picture/PictureFactory.js +2 -0
- package/lib/module/skia/types/Picture/PictureFactory.js.map +1 -0
- package/lib/module/skia/types/Picture/PictureRecorder.d.ts +16 -0
- package/lib/module/skia/types/Picture/PictureRecorder.js +2 -0
- package/lib/module/skia/types/Picture/PictureRecorder.js.map +1 -0
- package/lib/module/skia/types/Picture/index.d.ts +3 -0
- package/lib/module/skia/types/Picture/index.js +4 -0
- package/lib/module/skia/types/Picture/index.js.map +1 -0
- package/lib/module/skia/types/Point.d.ts +10 -0
- package/lib/module/skia/types/Point.js +7 -0
- package/lib/module/skia/types/Point.js.map +1 -0
- package/lib/module/skia/types/RRect.d.ts +16 -0
- package/lib/module/skia/types/RRect.js +9 -0
- package/lib/module/skia/types/RRect.js.map +1 -0
- package/lib/module/skia/types/RSXform.d.ts +8 -0
- package/lib/module/skia/types/RSXform.js +2 -0
- package/lib/module/skia/types/RSXform.js.map +1 -0
- package/lib/module/skia/types/Recorder.d.ts +64 -0
- package/lib/module/skia/types/Recorder.js +2 -0
- package/lib/module/skia/types/Recorder.js.map +1 -0
- package/lib/module/skia/types/Rect.d.ts +11 -0
- package/lib/module/skia/types/Rect.js +10 -0
- package/lib/module/skia/types/Rect.js.map +1 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.d.ts +52 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.js +2 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.js.map +1 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +10 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.js +2 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +1 -0
- package/lib/module/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/module/skia/types/RuntimeEffect/index.js +3 -0
- package/lib/module/skia/types/RuntimeEffect/index.js.map +1 -0
- package/lib/module/skia/types/SVG/SVG.d.ts +5 -0
- package/lib/module/skia/types/SVG/SVG.js +2 -0
- package/lib/module/skia/types/SVG/SVG.js.map +1 -0
- package/lib/module/skia/types/SVG/SVGFactory.d.ts +7 -0
- package/lib/module/skia/types/SVG/SVGFactory.js +2 -0
- package/lib/module/skia/types/SVG/SVGFactory.js.map +1 -0
- package/lib/module/skia/types/SVG/index.d.ts +2 -0
- package/lib/module/skia/types/SVG/index.js +3 -0
- package/lib/module/skia/types/SVG/index.js.map +1 -0
- package/lib/module/skia/types/Shader/Shader.d.ts +10 -0
- package/lib/module/skia/types/Shader/Shader.js +44 -0
- package/lib/module/skia/types/Shader/Shader.js.map +1 -0
- package/lib/module/skia/types/Shader/ShaderFactory.d.ts +104 -0
- package/lib/module/skia/types/Shader/ShaderFactory.js +2 -0
- package/lib/module/skia/types/Shader/ShaderFactory.js.map +1 -0
- package/lib/module/skia/types/Shader/index.d.ts +2 -0
- package/lib/module/skia/types/Shader/index.js +3 -0
- package/lib/module/skia/types/Shader/index.js.map +1 -0
- package/lib/module/skia/types/Size.d.ts +4 -0
- package/lib/module/skia/types/Size.js +2 -0
- package/lib/module/skia/types/Size.js.map +1 -0
- package/lib/module/skia/types/Skia.d.ts +90 -0
- package/lib/module/skia/types/Skia.js +2 -0
- package/lib/module/skia/types/Skia.js.map +1 -0
- package/lib/module/skia/types/Skottie.d.ts +223 -0
- package/lib/module/skia/types/Skottie.js +74 -0
- package/lib/module/skia/types/Skottie.js.map +1 -0
- package/lib/module/skia/types/Surface/Surface.d.ts +52 -0
- package/lib/module/skia/types/Surface/Surface.js +2 -0
- package/lib/module/skia/types/Surface/Surface.js.map +1 -0
- package/lib/module/skia/types/Surface/SurfaceFactory.d.ts +42 -0
- package/lib/module/skia/types/Surface/SurfaceFactory.js +5 -0
- package/lib/module/skia/types/Surface/SurfaceFactory.js.map +1 -0
- package/lib/module/skia/types/Surface/index.d.ts +2 -0
- package/lib/module/skia/types/Surface/index.js +3 -0
- package/lib/module/skia/types/Surface/index.js.map +1 -0
- package/lib/module/skia/types/TextBlob.d.ts +44 -0
- package/lib/module/skia/types/TextBlob.js +2 -0
- package/lib/module/skia/types/TextBlob.js.map +1 -0
- package/lib/module/skia/types/Typeface/Typeface.d.ts +11 -0
- package/lib/module/skia/types/Typeface/Typeface.js +2 -0
- package/lib/module/skia/types/Typeface/Typeface.js.map +1 -0
- package/lib/module/skia/types/Typeface/TypefaceFactory.d.ts +5 -0
- package/lib/module/skia/types/Typeface/TypefaceFactory.js +2 -0
- package/lib/module/skia/types/Typeface/TypefaceFactory.js.map +1 -0
- package/lib/module/skia/types/Typeface/index.d.ts +2 -0
- package/lib/module/skia/types/Typeface/index.js +3 -0
- package/lib/module/skia/types/Typeface/index.js.map +1 -0
- package/lib/module/skia/types/Vertices/Vertices.d.ts +17 -0
- package/lib/module/skia/types/Vertices/Vertices.js +7 -0
- package/lib/module/skia/types/Vertices/Vertices.js.map +1 -0
- package/lib/module/skia/types/Vertices/index.d.ts +1 -0
- package/lib/module/skia/types/Vertices/index.js +2 -0
- package/lib/module/skia/types/Vertices/index.js.map +1 -0
- package/lib/module/skia/types/Video/Video.d.ts +20 -0
- package/lib/module/skia/types/Video/Video.js +2 -0
- package/lib/module/skia/types/Video/Video.js.map +1 -0
- package/lib/module/skia/types/Video/index.d.ts +1 -0
- package/lib/module/skia/types/Video/index.js +2 -0
- package/lib/module/skia/types/Video/index.js.map +1 -0
- package/lib/module/skia/types/index.d.ts +36 -0
- package/lib/module/skia/types/index.js +37 -0
- package/lib/module/skia/types/index.js.map +1 -0
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.d.ts +9 -0
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.js +23 -0
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.js.map +1 -0
- package/lib/module/skia/web/Host.d.ts +19 -0
- package/lib/module/skia/web/Host.js +59 -0
- package/lib/module/skia/web/Host.js.map +1 -0
- package/lib/module/skia/web/JsiSkAnimatedImage.d.ts +11 -0
- package/lib/module/skia/web/JsiSkAnimatedImage.js +24 -0
- package/lib/module/skia/web/JsiSkAnimatedImage.js.map +1 -0
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.js +16 -0
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkCanvas.d.ts +47 -0
- package/lib/module/skia/web/JsiSkCanvas.js +189 -0
- package/lib/module/skia/web/JsiSkCanvas.js.map +1 -0
- package/lib/module/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/module/skia/web/JsiSkColor.js +297 -0
- package/lib/module/skia/web/JsiSkColor.js.map +1 -0
- package/lib/module/skia/web/JsiSkColorFilter.d.ts +6 -0
- package/lib/module/skia/web/JsiSkColorFilter.js +7 -0
- package/lib/module/skia/web/JsiSkColorFilter.js.map +1 -0
- package/lib/module/skia/web/JsiSkColorFilterFactory.d.ts +14 -0
- package/lib/module/skia/web/JsiSkColorFilterFactory.js +29 -0
- package/lib/module/skia/web/JsiSkColorFilterFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkContourMeasure.d.ts +12 -0
- package/lib/module/skia/web/JsiSkContourMeasure.js +25 -0
- package/lib/module/skia/web/JsiSkContourMeasure.js.map +1 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.d.ts +8 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.js +15 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.js.map +1 -0
- package/lib/module/skia/web/JsiSkData.d.ts +8 -0
- package/lib/module/skia/web/JsiSkData.js +7 -0
- package/lib/module/skia/web/JsiSkData.js.map +1 -0
- package/lib/module/skia/web/JsiSkDataFactory.d.ts +19 -0
- package/lib/module/skia/web/JsiSkDataFactory.js +26 -0
- package/lib/module/skia/web/JsiSkDataFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkFont.d.ts +34 -0
- package/lib/module/skia/web/JsiSkFont.js +127 -0
- package/lib/module/skia/web/JsiSkFont.js.map +1 -0
- package/lib/module/skia/web/JsiSkFontMgr.d.ts +10 -0
- package/lib/module/skia/web/JsiSkFontMgr.js +19 -0
- package/lib/module/skia/web/JsiSkFontMgr.js.map +1 -0
- package/lib/module/skia/web/JsiSkFontMgrFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkFontMgrFactory.js +15 -0
- package/lib/module/skia/web/JsiSkFontMgrFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkImage.d.ts +17 -0
- package/lib/module/skia/web/JsiSkImage.js +115 -0
- package/lib/module/skia/web/JsiSkImage.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFactory.d.ts +16 -0
- package/lib/module/skia/web/JsiSkImageFactory.js +73 -0
- package/lib/module/skia/web/JsiSkImageFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFilter.d.ts +6 -0
- package/lib/module/skia/web/JsiSkImageFilter.js +7 -0
- package/lib/module/skia/web/JsiSkImageFilter.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.d.ts +36 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.js +144 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkMaskFilter.d.ts +6 -0
- package/lib/module/skia/web/JsiSkMaskFilter.js +7 -0
- package/lib/module/skia/web/JsiSkMaskFilter.js.map +1 -0
- package/lib/module/skia/web/JsiSkMaskFilterFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkMaskFilterFactory.js +11 -0
- package/lib/module/skia/web/JsiSkMaskFilterFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkMatrix.d.ts +19 -0
- package/lib/module/skia/web/JsiSkMatrix.js +60 -0
- package/lib/module/skia/web/JsiSkMatrix.js.map +1 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js +41 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPaint.d.ts +30 -0
- package/lib/module/skia/web/JsiSkPaint.js +161 -0
- package/lib/module/skia/web/JsiSkPaint.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraph.d.ts +20 -0
- package/lib/module/skia/web/JsiSkParagraph.js +59 -0
- package/lib/module/skia/web/JsiSkParagraph.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.d.ts +14 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.js +53 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.js +20 -0
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraphStyle.d.ts +5 -0
- package/lib/module/skia/web/JsiSkParagraphStyle.js +58 -0
- package/lib/module/skia/web/JsiSkParagraphStyle.js.map +1 -0
- package/lib/module/skia/web/JsiSkPath.d.ts +35 -0
- package/lib/module/skia/web/JsiSkPath.js +168 -0
- package/lib/module/skia/web/JsiSkPath.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathBuilder.d.ts +45 -0
- package/lib/module/skia/web/JsiSkPathBuilder.js +186 -0
- package/lib/module/skia/web/JsiSkPathBuilder.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathBuilderFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkPathBuilderFactory.js +19 -0
- package/lib/module/skia/web/JsiSkPathBuilderFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathEffect.d.ts +6 -0
- package/lib/module/skia/web/JsiSkPathEffect.js +7 -0
- package/lib/module/skia/web/JsiSkPathEffect.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathEffectFactory.d.ts +15 -0
- package/lib/module/skia/web/JsiSkPathEffectFactory.js +56 -0
- package/lib/module/skia/web/JsiSkPathEffectFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathFactory.d.ts +25 -0
- package/lib/module/skia/web/JsiSkPathFactory.js +170 -0
- package/lib/module/skia/web/JsiSkPathFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPicture.d.ts +9 -0
- package/lib/module/skia/web/JsiSkPicture.js +18 -0
- package/lib/module/skia/web/JsiSkPicture.js.map +1 -0
- package/lib/module/skia/web/JsiSkPictureFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkPictureFactory.js +15 -0
- package/lib/module/skia/web/JsiSkPictureFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.d.ts +11 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.js +16 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.js.map +1 -0
- package/lib/module/skia/web/JsiSkPoint.d.ts +9 -0
- package/lib/module/skia/web/JsiSkPoint.js +19 -0
- package/lib/module/skia/web/JsiSkPoint.js.map +1 -0
- package/lib/module/skia/web/JsiSkRRect.d.ts +12 -0
- package/lib/module/skia/web/JsiSkRRect.js +40 -0
- package/lib/module/skia/web/JsiSkRRect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRSXform.d.ts +13 -0
- package/lib/module/skia/web/JsiSkRSXform.js +31 -0
- package/lib/module/skia/web/JsiSkRSXform.js.map +1 -0
- package/lib/module/skia/web/JsiSkRect.d.ts +12 -0
- package/lib/module/skia/web/JsiSkRect.js +31 -0
- package/lib/module/skia/web/JsiSkRect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.d.ts +16 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.js +31 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.js +15 -0
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkSVG.d.ts +9 -0
- package/lib/module/skia/web/JsiSkSVG.js +18 -0
- package/lib/module/skia/web/JsiSkSVG.js.map +1 -0
- package/lib/module/skia/web/JsiSkSVGFactory.d.ts +10 -0
- package/lib/module/skia/web/JsiSkSVGFactory.js +49 -0
- package/lib/module/skia/web/JsiSkSVGFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkShader.d.ts +6 -0
- package/lib/module/skia/web/JsiSkShader.js +7 -0
- package/lib/module/skia/web/JsiSkShader.js.map +1 -0
- package/lib/module/skia/web/JsiSkShaderFactory.d.ts +16 -0
- package/lib/module/skia/web/JsiSkShaderFactory.js +34 -0
- package/lib/module/skia/web/JsiSkShaderFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkSurface.d.ts +14 -0
- package/lib/module/skia/web/JsiSkSurface.js +37 -0
- package/lib/module/skia/web/JsiSkSurface.js.map +1 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.d.ts +10 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.js +35 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkTextBlob.d.ts +6 -0
- package/lib/module/skia/web/JsiSkTextBlob.js +7 -0
- package/lib/module/skia/web/JsiSkTextBlob.js.map +1 -0
- package/lib/module/skia/web/JsiSkTextBlobFactory.d.ts +13 -0
- package/lib/module/skia/web/JsiSkTextBlobFactory.js +23 -0
- package/lib/module/skia/web/JsiSkTextBlobFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkTextStyle.d.ts +5 -0
- package/lib/module/skia/web/JsiSkTextStyle.js +44 -0
- package/lib/module/skia/web/JsiSkTextStyle.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypeface.d.ts +9 -0
- package/lib/module/skia/web/JsiSkTypeface.js +18 -0
- package/lib/module/skia/web/JsiSkTypeface.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypefaceFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkTypefaceFactory.js +15 -0
- package/lib/module/skia/web/JsiSkTypefaceFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.d.ts +11 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js +57 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +7 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.js +12 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkVertices.d.ts +9 -0
- package/lib/module/skia/web/JsiSkVertices.js +14 -0
- package/lib/module/skia/web/JsiSkVertices.js.map +1 -0
- package/lib/module/skia/web/JsiSkVerticesFactory.d.ts +4 -0
- package/lib/module/skia/web/JsiSkVerticesFactory.js +23 -0
- package/lib/module/skia/web/JsiSkVerticesFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkia.d.ts +3 -0
- package/lib/module/skia/web/JsiSkia.js +97 -0
- package/lib/module/skia/web/JsiSkia.js.map +1 -0
- package/lib/module/skia/web/JsiSkottieAnimation.d.ts +58 -0
- package/lib/module/skia/web/JsiSkottieAnimation.js +233 -0
- package/lib/module/skia/web/JsiSkottieAnimation.js.map +1 -0
- package/lib/module/skia/web/JsiSkottieFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkottieFactory.js +19 -0
- package/lib/module/skia/web/JsiSkottieFactory.js.map +1 -0
- package/lib/module/skia/web/JsiVideo.d.ts +28 -0
- package/lib/module/skia/web/JsiVideo.js +88 -0
- package/lib/module/skia/web/JsiVideo.js.map +1 -0
- package/lib/module/skia/web/index.d.ts +1 -0
- package/lib/module/skia/web/index.js +2 -0
- package/lib/module/skia/web/index.js.map +1 -0
- package/lib/module/sksg/Container.d.ts +3 -0
- package/lib/module/sksg/Container.js +5 -0
- package/lib/module/sksg/Container.js.map +1 -0
- package/lib/module/sksg/Container.native.d.ts +28 -0
- package/lib/module/sksg/Container.native.js +103 -0
- package/lib/module/sksg/Container.native.js.map +1 -0
- package/lib/module/sksg/Container.web.d.ts +13 -0
- package/lib/module/sksg/Container.web.js +124 -0
- package/lib/module/sksg/Container.web.js.map +1 -0
- package/lib/module/sksg/Elements.d.ts +67 -0
- package/lib/module/sksg/Elements.js +2 -0
- package/lib/module/sksg/Elements.js.map +1 -0
- package/lib/module/sksg/HostConfig.d.ts +19 -0
- package/lib/module/sksg/HostConfig.js +173 -0
- package/lib/module/sksg/HostConfig.js.map +1 -0
- package/lib/module/sksg/Node.d.ts +19 -0
- package/lib/module/sksg/Node.js +67 -0
- package/lib/module/sksg/Node.js.map +1 -0
- package/lib/module/sksg/Reconciler.d.ts +21 -0
- package/lib/module/sksg/Reconciler.js +64 -0
- package/lib/module/sksg/Reconciler.js.map +1 -0
- package/lib/module/sksg/Recorder/Core.d.ts +83 -0
- package/lib/module/sksg/Recorder/Core.js +84 -0
- package/lib/module/sksg/Recorder/Core.js.map +1 -0
- package/lib/module/sksg/Recorder/Debug.d.ts +2 -0
- package/lib/module/sksg/Recorder/Debug.js +79 -0
- package/lib/module/sksg/Recorder/Debug.js.map +1 -0
- package/lib/module/sksg/Recorder/DrawingContext.d.ts +23 -0
- package/lib/module/sksg/Recorder/DrawingContext.js +142 -0
- package/lib/module/sksg/Recorder/DrawingContext.js.map +1 -0
- package/lib/module/sksg/Recorder/FrameScope.d.ts +18 -0
- package/lib/module/sksg/Recorder/FrameScope.js +59 -0
- package/lib/module/sksg/Recorder/FrameScope.js.map +1 -0
- package/lib/module/sksg/Recorder/FrameScope.native.d.ts +10 -0
- package/lib/module/sksg/Recorder/FrameScope.native.js +19 -0
- package/lib/module/sksg/Recorder/FrameScope.native.js.map +1 -0
- package/lib/module/sksg/Recorder/Player.d.ts +3 -0
- package/lib/module/sksg/Recorder/Player.js +179 -0
- package/lib/module/sksg/Recorder/Player.js.map +1 -0
- package/lib/module/sksg/Recorder/ReanimatedRecorder.d.ts +59 -0
- package/lib/module/sksg/Recorder/ReanimatedRecorder.js +208 -0
- package/lib/module/sksg/Recorder/ReanimatedRecorder.js.map +1 -0
- package/lib/module/sksg/Recorder/Recorder.d.ts +68 -0
- package/lib/module/sksg/Recorder/Recorder.js +328 -0
- package/lib/module/sksg/Recorder/Recorder.js.map +1 -0
- package/lib/module/sksg/Recorder/Visitor.d.ts +5 -0
- package/lib/module/sksg/Recorder/Visitor.js +307 -0
- package/lib/module/sksg/Recorder/Visitor.js.map +1 -0
- package/lib/module/sksg/Recorder/commands/Box.d.ts +13 -0
- package/lib/module/sksg/Recorder/commands/Box.js +61 -0
- package/lib/module/sksg/Recorder/commands/Box.js.map +1 -0
- package/lib/module/sksg/Recorder/commands/CTM.d.ts +3 -0
- package/lib/module/sksg/Recorder/commands/CTM.js +72 -0
- package/lib/module/sksg/Recorder/commands/CTM.js.map +1 -0
- package/lib/module/sksg/Recorder/commands/ColorFilters.d.ts +6 -0
- package/lib/module/sksg/Recorder/commands/ColorFilters.js +67 -0
- package/lib/module/sksg/Recorder/commands/ColorFilters.js.map +1 -0
- package/lib/module/sksg/Recorder/commands/Drawing.d.ts +22 -0
- package/lib/module/sksg/Recorder/commands/Drawing.js +344 -0
- package/lib/module/sksg/Recorder/commands/Drawing.js.map +1 -0
- package/lib/module/sksg/Recorder/commands/ImageFilters.d.ts +12 -0
- package/lib/module/sksg/Recorder/commands/ImageFilters.js +197 -0
- package/lib/module/sksg/Recorder/commands/ImageFilters.js.map +1 -0
- package/lib/module/sksg/Recorder/commands/Paint.d.ts +4 -0
- package/lib/module/sksg/Recorder/commands/Paint.js +56 -0
- package/lib/module/sksg/Recorder/commands/Paint.js.map +1 -0
- package/lib/module/sksg/Recorder/commands/PathEffects.d.ts +6 -0
- package/lib/module/sksg/Recorder/commands/PathEffects.js +128 -0
- package/lib/module/sksg/Recorder/commands/PathEffects.js.map +1 -0
- package/lib/module/sksg/Recorder/commands/Shaders.d.ts +5 -0
- package/lib/module/sksg/Recorder/commands/Shaders.js +213 -0
- package/lib/module/sksg/Recorder/commands/Shaders.js.map +1 -0
- package/lib/module/sksg/StaticContainer.d.ts +23 -0
- package/lib/module/sksg/StaticContainer.js +82 -0
- package/lib/module/sksg/StaticContainer.js.map +1 -0
- package/lib/module/sksg/utils.d.ts +10 -0
- package/lib/module/sksg/utils.js +41 -0
- package/lib/module/sksg/utils.js.map +1 -0
- package/lib/module/specs/NativeSkiaModule.d.ts +6 -0
- package/lib/module/specs/NativeSkiaModule.js +4 -0
- package/lib/module/specs/NativeSkiaModule.js.map +1 -0
- package/lib/module/specs/NativeSkiaModule.web.d.ts +25 -0
- package/lib/module/specs/NativeSkiaModule.web.js +98 -0
- package/lib/module/specs/NativeSkiaModule.web.js.map +1 -0
- package/lib/module/specs/SkiaGraphiteViewNativeComponent.d.ts +10 -0
- package/lib/module/specs/SkiaGraphiteViewNativeComponent.js +8 -0
- package/lib/module/specs/SkiaGraphiteViewNativeComponent.js.map +1 -0
- package/lib/module/specs/SkiaGraphiteViewNativeComponent.web.d.ts +9 -0
- package/lib/module/specs/SkiaGraphiteViewNativeComponent.web.js +22 -0
- package/lib/module/specs/SkiaGraphiteViewNativeComponent.web.js.map +1 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.d.ts +14 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.js +8 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.js.map +1 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.web.d.ts +10 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.web.js +23 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.web.js.map +1 -0
- package/lib/module/views/SkiaGraphiteView.d.ts +20 -0
- package/lib/module/views/SkiaGraphiteView.js +49 -0
- package/lib/module/views/SkiaGraphiteView.js.map +1 -0
- package/lib/module/views/SkiaGraphiteView.web.d.ts +14 -0
- package/lib/module/views/SkiaGraphiteView.web.js +254 -0
- package/lib/module/views/SkiaGraphiteView.web.js.map +1 -0
- package/lib/module/views/SkiaPictureView.d.ts +28 -0
- package/lib/module/views/SkiaPictureView.js +91 -0
- package/lib/module/views/SkiaPictureView.js.map +1 -0
- package/lib/module/views/SkiaPictureView.web.d.ts +11 -0
- package/lib/module/views/SkiaPictureView.web.js +156 -0
- package/lib/module/views/SkiaPictureView.web.js.map +1 -0
- package/lib/module/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/module/views/SkiaViewNativeId.js +4 -0
- package/lib/module/views/SkiaViewNativeId.js.map +1 -0
- package/lib/module/views/SkiaWebRenderer.d.ts +79 -0
- package/lib/module/views/SkiaWebRenderer.js +571 -0
- package/lib/module/views/SkiaWebRenderer.js.map +1 -0
- package/lib/module/views/api.d.ts +5 -0
- package/lib/module/views/api.js +4 -0
- package/lib/module/views/api.js.map +1 -0
- package/lib/module/views/formats.d.ts +1 -0
- package/lib/module/views/formats.js +22 -0
- package/lib/module/views/formats.js.map +1 -0
- package/lib/module/views/index.d.ts +4 -0
- package/lib/module/views/index.js +5 -0
- package/lib/module/views/index.js.map +1 -0
- package/lib/module/views/types.d.ts +69 -0
- package/lib/module/views/types.js +2 -0
- package/lib/module/views/types.js.map +1 -0
- package/lib/module/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/module/web/LoadSkiaWeb.js +18 -0
- package/lib/module/web/LoadSkiaWeb.js.map +1 -0
- package/lib/module/web/WithSkiaWeb.d.ts +19 -0
- package/lib/module/web/WithSkiaWeb.js +28 -0
- package/lib/module/web/WithSkiaWeb.js.map +1 -0
- package/lib/module/web/index.d.ts +2 -0
- package/lib/module/web/index.js +3 -0
- package/lib/module/web/index.js.map +1 -0
- package/lib/typescript/eslint.config.d.mts +2 -0
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/jestEnv.d.ts +5 -0
- package/lib/typescript/jestSetup.d.mts +1 -0
- package/lib/typescript/jestSetup.d.ts +1 -0
- package/lib/typescript/react-native.config.d.ts +3 -0
- package/lib/typescript/src/Platform/IPlatform.d.ts +9 -0
- package/lib/typescript/src/Platform/Platform.d.ts +2 -0
- package/lib/typescript/src/Platform/Platform.web.d.ts +2 -0
- package/lib/typescript/src/Platform/index.d.ts +1 -0
- package/lib/typescript/src/animation/functions/index.d.ts +4 -0
- package/lib/typescript/src/animation/functions/interpolate.d.ts +17 -0
- package/lib/typescript/src/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/typescript/src/animation/functions/interpolatePaths.d.ts +19 -0
- package/lib/typescript/src/animation/functions/interpolateVector.d.ts +10 -0
- package/lib/typescript/src/animation/index.d.ts +1 -0
- package/lib/typescript/src/dom/nodes/datatypes/Circle.d.ts +6 -0
- package/lib/typescript/src/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/typescript/src/dom/nodes/datatypes/Fitting.d.ts +33 -0
- package/lib/typescript/src/dom/nodes/datatypes/Gradient.d.ts +253 -0
- package/lib/typescript/src/dom/nodes/datatypes/Path.d.ts +4 -0
- package/lib/typescript/src/dom/nodes/datatypes/Radius.d.ts +3 -0
- package/lib/typescript/src/dom/nodes/datatypes/Rect.d.ts +7 -0
- package/lib/typescript/src/dom/nodes/datatypes/Transform.d.ts +4 -0
- package/lib/typescript/src/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/index.d.ts +2 -0
- package/lib/typescript/src/dom/types/ColorFilters.d.ts +12 -0
- package/lib/typescript/src/dom/types/Common.d.ts +60 -0
- package/lib/typescript/src/dom/types/Drawings.d.ts +121 -0
- package/lib/typescript/src/dom/types/ImageFilters.d.ts +37 -0
- package/lib/typescript/src/dom/types/MaskFilters.d.ts +7 -0
- package/lib/typescript/src/dom/types/Node.d.ts +17 -0
- package/lib/typescript/src/dom/types/NodeType.d.ts +61 -0
- package/lib/typescript/src/dom/types/Paragraph.d.ts +8 -0
- package/lib/typescript/src/dom/types/PathEffects.d.ts +28 -0
- package/lib/typescript/src/dom/types/Shaders.d.ts +58 -0
- package/lib/typescript/src/dom/types/SkDOM.d.ts +73 -0
- package/lib/typescript/src/dom/types/index.d.ts +11 -0
- package/lib/typescript/src/external/ModuleProxy.d.ts +10 -0
- package/lib/typescript/src/external/index.d.ts +1 -0
- package/lib/typescript/src/external/reanimated/ReanimatedProxy.d.ts +3 -0
- package/lib/typescript/src/external/reanimated/buffers.d.ts +7 -0
- package/lib/typescript/src/external/reanimated/index.d.ts +6 -0
- package/lib/typescript/src/external/reanimated/interpolators.d.ts +16 -0
- package/lib/typescript/src/external/reanimated/renderHelpers.d.ts +16 -0
- package/lib/typescript/src/external/reanimated/textures.d.ts +6 -0
- package/lib/typescript/src/external/reanimated/useAnimatedImageValue.d.ts +3 -0
- package/lib/typescript/src/external/reanimated/useVideo.d.ts +21 -0
- package/lib/typescript/src/external/reanimated/useVideoLoading.d.ts +4 -0
- package/lib/typescript/src/external/reanimated/useVideoLoading.web.d.ts +4 -0
- package/lib/typescript/src/headless/index.d.ts +9 -0
- package/lib/typescript/src/index.d.ts +14 -0
- package/lib/typescript/src/mock/index.d.ts +2 -0
- package/lib/typescript/src/renderer/Canvas.d.ts +57 -0
- package/lib/typescript/src/renderer/DefaultCanvas.d.ts +8 -0
- package/lib/typescript/src/renderer/GraphiteCanvas.d.ts +22 -0
- package/lib/typescript/src/renderer/GraphiteCanvas.web.d.ts +1 -0
- package/lib/typescript/src/renderer/Offscreen.d.ts +6 -0
- package/lib/typescript/src/renderer/components/Blend.d.ts +4 -0
- package/lib/typescript/src/renderer/components/Group.d.ts +8 -0
- package/lib/typescript/src/renderer/components/ImageFilter.d.ts +4 -0
- package/lib/typescript/src/renderer/components/Mask.d.ts +10 -0
- package/lib/typescript/src/renderer/components/Paint.d.ts +4 -0
- package/lib/typescript/src/renderer/components/Picture.d.ts +4 -0
- package/lib/typescript/src/renderer/components/Skottie.d.ts +4 -0
- package/lib/typescript/src/renderer/components/backdrop/BackdropBlur.d.ts +9 -0
- package/lib/typescript/src/renderer/components/backdrop/BackdropFilter.d.ts +8 -0
- package/lib/typescript/src/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/typescript/src/renderer/components/colorFilters/BlendColor.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/Lerp.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/LumaColorFilter.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/Matrix.d.ts +5 -0
- package/lib/typescript/src/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/typescript/src/renderer/components/image/Image.d.ts +4 -0
- package/lib/typescript/src/renderer/components/image/ImageSVG.d.ts +4 -0
- package/lib/typescript/src/renderer/components/image/ImageShader.d.ts +4 -0
- package/lib/typescript/src/renderer/components/image/index.d.ts +3 -0
- package/lib/typescript/src/renderer/components/imageFilters/Blur.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/DisplacementMap.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/Morphology.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/Offset.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/RuntimeShader.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/Shadow.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/typescript/src/renderer/components/index.d.ts +18 -0
- package/lib/typescript/src/renderer/components/maskFilters/Blur.d.ts +4 -0
- package/lib/typescript/src/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/typescript/src/renderer/components/paragraph/Paragraph.d.ts +4 -0
- package/lib/typescript/src/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/typescript/src/renderer/components/pathEffects/Corner.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Dash.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Discrete.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Line2D.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Path1D.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Path2D.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Sum.d.ts +3 -0
- package/lib/typescript/src/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/typescript/src/renderer/components/shaders/Color.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/FractalNoise.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/LinearGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/RadialGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/Shader.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/ShaderLib.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/SweepGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/Turbulence.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/TwoPointConicalGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/index.d.ts +9 -0
- package/lib/typescript/src/renderer/components/shapes/Atlas.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Box.d.ts +5 -0
- package/lib/typescript/src/renderer/components/shapes/Circle.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/DiffRect.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Fill.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/FitBox.d.ts +13 -0
- package/lib/typescript/src/renderer/components/shapes/Line.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Oval.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Patch.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Path.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Points.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Rect.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/RoundedRect.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Vertices.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/index.d.ts +14 -0
- package/lib/typescript/src/renderer/components/text/Glyphs.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/Text.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/TextBlob.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/TextPath.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/index.d.ts +4 -0
- package/lib/typescript/src/renderer/index.d.ts +1 -0
- package/lib/typescript/src/renderer/processors/Animations/Animations.d.ts +38 -0
- package/lib/typescript/src/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/typescript/src/renderer/processors/index.d.ts +2 -0
- package/lib/typescript/src/renderer/processors/math/Coordinates.d.ts +29 -0
- package/lib/typescript/src/renderer/processors/math/Math.d.ts +16 -0
- package/lib/typescript/src/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/typescript/src/renderer/processors/math/index.d.ts +3 -0
- package/lib/typescript/src/renderer/typeddash.d.ts +3 -0
- package/lib/typescript/src/skia/NativeSetup.d.ts +1 -0
- package/lib/typescript/src/skia/Skia.d.ts +8 -0
- package/lib/typescript/src/skia/Skia.web.d.ts +1 -0
- package/lib/typescript/src/skia/SkiaWorkletSerialization.d.ts +1 -0
- package/lib/typescript/src/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/typescript/src/skia/core/Data.d.ts +5 -0
- package/lib/typescript/src/skia/core/Font.d.ts +33 -0
- package/lib/typescript/src/skia/core/Image.d.ts +16 -0
- package/lib/typescript/src/skia/core/Matrix.d.ts +2 -0
- package/lib/typescript/src/skia/core/Picture.d.ts +8 -0
- package/lib/typescript/src/skia/core/RRect.d.ts +2 -0
- package/lib/typescript/src/skia/core/Rect.d.ts +8 -0
- package/lib/typescript/src/skia/core/SVG.d.ts +2 -0
- package/lib/typescript/src/skia/core/SVG.web.d.ts +2 -0
- package/lib/typescript/src/skia/core/Typeface.d.ts +5 -0
- package/lib/typescript/src/skia/core/Vector.d.ts +7 -0
- package/lib/typescript/src/skia/core/index.d.ts +11 -0
- package/lib/typescript/src/skia/index.d.ts +3 -0
- package/lib/typescript/src/skia/types/AnimatedImage/AnimatedImage.d.ts +29 -0
- package/lib/typescript/src/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +13 -0
- package/lib/typescript/src/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Canvas.d.ts +409 -0
- package/lib/typescript/src/skia/types/Color.d.ts +2 -0
- package/lib/typescript/src/skia/types/ColorFilter/ColorFilter.d.ts +3 -0
- package/lib/typescript/src/skia/types/ColorFilter/ColorFilterFactory.d.ts +43 -0
- package/lib/typescript/src/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/ContourMeasure.d.ts +41 -0
- package/lib/typescript/src/skia/types/Data/Data.d.ts +18 -0
- package/lib/typescript/src/skia/types/Data/DataFactory.d.ts +18 -0
- package/lib/typescript/src/skia/types/Data/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Font/Font.d.ts +189 -0
- package/lib/typescript/src/skia/types/Font/FontMgr.d.ts +8 -0
- package/lib/typescript/src/skia/types/Font/FontMgrFactory.d.ts +4 -0
- package/lib/typescript/src/skia/types/Font/index.d.ts +3 -0
- package/lib/typescript/src/skia/types/Graphite.d.ts +34 -0
- package/lib/typescript/src/skia/types/Image/ColorType.d.ts +21 -0
- package/lib/typescript/src/skia/types/Image/Image.d.ts +131 -0
- package/lib/typescript/src/skia/types/Image/ImageFactory.d.ts +110 -0
- package/lib/typescript/src/skia/types/Image/index.d.ts +3 -0
- package/lib/typescript/src/skia/types/ImageFilter/ImageFilter.d.ts +23 -0
- package/lib/typescript/src/skia/types/ImageFilter/ImageFilterFactory.d.ts +367 -0
- package/lib/typescript/src/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/JsiInstance.d.ts +5 -0
- package/lib/typescript/src/skia/types/MaskFilter.d.ts +21 -0
- package/lib/typescript/src/skia/types/Matrix.d.ts +23 -0
- package/lib/typescript/src/skia/types/Matrix4.d.ts +122 -0
- package/lib/typescript/src/skia/types/NativeBuffer/NativeBufferFactory.d.ts +29 -0
- package/lib/typescript/src/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/Paint/BlendMode.d.ts +60 -0
- package/lib/typescript/src/skia/types/Paint/Paint.d.ts +142 -0
- package/lib/typescript/src/skia/types/Paint/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Paragraph/Paragraph.d.ts +171 -0
- package/lib/typescript/src/skia/types/Paragraph/ParagraphBuilder.d.ts +60 -0
- package/lib/typescript/src/skia/types/Paragraph/ParagraphStyle.d.ts +41 -0
- package/lib/typescript/src/skia/types/Paragraph/TextStyle.d.ts +62 -0
- package/lib/typescript/src/skia/types/Paragraph/TypefaceFontProvider.d.ts +10 -0
- package/lib/typescript/src/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +4 -0
- package/lib/typescript/src/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/typescript/src/skia/types/Path/Path.d.ts +141 -0
- package/lib/typescript/src/skia/types/Path/PathBuilder.d.ts +201 -0
- package/lib/typescript/src/skia/types/Path/PathBuilderFactory.d.ts +13 -0
- package/lib/typescript/src/skia/types/Path/PathFactory.d.ts +115 -0
- package/lib/typescript/src/skia/types/Path/index.d.ts +4 -0
- package/lib/typescript/src/skia/types/PathEffect.d.ts +75 -0
- package/lib/typescript/src/skia/types/Picture/Picture.d.ts +27 -0
- package/lib/typescript/src/skia/types/Picture/PictureFactory.d.ts +8 -0
- package/lib/typescript/src/skia/types/Picture/PictureRecorder.d.ts +16 -0
- package/lib/typescript/src/skia/types/Picture/index.d.ts +3 -0
- package/lib/typescript/src/skia/types/Point.d.ts +10 -0
- package/lib/typescript/src/skia/types/RRect.d.ts +16 -0
- package/lib/typescript/src/skia/types/RSXform.d.ts +8 -0
- package/lib/typescript/src/skia/types/Recorder.d.ts +64 -0
- package/lib/typescript/src/skia/types/Rect.d.ts +11 -0
- package/lib/typescript/src/skia/types/RuntimeEffect/RuntimeEffect.d.ts +52 -0
- package/lib/typescript/src/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +10 -0
- package/lib/typescript/src/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/SVG/SVG.d.ts +5 -0
- package/lib/typescript/src/skia/types/SVG/SVGFactory.d.ts +7 -0
- package/lib/typescript/src/skia/types/SVG/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Shader/Shader.d.ts +10 -0
- package/lib/typescript/src/skia/types/Shader/ShaderFactory.d.ts +104 -0
- package/lib/typescript/src/skia/types/Shader/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Size.d.ts +4 -0
- package/lib/typescript/src/skia/types/Skia.d.ts +90 -0
- package/lib/typescript/src/skia/types/Skottie.d.ts +223 -0
- package/lib/typescript/src/skia/types/Surface/Surface.d.ts +52 -0
- package/lib/typescript/src/skia/types/Surface/SurfaceFactory.d.ts +42 -0
- package/lib/typescript/src/skia/types/Surface/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/TextBlob.d.ts +44 -0
- package/lib/typescript/src/skia/types/Typeface/Typeface.d.ts +11 -0
- package/lib/typescript/src/skia/types/Typeface/TypefaceFactory.d.ts +5 -0
- package/lib/typescript/src/skia/types/Typeface/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Vertices/Vertices.d.ts +17 -0
- package/lib/typescript/src/skia/types/Vertices/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/Video/Video.d.ts +20 -0
- package/lib/typescript/src/skia/types/Video/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/index.d.ts +36 -0
- package/lib/typescript/src/skia/web/CanvasKitWebGLBufferImpl.d.ts +9 -0
- package/lib/typescript/src/skia/web/Host.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkAnimatedImage.d.ts +11 -0
- package/lib/typescript/src/skia/web/JsiSkAnimatedImageFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkCanvas.d.ts +47 -0
- package/lib/typescript/src/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/typescript/src/skia/web/JsiSkColorFilter.d.ts +6 -0
- package/lib/typescript/src/skia/web/JsiSkColorFilterFactory.d.ts +14 -0
- package/lib/typescript/src/skia/web/JsiSkContourMeasure.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkContourMeasureIter.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkData.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkDataFactory.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkFont.d.ts +34 -0
- package/lib/typescript/src/skia/web/JsiSkFontMgr.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkFontMgrFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkImage.d.ts +17 -0
- package/lib/typescript/src/skia/web/JsiSkImageFactory.d.ts +16 -0
- package/lib/typescript/src/skia/web/JsiSkImageFilter.d.ts +6 -0
- package/lib/typescript/src/skia/web/JsiSkImageFilterFactory.d.ts +36 -0
- package/lib/typescript/src/skia/web/JsiSkMaskFilter.d.ts +6 -0
- package/lib/typescript/src/skia/web/JsiSkMaskFilterFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkMatrix.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkNativeBufferFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkPaint.d.ts +30 -0
- package/lib/typescript/src/skia/web/JsiSkParagraph.d.ts +20 -0
- package/lib/typescript/src/skia/web/JsiSkParagraphBuilder.d.ts +14 -0
- package/lib/typescript/src/skia/web/JsiSkParagraphBuilderFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkParagraphStyle.d.ts +5 -0
- package/lib/typescript/src/skia/web/JsiSkPath.d.ts +35 -0
- package/lib/typescript/src/skia/web/JsiSkPathBuilder.d.ts +45 -0
- package/lib/typescript/src/skia/web/JsiSkPathBuilderFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkPathEffect.d.ts +6 -0
- package/lib/typescript/src/skia/web/JsiSkPathEffectFactory.d.ts +15 -0
- package/lib/typescript/src/skia/web/JsiSkPathFactory.d.ts +25 -0
- package/lib/typescript/src/skia/web/JsiSkPicture.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkPictureFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkPictureRecorder.d.ts +11 -0
- package/lib/typescript/src/skia/web/JsiSkPoint.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkRRect.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkRSXform.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkRect.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkRuntimeEffect.d.ts +16 -0
- package/lib/typescript/src/skia/web/JsiSkRuntimeEffectFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkSVG.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkSVGFactory.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkShader.d.ts +6 -0
- package/lib/typescript/src/skia/web/JsiSkShaderFactory.d.ts +16 -0
- package/lib/typescript/src/skia/web/JsiSkSurface.d.ts +14 -0
- package/lib/typescript/src/skia/web/JsiSkSurfaceFactory.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkTextBlob.d.ts +6 -0
- package/lib/typescript/src/skia/web/JsiSkTextBlobFactory.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkTextStyle.d.ts +5 -0
- package/lib/typescript/src/skia/web/JsiSkTypeface.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFontProvider.d.ts +11 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkVertices.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkVerticesFactory.d.ts +4 -0
- package/lib/typescript/src/skia/web/JsiSkia.d.ts +3 -0
- package/lib/typescript/src/skia/web/JsiSkottieAnimation.d.ts +58 -0
- package/lib/typescript/src/skia/web/JsiSkottieFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiVideo.d.ts +28 -0
- package/lib/typescript/src/skia/web/index.d.ts +1 -0
- package/lib/typescript/src/sksg/Container.d.ts +3 -0
- package/lib/typescript/src/sksg/Container.native.d.ts +28 -0
- package/lib/typescript/src/sksg/Container.web.d.ts +13 -0
- package/lib/typescript/src/sksg/Elements.d.ts +67 -0
- package/lib/typescript/src/sksg/HostConfig.d.ts +19 -0
- package/lib/typescript/src/sksg/Node.d.ts +19 -0
- package/lib/typescript/src/sksg/Reconciler.d.ts +21 -0
- package/lib/typescript/src/sksg/Recorder/Core.d.ts +83 -0
- package/lib/typescript/src/sksg/Recorder/Debug.d.ts +2 -0
- package/lib/typescript/src/sksg/Recorder/DrawingContext.d.ts +23 -0
- package/lib/typescript/src/sksg/Recorder/FrameScope.d.ts +18 -0
- package/lib/typescript/src/sksg/Recorder/FrameScope.native.d.ts +10 -0
- package/lib/typescript/src/sksg/Recorder/Player.d.ts +3 -0
- package/lib/typescript/src/sksg/Recorder/ReanimatedRecorder.d.ts +59 -0
- package/lib/typescript/src/sksg/Recorder/Recorder.d.ts +68 -0
- package/lib/typescript/src/sksg/Recorder/Visitor.d.ts +5 -0
- package/lib/typescript/src/sksg/Recorder/commands/Box.d.ts +13 -0
- package/lib/typescript/src/sksg/Recorder/commands/CTM.d.ts +3 -0
- package/lib/typescript/src/sksg/Recorder/commands/ColorFilters.d.ts +6 -0
- package/lib/typescript/src/sksg/Recorder/commands/Drawing.d.ts +22 -0
- package/lib/typescript/src/sksg/Recorder/commands/ImageFilters.d.ts +12 -0
- package/lib/typescript/src/sksg/Recorder/commands/Paint.d.ts +4 -0
- package/lib/typescript/src/sksg/Recorder/commands/PathEffects.d.ts +6 -0
- package/lib/typescript/src/sksg/Recorder/commands/Shaders.d.ts +5 -0
- package/lib/typescript/src/sksg/StaticContainer.d.ts +23 -0
- package/lib/typescript/src/sksg/utils.d.ts +10 -0
- package/lib/typescript/src/specs/NativeSkiaModule.d.ts +6 -0
- package/lib/typescript/src/specs/NativeSkiaModule.web.d.ts +25 -0
- package/lib/typescript/src/specs/SkiaGraphiteViewNativeComponent.d.ts +10 -0
- package/lib/typescript/src/specs/SkiaGraphiteViewNativeComponent.web.d.ts +9 -0
- package/lib/typescript/src/specs/SkiaPictureViewNativeComponent.d.ts +14 -0
- package/lib/typescript/src/specs/SkiaPictureViewNativeComponent.web.d.ts +10 -0
- package/lib/typescript/src/views/SkiaGraphiteView.d.ts +20 -0
- package/lib/typescript/src/views/SkiaGraphiteView.web.d.ts +14 -0
- package/lib/typescript/src/views/SkiaPictureView.d.ts +28 -0
- package/lib/typescript/src/views/SkiaPictureView.web.d.ts +11 -0
- package/lib/typescript/src/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/typescript/src/views/SkiaWebRenderer.d.ts +79 -0
- package/lib/typescript/src/views/api.d.ts +5 -0
- package/lib/typescript/src/views/formats.d.ts +1 -0
- package/lib/typescript/src/views/index.d.ts +4 -0
- package/lib/typescript/src/views/types.d.ts +69 -0
- package/lib/typescript/src/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/typescript/src/web/WithSkiaWeb.d.ts +19 -0
- package/lib/typescript/src/web/index.d.ts +2 -0
- package/libs/.graphite +1 -0
- package/package.json +182 -11
- package/react-native-skia.podspec +203 -0
- package/react-native.config.js +5 -0
- package/scripts/setup-canvaskit.js +111 -0
- package/src/Platform/IPlatform.ts +15 -0
- package/src/Platform/Platform.ts +26 -0
- package/src/Platform/Platform.web.tsx +66 -0
- package/src/Platform/index.ts +1 -0
- package/src/animation/functions/index.ts +4 -0
- package/src/animation/functions/interpolate.ts +185 -0
- package/src/animation/functions/interpolateColors.ts +61 -0
- package/src/animation/functions/interpolatePaths.ts +115 -0
- package/src/animation/functions/interpolateVector.ts +31 -0
- package/src/animation/index.ts +1 -0
- package/src/dom/nodes/datatypes/Circle.ts +16 -0
- package/src/dom/nodes/datatypes/Enum.ts +4 -0
- package/src/dom/nodes/datatypes/Fitting.ts +131 -0
- package/src/dom/nodes/datatypes/Gradient.ts +64 -0
- package/src/dom/nodes/datatypes/Path.ts +21 -0
- package/src/dom/nodes/datatypes/Radius.ts +10 -0
- package/src/dom/nodes/datatypes/Rect.ts +84 -0
- package/src/dom/nodes/datatypes/Transform.ts +54 -0
- package/src/dom/nodes/datatypes/index.ts +8 -0
- package/src/dom/nodes/index.ts +2 -0
- package/src/dom/types/ColorFilters.ts +16 -0
- package/src/dom/types/Common.ts +94 -0
- package/src/dom/types/Drawings.ts +178 -0
- package/src/dom/types/ImageFilters.ts +54 -0
- package/src/dom/types/MaskFilters.ts +9 -0
- package/src/dom/types/Node.ts +23 -0
- package/src/dom/types/NodeType.ts +78 -0
- package/src/dom/types/Paragraph.ts +10 -0
- package/src/dom/types/PathEffects.ts +35 -0
- package/src/dom/types/Shaders.ts +84 -0
- package/src/dom/types/SkDOM.ts +184 -0
- package/src/dom/types/index.ts +11 -0
- package/src/external/ModuleProxy.ts +30 -0
- package/src/external/index.ts +1 -0
- package/src/external/reanimated/ReanimatedProxy.ts +18 -0
- package/src/external/reanimated/buffers.ts +58 -0
- package/src/external/reanimated/index.ts +6 -0
- package/src/external/reanimated/interpolators.ts +144 -0
- package/src/external/reanimated/renderHelpers.ts +49 -0
- package/src/external/reanimated/textures.tsx +95 -0
- package/src/external/reanimated/useAnimatedImageValue.ts +53 -0
- package/src/external/reanimated/useVideo.ts +161 -0
- package/src/external/reanimated/useVideoLoading.ts +39 -0
- package/src/external/reanimated/useVideoLoading.web.ts +17 -0
- package/src/headless/index.ts +41 -0
- package/src/index.ts +14 -0
- package/src/mock/index.ts +73 -0
- package/src/renderer/Canvas.tsx +239 -0
- package/src/renderer/DefaultCanvas.tsx +41 -0
- package/src/renderer/GraphiteCanvas.tsx +61 -0
- package/src/renderer/GraphiteCanvas.web.tsx +3 -0
- package/src/renderer/Offscreen.tsx +46 -0
- package/src/renderer/components/Blend.tsx +8 -0
- package/src/renderer/components/Group.tsx +21 -0
- package/src/renderer/components/ImageFilter.tsx +8 -0
- package/src/renderer/components/Mask.tsx +43 -0
- package/src/renderer/components/Paint.tsx +8 -0
- package/src/renderer/components/Picture.tsx +8 -0
- package/src/renderer/components/Skottie.tsx +8 -0
- package/src/renderer/components/backdrop/BackdropBlur.tsx +24 -0
- package/src/renderer/components/backdrop/BackdropFilter.tsx +23 -0
- package/src/renderer/components/backdrop/index.ts +2 -0
- package/src/renderer/components/colorFilters/BlendColor.tsx +8 -0
- package/src/renderer/components/colorFilters/Lerp.tsx +8 -0
- package/src/renderer/components/colorFilters/LinearToSRGBGamma.tsx +8 -0
- package/src/renderer/components/colorFilters/LumaColorFilter.tsx +8 -0
- package/src/renderer/components/colorFilters/Matrix.tsx +31 -0
- package/src/renderer/components/colorFilters/SRGBToLinearGamma.tsx +8 -0
- package/src/renderer/components/colorFilters/index.ts +6 -0
- package/src/renderer/components/image/Image.tsx +8 -0
- package/src/renderer/components/image/ImageSVG.tsx +8 -0
- package/src/renderer/components/image/ImageShader.tsx +16 -0
- package/src/renderer/components/image/index.ts +3 -0
- package/src/renderer/components/imageFilters/Blur.tsx +11 -0
- package/src/renderer/components/imageFilters/DisplacementMap.tsx +10 -0
- package/src/renderer/components/imageFilters/Morphology.tsx +11 -0
- package/src/renderer/components/imageFilters/Offset.tsx +12 -0
- package/src/renderer/components/imageFilters/RuntimeShader.tsx +10 -0
- package/src/renderer/components/imageFilters/Shadow.tsx +8 -0
- package/src/renderer/components/imageFilters/index.ts +6 -0
- package/src/renderer/components/index.ts +20 -0
- package/src/renderer/components/maskFilters/Blur.tsx +12 -0
- package/src/renderer/components/maskFilters/index.ts +1 -0
- package/src/renderer/components/paragraph/Paragraph.tsx +8 -0
- package/src/renderer/components/paragraph/index.ts +1 -0
- package/src/renderer/components/pathEffects/Corner.tsx +8 -0
- package/src/renderer/components/pathEffects/Dash.tsx +8 -0
- package/src/renderer/components/pathEffects/Discrete.tsx +11 -0
- package/src/renderer/components/pathEffects/Line2D.tsx +8 -0
- package/src/renderer/components/pathEffects/Path1D.tsx +8 -0
- package/src/renderer/components/pathEffects/Path2D.tsx +8 -0
- package/src/renderer/components/pathEffects/Sum.tsx +7 -0
- package/src/renderer/components/pathEffects/index.ts +7 -0
- package/src/renderer/components/shaders/Color.tsx +8 -0
- package/src/renderer/components/shaders/FractalNoise.tsx +23 -0
- package/src/renderer/components/shaders/LinearGradient.tsx +8 -0
- package/src/renderer/components/shaders/RadialGradient.tsx +8 -0
- package/src/renderer/components/shaders/Shader.tsx +11 -0
- package/src/renderer/components/shaders/ShaderLib.ts +46 -0
- package/src/renderer/components/shaders/SweepGradient.tsx +8 -0
- package/src/renderer/components/shaders/Turbulence.tsx +20 -0
- package/src/renderer/components/shaders/TwoPointConicalGradient.tsx +10 -0
- package/src/renderer/components/shaders/index.ts +9 -0
- package/src/renderer/components/shapes/Atlas.tsx +8 -0
- package/src/renderer/components/shapes/Box.tsx +12 -0
- package/src/renderer/components/shapes/Circle.tsx +8 -0
- package/src/renderer/components/shapes/DiffRect.tsx +8 -0
- package/src/renderer/components/shapes/Fill.tsx +8 -0
- package/src/renderer/components/shapes/FitBox.tsx +58 -0
- package/src/renderer/components/shapes/Line.tsx +8 -0
- package/src/renderer/components/shapes/Oval.tsx +8 -0
- package/src/renderer/components/shapes/Patch.tsx +8 -0
- package/src/renderer/components/shapes/Path.tsx +12 -0
- package/src/renderer/components/shapes/Points.tsx +11 -0
- package/src/renderer/components/shapes/Rect.tsx +8 -0
- package/src/renderer/components/shapes/RoundedRect.tsx +8 -0
- package/src/renderer/components/shapes/Vertices.tsx +11 -0
- package/src/renderer/components/shapes/index.ts +14 -0
- package/src/renderer/components/text/Glyphs.tsx +12 -0
- package/src/renderer/components/text/Text.tsx +12 -0
- package/src/renderer/components/text/TextBlob.tsx +12 -0
- package/src/renderer/components/text/TextPath.tsx +11 -0
- package/src/renderer/components/text/index.ts +4 -0
- package/src/renderer/index.ts +1 -0
- package/src/renderer/processors/Animations/Animations.ts +56 -0
- package/src/renderer/processors/Animations/index.ts +1 -0
- package/src/renderer/processors/index.ts +2 -0
- package/src/renderer/processors/math/Coordinates.ts +48 -0
- package/src/renderer/processors/math/Math.ts +31 -0
- package/src/renderer/processors/math/Transforms.ts +9 -0
- package/src/renderer/processors/math/index.ts +3 -0
- package/src/renderer/typeddash.ts +27 -0
- package/src/skia/NativeSetup.ts +24 -0
- package/src/skia/Skia.ts +11 -0
- package/src/skia/Skia.web.ts +3 -0
- package/src/skia/SkiaWorkletSerialization.ts +67 -0
- package/src/skia/core/AnimatedImage.ts +16 -0
- package/src/skia/core/Data.ts +103 -0
- package/src/skia/core/Font.ts +160 -0
- package/src/skia/core/Image.ts +55 -0
- package/src/skia/core/Matrix.ts +8 -0
- package/src/skia/core/Picture.ts +24 -0
- package/src/skia/core/RRect.tsx +7 -0
- package/src/skia/core/Rect.ts +50 -0
- package/src/skia/core/SVG.ts +11 -0
- package/src/skia/core/SVG.web.ts +37 -0
- package/src/skia/core/Typeface.ts +14 -0
- package/src/skia/core/Vector.ts +24 -0
- package/src/skia/core/index.ts +11 -0
- package/src/skia/index.ts +3 -0
- package/src/skia/types/AnimatedImage/AnimatedImage.ts +35 -0
- package/src/skia/types/AnimatedImage/AnimatedImageFactory.ts +15 -0
- package/src/skia/types/AnimatedImage/index.ts +2 -0
- package/src/skia/types/Canvas.ts +544 -0
- package/src/skia/types/Color.ts +4 -0
- package/src/skia/types/ColorFilter/ColorFilter.ts +7 -0
- package/src/skia/types/ColorFilter/ColorFilterFactory.ts +52 -0
- package/src/skia/types/ColorFilter/index.ts +2 -0
- package/src/skia/types/ContourMeasure.tsx +47 -0
- package/src/skia/types/Data/Data.ts +31 -0
- package/src/skia/types/Data/DataFactory.ts +19 -0
- package/src/skia/types/Data/index.ts +2 -0
- package/src/skia/types/Font/Font.ts +229 -0
- package/src/skia/types/Font/FontMgr.ts +10 -0
- package/src/skia/types/Font/FontMgrFactory.ts +5 -0
- package/src/skia/types/Font/index.ts +3 -0
- package/src/skia/types/Graphite.ts +36 -0
- package/src/skia/types/Image/ColorType.ts +21 -0
- package/src/skia/types/Image/Image.ts +159 -0
- package/src/skia/types/Image/ImageFactory.ts +128 -0
- package/src/skia/types/Image/index.ts +3 -0
- package/src/skia/types/ImageFilter/ImageFilter.ts +31 -0
- package/src/skia/types/ImageFilter/ImageFilterFactory.ts +562 -0
- package/src/skia/types/ImageFilter/index.ts +2 -0
- package/src/skia/types/JsiInstance.ts +6 -0
- package/src/skia/types/MaskFilter.ts +27 -0
- package/src/skia/types/Matrix.ts +41 -0
- package/src/skia/types/Matrix4.ts +599 -0
- package/src/skia/types/NativeBuffer/NativeBufferFactory.ts +52 -0
- package/src/skia/types/NativeBuffer/index.ts +1 -0
- package/src/skia/types/Paint/BlendMode.ts +65 -0
- package/src/skia/types/Paint/Paint.ts +172 -0
- package/src/skia/types/Paint/index.ts +2 -0
- package/src/skia/types/Paragraph/Paragraph.ts +182 -0
- package/src/skia/types/Paragraph/ParagraphBuilder.ts +96 -0
- package/src/skia/types/Paragraph/ParagraphStyle.ts +45 -0
- package/src/skia/types/Paragraph/TextStyle.ts +70 -0
- package/src/skia/types/Paragraph/TypefaceFontProvider.ts +11 -0
- package/src/skia/types/Paragraph/TypefaceFontProviderFactory.ts +5 -0
- package/src/skia/types/Paragraph/index.ts +6 -0
- package/src/skia/types/Path/Path.ts +162 -0
- package/src/skia/types/Path/PathBuilder.ts +303 -0
- package/src/skia/types/Path/PathBuilderFactory.ts +15 -0
- package/src/skia/types/Path/PathFactory.ts +141 -0
- package/src/skia/types/Path/index.ts +4 -0
- package/src/skia/types/PathEffect.ts +97 -0
- package/src/skia/types/Picture/Picture.ts +35 -0
- package/src/skia/types/Picture/PictureFactory.ts +9 -0
- package/src/skia/types/Picture/PictureRecorder.ts +19 -0
- package/src/skia/types/Picture/index.ts +3 -0
- package/src/skia/types/Point.ts +12 -0
- package/src/skia/types/RRect.ts +29 -0
- package/src/skia/types/RSXform.ts +9 -0
- package/src/skia/types/Recorder.ts +109 -0
- package/src/skia/types/Rect.ts +26 -0
- package/src/skia/types/RuntimeEffect/RuntimeEffect.ts +65 -0
- package/src/skia/types/RuntimeEffect/RuntimeEffectFactory.ts +12 -0
- package/src/skia/types/RuntimeEffect/index.ts +2 -0
- package/src/skia/types/SVG/SVG.ts +6 -0
- package/src/skia/types/SVG/SVGFactory.ts +17 -0
- package/src/skia/types/SVG/index.ts +2 -0
- package/src/skia/types/Shader/Shader.ts +63 -0
- package/src/skia/types/Shader/ShaderFactory.ts +169 -0
- package/src/skia/types/Shader/index.ts +2 -0
- package/src/skia/types/Size.ts +4 -0
- package/src/skia/types/Skia.ts +113 -0
- package/src/skia/types/Skottie.ts +266 -0
- package/src/skia/types/Surface/Surface.ts +58 -0
- package/src/skia/types/Surface/SurfaceFactory.ts +52 -0
- package/src/skia/types/Surface/index.ts +2 -0
- package/src/skia/types/TextBlob.ts +52 -0
- package/src/skia/types/Typeface/Typeface.ts +12 -0
- package/src/skia/types/Typeface/TypefaceFactory.ts +7 -0
- package/src/skia/types/Typeface/index.ts +2 -0
- package/src/skia/types/Vertices/Vertices.tsx +20 -0
- package/src/skia/types/Vertices/index.ts +1 -0
- package/src/skia/types/Video/Video.ts +19 -0
- package/src/skia/types/Video/index.ts +1 -0
- package/src/skia/types/index.ts +36 -0
- package/src/skia/web/CanvasKitWebGLBufferImpl.ts +25 -0
- package/src/skia/web/Host.ts +95 -0
- package/src/skia/web/JsiSkAnimatedImage.ts +35 -0
- package/src/skia/web/JsiSkAnimatedImageFactory.ts +27 -0
- package/src/skia/web/JsiSkCanvas.ts +471 -0
- package/src/skia/web/JsiSkColor.ts +340 -0
- package/src/skia/web/JsiSkColorFilter.ts +14 -0
- package/src/skia/web/JsiSkColorFilterFactory.ts +80 -0
- package/src/skia/web/JsiSkContourMeasure.ts +39 -0
- package/src/skia/web/JsiSkContourMeasureIter.ts +23 -0
- package/src/skia/web/JsiSkData.ts +13 -0
- package/src/skia/web/JsiSkDataFactory.ts +34 -0
- package/src/skia/web/JsiSkFont.ts +181 -0
- package/src/skia/web/JsiSkFontMgr.ts +27 -0
- package/src/skia/web/JsiSkFontMgrFactory.ts +20 -0
- package/src/skia/web/JsiSkImage.ts +181 -0
- package/src/skia/web/JsiSkImageFactory.ts +112 -0
- package/src/skia/web/JsiSkImageFilter.ts +14 -0
- package/src/skia/web/JsiSkImageFilterFactory.ts +441 -0
- package/src/skia/web/JsiSkMaskFilter.ts +14 -0
- package/src/skia/web/JsiSkMaskFilterFactory.ts +24 -0
- package/src/skia/web/JsiSkMatrix.ts +87 -0
- package/src/skia/web/JsiSkNativeBufferFactory.ts +51 -0
- package/src/skia/web/JsiSkPaint.ts +202 -0
- package/src/skia/web/JsiSkParagraph.ts +75 -0
- package/src/skia/web/JsiSkParagraphBuilder.ts +95 -0
- package/src/skia/web/JsiSkParagraphBuilderFactory.ts +48 -0
- package/src/skia/web/JsiSkParagraphStyle.ts +78 -0
- package/src/skia/web/JsiSkPath.ts +211 -0
- package/src/skia/web/JsiSkPathBuilder.ts +293 -0
- package/src/skia/web/JsiSkPathBuilderFactory.ts +32 -0
- package/src/skia/web/JsiSkPathEffect.ts +14 -0
- package/src/skia/web/JsiSkPathEffectFactory.ts +94 -0
- package/src/skia/web/JsiSkPathFactory.ts +272 -0
- package/src/skia/web/JsiSkPicture.ts +47 -0
- package/src/skia/web/JsiSkPictureFactory.ts +20 -0
- package/src/skia/web/JsiSkPictureRecorder.ts +36 -0
- package/src/skia/web/JsiSkPoint.ts +29 -0
- package/src/skia/web/JsiSkRRect.ts +77 -0
- package/src/skia/web/JsiSkRSXform.ts +46 -0
- package/src/skia/web/JsiSkRect.ts +44 -0
- package/src/skia/web/JsiSkRuntimeEffect.ts +70 -0
- package/src/skia/web/JsiSkRuntimeEffectFactory.ts +23 -0
- package/src/skia/web/JsiSkSVG.ts +27 -0
- package/src/skia/web/JsiSkSVGFactory.ts +61 -0
- package/src/skia/web/JsiSkShader.ts +14 -0
- package/src/skia/web/JsiSkShaderFactory.ts +190 -0
- package/src/skia/web/JsiSkSurface.ts +55 -0
- package/src/skia/web/JsiSkSurfaceFactory.ts +45 -0
- package/src/skia/web/JsiSkTextBlob.ts +14 -0
- package/src/skia/web/JsiSkTextBlobFactory.ts +55 -0
- package/src/skia/web/JsiSkTextStyle.ts +58 -0
- package/src/skia/web/JsiSkTypeface.ts +32 -0
- package/src/skia/web/JsiSkTypefaceFactory.tsx +22 -0
- package/src/skia/web/JsiSkTypefaceFontProvider.ts +73 -0
- package/src/skia/web/JsiSkTypefaceFontProviderFactory.ts +18 -0
- package/src/skia/web/JsiSkVertices.ts +23 -0
- package/src/skia/web/JsiSkVerticesFactory.ts +41 -0
- package/src/skia/web/JsiSkia.ts +145 -0
- package/src/skia/web/JsiSkottieAnimation.ts +256 -0
- package/src/skia/web/JsiSkottieFactory.ts +25 -0
- package/src/skia/web/JsiVideo.ts +113 -0
- package/src/skia/web/index.ts +1 -0
- package/src/sksg/Container.native.ts +123 -0
- package/src/sksg/Container.ts +7 -0
- package/src/sksg/Container.web.ts +117 -0
- package/src/sksg/Elements.tsx +139 -0
- package/src/sksg/HostConfig.ts +270 -0
- package/src/sksg/Node.ts +106 -0
- package/src/sksg/Reconciler.ts +82 -0
- package/src/sksg/Recorder/Core.ts +152 -0
- package/src/sksg/Recorder/Debug.ts +87 -0
- package/src/sksg/Recorder/DrawingContext.ts +173 -0
- package/src/sksg/Recorder/FrameScope.native.ts +21 -0
- package/src/sksg/Recorder/FrameScope.ts +69 -0
- package/src/sksg/Recorder/Player.ts +233 -0
- package/src/sksg/Recorder/ReanimatedRecorder.ts +305 -0
- package/src/sksg/Recorder/Recorder.ts +325 -0
- package/src/sksg/Recorder/Visitor.ts +353 -0
- package/src/sksg/Recorder/commands/Box.ts +61 -0
- package/src/sksg/Recorder/commands/CTM.ts +72 -0
- package/src/sksg/Recorder/commands/ColorFilters.ts +88 -0
- package/src/sksg/Recorder/commands/Drawing.ts +355 -0
- package/src/sksg/Recorder/commands/ImageFilters.ts +285 -0
- package/src/sksg/Recorder/commands/Paint.ts +67 -0
- package/src/sksg/Recorder/commands/PathEffects.ts +170 -0
- package/src/sksg/Recorder/commands/Shaders.ts +310 -0
- package/src/sksg/StaticContainer.ts +99 -0
- package/src/sksg/utils.ts +54 -0
- package/src/specs/NativeSkiaModule.ts +9 -0
- package/src/specs/NativeSkiaModule.web.ts +146 -0
- package/src/specs/SkiaGraphiteViewNativeComponent.ts +17 -0
- package/src/specs/SkiaGraphiteViewNativeComponent.web.ts +31 -0
- package/src/specs/SkiaPictureViewNativeComponent.ts +24 -0
- package/src/specs/SkiaPictureViewNativeComponent.web.ts +33 -0
- package/src/views/SkiaGraphiteView.tsx +85 -0
- package/src/views/SkiaGraphiteView.web.tsx +365 -0
- package/src/views/SkiaPictureView.tsx +109 -0
- package/src/views/SkiaPictureView.web.tsx +224 -0
- package/src/views/SkiaViewNativeId.ts +1 -0
- package/src/views/SkiaWebRenderer.ts +656 -0
- package/src/views/api.ts +7 -0
- package/src/views/formats.ts +21 -0
- package/src/views/index.ts +4 -0
- package/src/views/types.ts +99 -0
- package/src/web/LoadSkiaWeb.tsx +27 -0
- package/src/web/WithSkiaWeb.tsx +53 -0
- package/src/web/index.ts +2 -0
|
@@ -0,0 +1,1467 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <functional>
|
|
4
|
+
#include <map>
|
|
5
|
+
#include <optional>
|
|
6
|
+
#include <variant>
|
|
7
|
+
#include <vector>
|
|
8
|
+
|
|
9
|
+
#include <include/core/SkBlurTypes.h>
|
|
10
|
+
#include <include/core/SkPaint.h>
|
|
11
|
+
#include <include/core/SkPathEffect.h>
|
|
12
|
+
#include <include/core/SkPoint.h>
|
|
13
|
+
#include <include/effects/Sk1DPathEffect.h>
|
|
14
|
+
#include <include/effects/SkRuntimeEffect.h>
|
|
15
|
+
#include <modules/skparagraph/include/Paragraph.h>
|
|
16
|
+
#include <modules/skparagraph/include/ParagraphBuilder.h>
|
|
17
|
+
#include <modules/skparagraph/include/ParagraphStyle.h>
|
|
18
|
+
|
|
19
|
+
#include "../CustomBlendModes.h"
|
|
20
|
+
#include "api/JsiSkFont.h"
|
|
21
|
+
#include "api/JsiSkImage.h"
|
|
22
|
+
#include "api/JsiSkImageFilter.h"
|
|
23
|
+
#include "api/JsiSkMatrix.h"
|
|
24
|
+
#include "api/JsiSkPaint.h"
|
|
25
|
+
#include "api/JsiSkParagraph.h"
|
|
26
|
+
#include "api/JsiSkPicture.h"
|
|
27
|
+
#include "api/JsiSkRSXform.h"
|
|
28
|
+
#include "api/JsiSkRuntimeEffect.h"
|
|
29
|
+
#include "api/JsiSkSVG.h"
|
|
30
|
+
#include "api/JsiSkSkottie.h"
|
|
31
|
+
#include "api/JsiSkTextBlob.h"
|
|
32
|
+
#include "api/third_party/CSSColorParser.h"
|
|
33
|
+
|
|
34
|
+
#include "DataTypes.h"
|
|
35
|
+
|
|
36
|
+
#include <jsi/jsi.h>
|
|
37
|
+
|
|
38
|
+
namespace RNSkia {
|
|
39
|
+
|
|
40
|
+
struct Radius {
|
|
41
|
+
float rX;
|
|
42
|
+
float rY;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
// A value read from a shared value, waiting to be written into a command
|
|
46
|
+
// property. Reading needs the runtime the shared value lives on; writing does
|
|
47
|
+
// not, so the thread that replays the commands writes it right before.
|
|
48
|
+
// Empty when there is nothing to write.
|
|
49
|
+
using PendingWrite = std::function<void()>;
|
|
50
|
+
using ConversionFunction = std::function<PendingWrite(
|
|
51
|
+
jsi::Runtime &runtime, const jsi::Object &object)>;
|
|
52
|
+
using Variables = std::map<std::string, std::vector<ConversionFunction>>;
|
|
53
|
+
|
|
54
|
+
using Patch = std::array<SkPoint, 12>;
|
|
55
|
+
|
|
56
|
+
struct GlyphData {
|
|
57
|
+
std::vector<SkGlyphID> glyphIds;
|
|
58
|
+
std::vector<SkPoint> positions;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
inline bool isSharedValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
62
|
+
return value.isObject() &&
|
|
63
|
+
value.asObject(runtime).hasProperty(runtime,
|
|
64
|
+
"_isReanimatedSharedValue") &&
|
|
65
|
+
value.asObject(runtime)
|
|
66
|
+
.getProperty(runtime, "_isReanimatedSharedValue")
|
|
67
|
+
.isBool() &&
|
|
68
|
+
value.asObject(runtime)
|
|
69
|
+
.getProperty(runtime, "_isReanimatedSharedValue")
|
|
70
|
+
.asBool() == true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Helper type traits
|
|
74
|
+
template <typename T> struct is_optional : std::false_type {};
|
|
75
|
+
|
|
76
|
+
template <typename T> struct is_optional<std::optional<T>> : std::true_type {};
|
|
77
|
+
|
|
78
|
+
template <typename T> struct unwrap_optional {
|
|
79
|
+
using type = T;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
template <typename T> struct unwrap_optional<std::optional<T>> {
|
|
83
|
+
using type = T;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
// Property value getter declarations
|
|
87
|
+
template <typename T>
|
|
88
|
+
T getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value);
|
|
89
|
+
|
|
90
|
+
template <typename T, typename Target>
|
|
91
|
+
bool convertSelectorProperty(jsi::Runtime &runtime, const jsi::Value &prop,
|
|
92
|
+
Target &target, Variables &variables) {
|
|
93
|
+
if (!prop.isObject()) {
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
auto wrapper = prop.asObject(runtime);
|
|
97
|
+
if (!wrapper.hasProperty(runtime, "__sv") ||
|
|
98
|
+
!wrapper.hasProperty(runtime, "__key")) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
auto svVal = wrapper.getProperty(runtime, "__sv");
|
|
102
|
+
auto keyVal = wrapper.getProperty(runtime, "__key");
|
|
103
|
+
if (!isSharedValue(runtime, svVal) || !keyVal.isString()) {
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
auto sharedValue = svVal.asObject(runtime);
|
|
107
|
+
auto key = keyVal.asString(runtime).utf8(runtime);
|
|
108
|
+
auto name =
|
|
109
|
+
sharedValue.getProperty(runtime, "name").asString(runtime).utf8(runtime);
|
|
110
|
+
|
|
111
|
+
auto conv = [target = &target, key](jsi::Runtime &runtime,
|
|
112
|
+
const jsi::Object &val) -> PendingWrite {
|
|
113
|
+
auto value = val.getProperty(runtime, "value");
|
|
114
|
+
if (!value.isObject()) {
|
|
115
|
+
return nullptr;
|
|
116
|
+
}
|
|
117
|
+
auto values = value.asObject(runtime);
|
|
118
|
+
if (!values.hasProperty(runtime, key.c_str())) {
|
|
119
|
+
return nullptr;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
auto selected = values.getProperty(runtime, key.c_str());
|
|
123
|
+
if (selected.isUndefined() || selected.isNull() ||
|
|
124
|
+
(selected.isObject() &&
|
|
125
|
+
selected.asObject(runtime).isFunction(runtime))) {
|
|
126
|
+
return nullptr;
|
|
127
|
+
}
|
|
128
|
+
return
|
|
129
|
+
[target, converted = getPropertyValue<T>(runtime, selected)]() mutable {
|
|
130
|
+
*target = std::move(converted);
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
variables[name].push_back(conv);
|
|
135
|
+
if (auto write = conv(runtime, sharedValue)) {
|
|
136
|
+
write();
|
|
137
|
+
}
|
|
138
|
+
return true;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
template <typename T, typename Target>
|
|
142
|
+
void convertPropertyImpl(jsi::Runtime &runtime, const jsi::Object &object,
|
|
143
|
+
const std::string &propertyName, Target &target,
|
|
144
|
+
Variables &variables) {
|
|
145
|
+
if (!object.hasProperty(runtime, propertyName.c_str())) {
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
auto prop = object.getProperty(runtime, propertyName.c_str());
|
|
150
|
+
|
|
151
|
+
if (convertSelectorProperty<T>(runtime, prop, target, variables)) {
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
if (isSharedValue(runtime, prop)) {
|
|
156
|
+
auto sharedValue = prop.asObject(runtime);
|
|
157
|
+
auto name = sharedValue.getProperty(runtime, "name")
|
|
158
|
+
.asString(runtime)
|
|
159
|
+
.utf8(runtime);
|
|
160
|
+
auto conv = [target = &target](jsi::Runtime &runtime,
|
|
161
|
+
const jsi::Object &val) -> PendingWrite {
|
|
162
|
+
auto value = val.getProperty(runtime, "value");
|
|
163
|
+
return
|
|
164
|
+
[target, converted = getPropertyValue<T>(runtime, value)]() mutable {
|
|
165
|
+
*target = std::move(converted);
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
variables[name].push_back(conv);
|
|
169
|
+
if (auto write = conv(runtime, sharedValue)) {
|
|
170
|
+
write();
|
|
171
|
+
}
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
target = getPropertyValue<T>(runtime, prop);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// Main convertProperty template
|
|
179
|
+
template <typename T>
|
|
180
|
+
void convertProperty(jsi::Runtime &runtime, const jsi::Object &object,
|
|
181
|
+
const std::string &propertyName, T &target,
|
|
182
|
+
Variables &variables) {
|
|
183
|
+
convertPropertyImpl<T>(runtime, object, propertyName, target, variables);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// Base property value getter implementations
|
|
187
|
+
template <>
|
|
188
|
+
inline float getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
189
|
+
if (value.isNumber()) {
|
|
190
|
+
return static_cast<float>(value.asNumber());
|
|
191
|
+
}
|
|
192
|
+
throw std::runtime_error("Invalid float prop value received");
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
template <>
|
|
196
|
+
inline int getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
197
|
+
if (value.isNumber()) {
|
|
198
|
+
return static_cast<int>(value.asNumber());
|
|
199
|
+
}
|
|
200
|
+
throw std::runtime_error("Invalid int prop value received");
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
template <>
|
|
204
|
+
inline std::string getPropertyValue(jsi::Runtime &runtime,
|
|
205
|
+
const jsi::Value &value) {
|
|
206
|
+
if (value.isString()) {
|
|
207
|
+
return value.asString(runtime).utf8(runtime);
|
|
208
|
+
}
|
|
209
|
+
throw std::runtime_error("Invalid string prop value received");
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
template <>
|
|
213
|
+
inline SkPoint getPropertyValue(jsi::Runtime &runtime,
|
|
214
|
+
const jsi::Value &value) {
|
|
215
|
+
if (value.isObject()) {
|
|
216
|
+
auto x = value.asObject(runtime).getProperty(runtime, "x").asNumber();
|
|
217
|
+
auto y = value.asObject(runtime).getProperty(runtime, "y").asNumber();
|
|
218
|
+
return SkPoint::Make(x, y);
|
|
219
|
+
}
|
|
220
|
+
throw std::runtime_error("Invalid prop value for SkPoint received");
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
template <>
|
|
224
|
+
inline SkColor getPropertyValue(jsi::Runtime &runtime,
|
|
225
|
+
const jsi::Value &value) {
|
|
226
|
+
if (value.isNumber()) {
|
|
227
|
+
return static_cast<SkColor>(value.asNumber());
|
|
228
|
+
} else if (value.isString()) {
|
|
229
|
+
auto text = value.asString(runtime).utf8(runtime);
|
|
230
|
+
auto color = CSSColorParser::parse(text);
|
|
231
|
+
if (color.a == -1.0f) {
|
|
232
|
+
return SK_ColorBLACK;
|
|
233
|
+
}
|
|
234
|
+
return SkColorSetARGB(color.a * 255, color.r, color.g, color.b);
|
|
235
|
+
} else if (value.isObject()) {
|
|
236
|
+
const auto &object = value.asObject(runtime);
|
|
237
|
+
if (object.isArray(runtime)) {
|
|
238
|
+
auto array = object.asArray(runtime);
|
|
239
|
+
auto r = array.getValueAtIndex(runtime, 0).asNumber();
|
|
240
|
+
auto g = array.getValueAtIndex(runtime, 1).asNumber();
|
|
241
|
+
auto b = array.getValueAtIndex(runtime, 2).asNumber();
|
|
242
|
+
auto a = array.getValueAtIndex(runtime, 3).asNumber();
|
|
243
|
+
return SkColorSetARGB(a * 255, r * 255, g * 255, b * 255);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// Check for properties "0", "1", "2", "3" (even if not an array)
|
|
247
|
+
auto prop0 = jsi::PropNameID::forAscii(runtime, "0");
|
|
248
|
+
auto prop1 = jsi::PropNameID::forAscii(runtime, "1");
|
|
249
|
+
auto prop2 = jsi::PropNameID::forAscii(runtime, "2");
|
|
250
|
+
auto prop3 = jsi::PropNameID::forAscii(runtime, "3");
|
|
251
|
+
if (object.hasProperty(runtime, prop0) &&
|
|
252
|
+
object.hasProperty(runtime, prop1) &&
|
|
253
|
+
object.hasProperty(runtime, prop2) &&
|
|
254
|
+
object.hasProperty(runtime, prop3)) {
|
|
255
|
+
auto r = object.getProperty(runtime, prop0).asNumber();
|
|
256
|
+
auto g = object.getProperty(runtime, prop1).asNumber();
|
|
257
|
+
auto b = object.getProperty(runtime, prop2).asNumber();
|
|
258
|
+
auto a = object.getProperty(runtime, prop3).asNumber();
|
|
259
|
+
return SkColorSetARGB(a * 255, r * 255, g * 255, b * 255);
|
|
260
|
+
}
|
|
261
|
+
jsi::ArrayBuffer buffer =
|
|
262
|
+
object
|
|
263
|
+
.getProperty(runtime, jsi::PropNameID::forAscii(runtime, "buffer"))
|
|
264
|
+
.asObject(runtime)
|
|
265
|
+
.getArrayBuffer(runtime);
|
|
266
|
+
auto bfrPtr = reinterpret_cast<float *>(buffer.data(runtime));
|
|
267
|
+
if (bfrPtr[0] > 1 || bfrPtr[1] > 1 || bfrPtr[2] > 1 || bfrPtr[3] > 1) {
|
|
268
|
+
return SK_ColorBLACK;
|
|
269
|
+
}
|
|
270
|
+
return SkColorSetARGB(bfrPtr[3] * 255, bfrPtr[0] * 255, bfrPtr[1] * 255,
|
|
271
|
+
bfrPtr[2] * 255);
|
|
272
|
+
}
|
|
273
|
+
throw std::runtime_error("Invalid prop value for SkColor received");
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
template <>
|
|
277
|
+
inline std::vector<SkColor> getPropertyValue(jsi::Runtime &runtime,
|
|
278
|
+
const jsi::Value &value) {
|
|
279
|
+
std::vector<SkColor> result;
|
|
280
|
+
if (value.isObject() && value.asObject(runtime).isArray(runtime)) {
|
|
281
|
+
auto array = value.asObject(runtime).asArray(runtime);
|
|
282
|
+
size_t size = array.size(runtime);
|
|
283
|
+
result.reserve(size);
|
|
284
|
+
|
|
285
|
+
for (size_t i = 0; i < size; i++) {
|
|
286
|
+
result.push_back(getPropertyValue<SkColor>(
|
|
287
|
+
runtime, array.getValueAtIndex(runtime, i)));
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
return result;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
template <>
|
|
294
|
+
inline SkTileMode getPropertyValue(jsi::Runtime &runtime,
|
|
295
|
+
const jsi::Value &val) {
|
|
296
|
+
if (val.isString()) {
|
|
297
|
+
auto value = val.asString(runtime).utf8(runtime);
|
|
298
|
+
if (value == "clamp") {
|
|
299
|
+
return SkTileMode::kClamp;
|
|
300
|
+
} else if (value == "repeat") {
|
|
301
|
+
return SkTileMode::kRepeat;
|
|
302
|
+
} else if (value == "mirror") {
|
|
303
|
+
return SkTileMode::kMirror;
|
|
304
|
+
} else if (value == "decal") {
|
|
305
|
+
return SkTileMode::kDecal;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
throw std::runtime_error("Invalid value for SkTileMode received");
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
template <>
|
|
312
|
+
inline SkColorChannel getPropertyValue(jsi::Runtime &runtime,
|
|
313
|
+
const jsi::Value &val) {
|
|
314
|
+
if (val.isString()) {
|
|
315
|
+
auto value = val.asString(runtime).utf8(runtime);
|
|
316
|
+
if (value == "r") {
|
|
317
|
+
return SkColorChannel::kR;
|
|
318
|
+
} else if (value == "b") {
|
|
319
|
+
return SkColorChannel::kB;
|
|
320
|
+
} else if (value == "g") {
|
|
321
|
+
return SkColorChannel::kG;
|
|
322
|
+
} else if (value == "a") {
|
|
323
|
+
return SkColorChannel::kA;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
throw std::runtime_error("Invalid value for SkTileMode received");
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
template <>
|
|
330
|
+
inline SkVertices::VertexMode getPropertyValue(jsi::Runtime &runtime,
|
|
331
|
+
const jsi::Value &val) {
|
|
332
|
+
if (val.isString()) {
|
|
333
|
+
auto value = val.asString(runtime).utf8(runtime);
|
|
334
|
+
if (value == "triangles") {
|
|
335
|
+
return SkVertices::VertexMode::kTriangles_VertexMode;
|
|
336
|
+
} else if (value == "triangleStrip") {
|
|
337
|
+
return SkVertices::VertexMode::kTriangleStrip_VertexMode;
|
|
338
|
+
} else if (value == "triangleFan") {
|
|
339
|
+
return SkVertices::VertexMode::kTriangleFan_VertexMode;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
throw std::runtime_error("Invalid value for VertexMode received");
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
template <>
|
|
346
|
+
inline SkM44 getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
347
|
+
if (value.isObject()) {
|
|
348
|
+
auto object = value.asObject(runtime);
|
|
349
|
+
// Get array of property names
|
|
350
|
+
auto array = object.asArray(runtime);
|
|
351
|
+
auto size = array.size(runtime);
|
|
352
|
+
SkM44 m4;
|
|
353
|
+
for (int i = 0; i < size; i++) {
|
|
354
|
+
auto value = array.getValueAtIndex(runtime, i).asObject(runtime);
|
|
355
|
+
auto propNames = value.getPropertyNames(runtime);
|
|
356
|
+
if (propNames.size(runtime) == 0) {
|
|
357
|
+
throw std::runtime_error(
|
|
358
|
+
"Empty value in transform. Expected translateX, translateY, "
|
|
359
|
+
"scale, "
|
|
360
|
+
"scaleX, scaleY, skewX, skewY, rotate or rotateZ.");
|
|
361
|
+
}
|
|
362
|
+
auto key =
|
|
363
|
+
propNames.getValueAtIndex(runtime, 0).asString(runtime).utf8(runtime);
|
|
364
|
+
if (key == "translateX") {
|
|
365
|
+
auto x = value.getProperty(runtime, key.c_str()).asNumber();
|
|
366
|
+
m4.preTranslate(x, 0, 0);
|
|
367
|
+
} else if (key == "translateY") {
|
|
368
|
+
auto y = value.getProperty(runtime, key.c_str()).asNumber();
|
|
369
|
+
m4.preTranslate(0, y, 0);
|
|
370
|
+
} else if (key == "translateZ") {
|
|
371
|
+
auto z = value.getProperty(runtime, key.c_str()).asNumber();
|
|
372
|
+
m4.preTranslate(0, 0, z);
|
|
373
|
+
} else if (key == "translate") {
|
|
374
|
+
auto arr = value.getProperty(runtime, key.c_str())
|
|
375
|
+
.asObject(runtime)
|
|
376
|
+
.asArray(runtime);
|
|
377
|
+
double x = 0, y = 0, z = 0;
|
|
378
|
+
for (int i = 0; i < arr.size(runtime); i++) {
|
|
379
|
+
if (i == 0) {
|
|
380
|
+
x = arr.getValueAtIndex(runtime, i).asNumber();
|
|
381
|
+
} else if (i == 1) {
|
|
382
|
+
y = arr.getValueAtIndex(runtime, i).asNumber();
|
|
383
|
+
} else if (i == 2) {
|
|
384
|
+
z = arr.getValueAtIndex(runtime, i).asNumber();
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
m4.preTranslate(x, y, z);
|
|
388
|
+
} else if (key == "scale") {
|
|
389
|
+
auto s = value.getProperty(runtime, key.c_str()).asNumber();
|
|
390
|
+
m4.preScale(s, s);
|
|
391
|
+
} else if (key == "scaleX") {
|
|
392
|
+
auto s = value.getProperty(runtime, key.c_str()).asNumber();
|
|
393
|
+
m4.preScale(s, 1);
|
|
394
|
+
} else if (key == "scaleY") {
|
|
395
|
+
auto s = value.getProperty(runtime, key.c_str()).asNumber();
|
|
396
|
+
m4.preScale(1, s);
|
|
397
|
+
} else if (key == "skewX") {
|
|
398
|
+
auto angle = value.getProperty(runtime, key.c_str()).asNumber();
|
|
399
|
+
// The SkM44 constructor takes its arguments in row-major reading
|
|
400
|
+
// order, so the shear factor of a horizontal skew belongs in row 0,
|
|
401
|
+
// where it scales y into x.
|
|
402
|
+
SkM44 skewX(1, std::tan(angle), 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0,
|
|
403
|
+
1);
|
|
404
|
+
m4.preConcat(skewX);
|
|
405
|
+
|
|
406
|
+
} else if (key == "skewY") {
|
|
407
|
+
auto angle = value.getProperty(runtime, key.c_str()).asNumber();
|
|
408
|
+
SkM44 skewY(1, 0, 0, 0, std::tan(angle), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0,
|
|
409
|
+
1);
|
|
410
|
+
m4.preConcat(skewY);
|
|
411
|
+
} else if (key == "rotate" || key == "rotateZ") {
|
|
412
|
+
auto angle = value.getProperty(runtime, key.c_str()).asNumber();
|
|
413
|
+
SkM44 rotate;
|
|
414
|
+
rotate.setRotateUnit({0, 0, 1}, angle);
|
|
415
|
+
m4.preConcat(rotate);
|
|
416
|
+
} else if (key == "rotateY") {
|
|
417
|
+
auto angle = value.getProperty(runtime, key.c_str()).asNumber();
|
|
418
|
+
SkM44 rotate;
|
|
419
|
+
rotate.setRotateUnit({0, 1, 0}, angle);
|
|
420
|
+
m4.preConcat(rotate);
|
|
421
|
+
} else if (key == "rotateX") {
|
|
422
|
+
auto angle = value.getProperty(runtime, key.c_str()).asNumber();
|
|
423
|
+
SkM44 rotate;
|
|
424
|
+
rotate.setRotateUnit({1, 0, 0}, angle);
|
|
425
|
+
m4.preConcat(rotate);
|
|
426
|
+
} else if (key == "perspective") {
|
|
427
|
+
auto p = value.getProperty(runtime, key.c_str()).asNumber();
|
|
428
|
+
SkM44 perspective(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, -1 / p, 1);
|
|
429
|
+
m4.preConcat(perspective);
|
|
430
|
+
} else if (key == "matrix") {
|
|
431
|
+
auto arr = value.getProperty(runtime, key.c_str())
|
|
432
|
+
.asObject(runtime)
|
|
433
|
+
.asArray(runtime);
|
|
434
|
+
SkM44 m44;
|
|
435
|
+
for (size_t i = 0; i < arr.size(runtime); ++i) {
|
|
436
|
+
auto obj = arr.getValueAtIndex(runtime, i);
|
|
437
|
+
m44.setRC(i / 4, i % 4, obj.asNumber());
|
|
438
|
+
}
|
|
439
|
+
m4.preConcat(m44);
|
|
440
|
+
} else {
|
|
441
|
+
throw std::runtime_error(
|
|
442
|
+
"Unknown key in transform. Expected translateX, translateY, "
|
|
443
|
+
"scale, "
|
|
444
|
+
"scaleX, scaleY, skewX, skewY, rotate or rotateZ - got " +
|
|
445
|
+
std::string(key) + ".");
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
return m4;
|
|
449
|
+
}
|
|
450
|
+
throw std::runtime_error("Invalid prop value for SkM44 received");
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
template <>
|
|
454
|
+
inline SkSamplingOptions getPropertyValue(jsi::Runtime &runtime,
|
|
455
|
+
const jsi::Value &value) {
|
|
456
|
+
if (value.isObject()) {
|
|
457
|
+
SkSamplingOptions samplingOptions(SkFilterMode::kLinear);
|
|
458
|
+
auto object = value.asObject(runtime);
|
|
459
|
+
if (object.hasProperty(runtime, "B") && object.hasProperty(runtime, "C")) {
|
|
460
|
+
auto B = static_cast<float>(object.getProperty(runtime, "B").asNumber());
|
|
461
|
+
auto C = static_cast<float>(object.getProperty(runtime, "C").asNumber());
|
|
462
|
+
samplingOptions = SkSamplingOptions({B, C});
|
|
463
|
+
} else if (object.hasProperty(runtime, "filter")) {
|
|
464
|
+
auto filter = static_cast<SkFilterMode>(
|
|
465
|
+
object.getProperty(runtime, "filter").asNumber());
|
|
466
|
+
if (object.hasProperty(runtime, "mipmap")) {
|
|
467
|
+
auto mipmap = static_cast<SkMipmapMode>(
|
|
468
|
+
object.getProperty(runtime, "mipmap").asNumber());
|
|
469
|
+
samplingOptions = SkSamplingOptions(filter, mipmap);
|
|
470
|
+
} else {
|
|
471
|
+
samplingOptions = SkSamplingOptions(filter);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
return samplingOptions;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
throw std::runtime_error("Invalid prop value for SkSamplingOptions received");
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
template <>
|
|
481
|
+
inline SkFont getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
482
|
+
if (value.isObject()) {
|
|
483
|
+
auto font = getJsiObject<JsiSkFont>(runtime, value)->getObject();
|
|
484
|
+
return SkFont(*font);
|
|
485
|
+
}
|
|
486
|
+
throw std::runtime_error("Invalid prop value for SkFont received");
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
template <>
|
|
490
|
+
inline GlyphData getPropertyValue(jsi::Runtime &runtime,
|
|
491
|
+
const jsi::Value &value) {
|
|
492
|
+
GlyphData result;
|
|
493
|
+
if (value.isObject() && value.asObject(runtime).isArray(runtime)) {
|
|
494
|
+
auto array = value.asObject(runtime).asArray(runtime);
|
|
495
|
+
size_t size = array.size(runtime);
|
|
496
|
+
result.glyphIds.reserve(size);
|
|
497
|
+
result.positions.reserve(size);
|
|
498
|
+
|
|
499
|
+
for (size_t i = 0; i < size; i++) {
|
|
500
|
+
auto glyph = array.getValueAtIndex(runtime, i).asObject(runtime);
|
|
501
|
+
// Get the glyph id
|
|
502
|
+
result.glyphIds.push_back(
|
|
503
|
+
static_cast<SkGlyphID>(glyph.getProperty(runtime, "id").asNumber()));
|
|
504
|
+
// Get the position
|
|
505
|
+
result.positions.push_back(
|
|
506
|
+
processPoint(runtime, glyph.getProperty(runtime, "pos")));
|
|
507
|
+
}
|
|
508
|
+
return result;
|
|
509
|
+
}
|
|
510
|
+
throw std::runtime_error("Invalid prop value for GlyphData received");
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
template <>
|
|
514
|
+
inline SkRSXform getPropertyValue(jsi::Runtime &runtime,
|
|
515
|
+
const jsi::Value &value) {
|
|
516
|
+
if (value.isObject()) {
|
|
517
|
+
auto form = getJsiObject<JsiSkRSXform>(runtime, value)->getObject();
|
|
518
|
+
return SkRSXform::Make(form->fSCos, form->fSSin, form->fTx, form->fTy);
|
|
519
|
+
}
|
|
520
|
+
throw std::runtime_error("Invalid prop value for SkRSXform received");
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
template <>
|
|
524
|
+
inline sk_sp<SkSVGDOM> getPropertyValue(jsi::Runtime &runtime,
|
|
525
|
+
const jsi::Value &value) {
|
|
526
|
+
auto ptr = tryGetJsiObject<JsiSkSVG>(runtime, value);
|
|
527
|
+
if (ptr != nullptr) {
|
|
528
|
+
return ptr->getObject();
|
|
529
|
+
}
|
|
530
|
+
if (value.isNull()) {
|
|
531
|
+
return nullptr;
|
|
532
|
+
}
|
|
533
|
+
throw std::runtime_error(
|
|
534
|
+
"Expected SkSvgDom object or null for the svg property.");
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
template <>
|
|
538
|
+
inline sk_sp<skottie::Animation> getPropertyValue(jsi::Runtime &runtime,
|
|
539
|
+
const jsi::Value &value) {
|
|
540
|
+
auto ptr = tryGetJsiObject<JsiSkSkottie>(runtime, value);
|
|
541
|
+
if (ptr != nullptr) {
|
|
542
|
+
return ptr->getObject()->_animation;
|
|
543
|
+
}
|
|
544
|
+
if (value.isNull()) {
|
|
545
|
+
return nullptr;
|
|
546
|
+
}
|
|
547
|
+
throw std::runtime_error(
|
|
548
|
+
"Expected JsiSkSkottie object or null for the svg property.");
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
template <>
|
|
552
|
+
inline sk_sp<SkImageFilter> getPropertyValue(jsi::Runtime &runtime,
|
|
553
|
+
const jsi::Value &value) {
|
|
554
|
+
auto ptr = tryGetJsiObject<JsiSkImageFilter>(runtime, value);
|
|
555
|
+
if (ptr != nullptr) {
|
|
556
|
+
return ptr->getObject();
|
|
557
|
+
}
|
|
558
|
+
if (value.isNull()) {
|
|
559
|
+
return nullptr;
|
|
560
|
+
}
|
|
561
|
+
throw std::runtime_error(
|
|
562
|
+
"Expected JsiSkImageFilter object or null for the imageFilter property.");
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
template <>
|
|
566
|
+
inline sk_sp<SkPicture> getPropertyValue(jsi::Runtime &runtime,
|
|
567
|
+
const jsi::Value &value) {
|
|
568
|
+
if (value.isObject()) {
|
|
569
|
+
auto picture = getJsiObject<JsiSkPicture>(runtime, value)->getObject();
|
|
570
|
+
return picture;
|
|
571
|
+
}
|
|
572
|
+
throw std::runtime_error("Invalid prop value for SkTextBlob received");
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
template <>
|
|
576
|
+
inline SkPaint getPropertyValue(jsi::Runtime &runtime,
|
|
577
|
+
const jsi::Value &value) {
|
|
578
|
+
if (value.isObject()) {
|
|
579
|
+
auto paint = getJsiObject<JsiSkPaint>(runtime, value)->getObject();
|
|
580
|
+
return SkPaint(*paint);
|
|
581
|
+
}
|
|
582
|
+
throw std::runtime_error("Invalid prop value for SkPaint received");
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
template <>
|
|
586
|
+
inline std::shared_ptr<JsiSkParagraph>
|
|
587
|
+
getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
588
|
+
// Return a shared_ptr instead of raw pointer
|
|
589
|
+
return tryGetJsiObject<JsiSkParagraph>(runtime, value);
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
template <>
|
|
593
|
+
inline sk_sp<SkTextBlob> getPropertyValue(jsi::Runtime &runtime,
|
|
594
|
+
const jsi::Value &value) {
|
|
595
|
+
if (value.isObject()) {
|
|
596
|
+
auto blob = getJsiObject<JsiSkTextBlob>(runtime, value)->getObject();
|
|
597
|
+
return blob;
|
|
598
|
+
}
|
|
599
|
+
throw std::runtime_error("Invalid prop value for SkTextBlob received");
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
template <>
|
|
603
|
+
inline sk_sp<SkRuntimeEffect> getPropertyValue(jsi::Runtime &runtime,
|
|
604
|
+
const jsi::Value &value) {
|
|
605
|
+
if (value.isObject()) {
|
|
606
|
+
auto effect = getJsiObject<JsiSkRuntimeEffect>(runtime, value)->getObject();
|
|
607
|
+
return effect;
|
|
608
|
+
}
|
|
609
|
+
throw std::runtime_error("Invalid prop value for SkRuntimeEffect received");
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
template <>
|
|
613
|
+
inline sk_sp<SkImage> getPropertyValue(jsi::Runtime &runtime,
|
|
614
|
+
const jsi::Value &value) {
|
|
615
|
+
|
|
616
|
+
if (value.isObject()) {
|
|
617
|
+
auto effect = getJsiObject<JsiSkImage>(runtime, value)->getObject();
|
|
618
|
+
return effect;
|
|
619
|
+
} else if (value.isNull()) {
|
|
620
|
+
return nullptr;
|
|
621
|
+
}
|
|
622
|
+
throw std::runtime_error("Invalid prop value for SkImage received");
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
template <>
|
|
626
|
+
inline SkMatrix getPropertyValue(jsi::Runtime &runtime,
|
|
627
|
+
const jsi::Value &value) {
|
|
628
|
+
if (value.isObject()) {
|
|
629
|
+
auto ptr = tryGetJsiObject<JsiSkMatrix>(runtime, value);
|
|
630
|
+
if (ptr != nullptr) {
|
|
631
|
+
auto matrix = ptr->getObject().get();
|
|
632
|
+
return SkMatrix(*matrix);
|
|
633
|
+
} else {
|
|
634
|
+
return JsiSkMatrix::getMatrix(runtime, value);
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
throw std::runtime_error("Invalid prop value for SkMatrix received");
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
template <>
|
|
641
|
+
inline Radius getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
642
|
+
if (value.isObject()) {
|
|
643
|
+
auto object = value.asObject(runtime);
|
|
644
|
+
auto rX = static_cast<float>(object.getProperty(runtime, "x").asNumber());
|
|
645
|
+
auto rY = static_cast<float>(object.getProperty(runtime, "y").asNumber());
|
|
646
|
+
return {rX, rY};
|
|
647
|
+
} else if (value.isNumber()) {
|
|
648
|
+
auto r = static_cast<float>(value.asNumber());
|
|
649
|
+
return {r, r};
|
|
650
|
+
}
|
|
651
|
+
throw std::runtime_error("Invalid prop value for Radius received");
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
template <>
|
|
655
|
+
inline SkCanvas::PointMode getPropertyValue(jsi::Runtime &runtime,
|
|
656
|
+
const jsi::Value &val) {
|
|
657
|
+
if (val.isString()) {
|
|
658
|
+
auto value = val.asString(runtime).utf8(runtime);
|
|
659
|
+
if (value == "points") {
|
|
660
|
+
return SkCanvas::PointMode::kPoints_PointMode;
|
|
661
|
+
} else if (value == "lines") {
|
|
662
|
+
return SkCanvas::PointMode::kLines_PointMode;
|
|
663
|
+
} else if (value == "polygon") {
|
|
664
|
+
return SkCanvas::PointMode::kPolygon_PointMode;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
throw std::runtime_error(
|
|
668
|
+
"Invalid prop value for SkCanvas::PointMode received");
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
template <>
|
|
672
|
+
inline SkPaint::Style getPropertyValue(jsi::Runtime &runtime,
|
|
673
|
+
const jsi::Value &val) {
|
|
674
|
+
if (val.isString()) {
|
|
675
|
+
auto value = val.asString(runtime).utf8(runtime);
|
|
676
|
+
if (value == "fill") {
|
|
677
|
+
return SkPaint::kFill_Style;
|
|
678
|
+
} else if (value == "stroke") {
|
|
679
|
+
return SkPaint::kStroke_Style;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
throw std::runtime_error("Invalid prop value for SkPaint::Style received");
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
template <>
|
|
686
|
+
inline SkPaint::Join getPropertyValue(jsi::Runtime &runtime,
|
|
687
|
+
const jsi::Value &val) {
|
|
688
|
+
if (val.isString()) {
|
|
689
|
+
auto value = val.asString(runtime).utf8(runtime);
|
|
690
|
+
if (value == "miter") {
|
|
691
|
+
return SkPaint::kMiter_Join;
|
|
692
|
+
} else if (value == "round") {
|
|
693
|
+
return SkPaint::kRound_Join;
|
|
694
|
+
} else if (value == "bevel") {
|
|
695
|
+
return SkPaint::kBevel_Join;
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
throw std::runtime_error("Invalid prop value for SkPaint::Join received");
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
template <>
|
|
702
|
+
inline SkPaint::Cap getPropertyValue(jsi::Runtime &runtime,
|
|
703
|
+
const jsi::Value &val) {
|
|
704
|
+
if (val.isString()) {
|
|
705
|
+
auto value = val.asString(runtime).utf8(runtime);
|
|
706
|
+
if (value == "butt") {
|
|
707
|
+
return SkPaint::kButt_Cap;
|
|
708
|
+
} else if (value == "round") {
|
|
709
|
+
return SkPaint::kRound_Cap;
|
|
710
|
+
} else if (value == "square") {
|
|
711
|
+
return SkPaint::kSquare_Cap;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
throw std::runtime_error("Invalid prop value for SkPaint::Cap received");
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
template <>
|
|
718
|
+
inline SkPath1DPathEffect::Style getPropertyValue(jsi::Runtime &runtime,
|
|
719
|
+
const jsi::Value &val) {
|
|
720
|
+
if (val.isString()) {
|
|
721
|
+
auto value = val.asString(runtime).utf8(runtime);
|
|
722
|
+
if (value == "translate") {
|
|
723
|
+
return SkPath1DPathEffect::Style::kTranslate_Style;
|
|
724
|
+
} else if (value == "rotate") {
|
|
725
|
+
return SkPath1DPathEffect::Style::kRotate_Style;
|
|
726
|
+
} else if (value == "morph") {
|
|
727
|
+
return SkPath1DPathEffect::Style::kMorph_Style;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
throw std::runtime_error("Invalid prop value for Path1DEffectStyle received");
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
// Wrapper type for blend mode to avoid conflict with int template
|
|
734
|
+
// specialization
|
|
735
|
+
struct BlendModeValue {
|
|
736
|
+
int value;
|
|
737
|
+
explicit BlendModeValue(int v = 0) : value(v) {}
|
|
738
|
+
operator int() const { return value; }
|
|
739
|
+
};
|
|
740
|
+
|
|
741
|
+
template <>
|
|
742
|
+
inline BlendModeValue getPropertyValue(jsi::Runtime &runtime,
|
|
743
|
+
const jsi::Value &val) {
|
|
744
|
+
if (val.isString()) {
|
|
745
|
+
auto value = val.asString(runtime).utf8(runtime);
|
|
746
|
+
if (value == "clear") {
|
|
747
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kClear));
|
|
748
|
+
} else if (value == "src") {
|
|
749
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kSrc));
|
|
750
|
+
} else if (value == "dst") {
|
|
751
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kDst));
|
|
752
|
+
} else if (value == "srcOver") {
|
|
753
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kSrcOver));
|
|
754
|
+
} else if (value == "dstOver") {
|
|
755
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kDstOver));
|
|
756
|
+
} else if (value == "srcIn") {
|
|
757
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kSrcIn));
|
|
758
|
+
} else if (value == "dstIn") {
|
|
759
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kDstIn));
|
|
760
|
+
} else if (value == "srcOut") {
|
|
761
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kSrcOut));
|
|
762
|
+
} else if (value == "dstOut") {
|
|
763
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kDstOut));
|
|
764
|
+
} else if (value == "srcATop") {
|
|
765
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kSrcATop));
|
|
766
|
+
} else if (value == "dstATop") {
|
|
767
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kDstATop));
|
|
768
|
+
} else if (value == "xor") {
|
|
769
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kXor));
|
|
770
|
+
} else if (value == "plus") {
|
|
771
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kPlus));
|
|
772
|
+
} else if (value == "modulate") {
|
|
773
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kModulate));
|
|
774
|
+
} else if (value == "screen") {
|
|
775
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kScreen));
|
|
776
|
+
} else if (value == "overlay") {
|
|
777
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kOverlay));
|
|
778
|
+
} else if (value == "darken") {
|
|
779
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kDarken));
|
|
780
|
+
} else if (value == "lighten") {
|
|
781
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kLighten));
|
|
782
|
+
} else if (value == "colorDodge") {
|
|
783
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kColorDodge));
|
|
784
|
+
} else if (value == "colorBurn") {
|
|
785
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kColorBurn));
|
|
786
|
+
} else if (value == "hardLight") {
|
|
787
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kHardLight));
|
|
788
|
+
} else if (value == "softLight") {
|
|
789
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kSoftLight));
|
|
790
|
+
} else if (value == "difference") {
|
|
791
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kDifference));
|
|
792
|
+
} else if (value == "exclusion") {
|
|
793
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kExclusion));
|
|
794
|
+
} else if (value == "multiply") {
|
|
795
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kMultiply));
|
|
796
|
+
} else if (value == "hue") {
|
|
797
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kHue));
|
|
798
|
+
} else if (value == "saturation") {
|
|
799
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kSaturation));
|
|
800
|
+
} else if (value == "color") {
|
|
801
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kColor));
|
|
802
|
+
} else if (value == "luminosity") {
|
|
803
|
+
return BlendModeValue(static_cast<int>(SkBlendMode::kLuminosity));
|
|
804
|
+
} else if (value == "plusDarker") {
|
|
805
|
+
return BlendModeValue(kBlendModePlusDarker);
|
|
806
|
+
} else if (value == "plusLighter") {
|
|
807
|
+
return BlendModeValue(kBlendModePlusLighter);
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
throw std::runtime_error("Invalid prop value for BlendMode received");
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
// Keep SkBlendMode specialization for other usages (Shaders, ImageFilters,
|
|
814
|
+
// ColorFilters, Drawings)
|
|
815
|
+
template <>
|
|
816
|
+
inline SkBlendMode getPropertyValue(jsi::Runtime &runtime,
|
|
817
|
+
const jsi::Value &val) {
|
|
818
|
+
if (val.isString()) {
|
|
819
|
+
auto value = val.asString(runtime).utf8(runtime);
|
|
820
|
+
if (value == "clear") {
|
|
821
|
+
return SkBlendMode::kClear;
|
|
822
|
+
} else if (value == "src") {
|
|
823
|
+
return SkBlendMode::kSrc;
|
|
824
|
+
} else if (value == "dst") {
|
|
825
|
+
return SkBlendMode::kDst;
|
|
826
|
+
} else if (value == "srcOver") {
|
|
827
|
+
return SkBlendMode::kSrcOver;
|
|
828
|
+
} else if (value == "dstOver") {
|
|
829
|
+
return SkBlendMode::kDstOver;
|
|
830
|
+
} else if (value == "srcIn") {
|
|
831
|
+
return SkBlendMode::kSrcIn;
|
|
832
|
+
} else if (value == "dstIn") {
|
|
833
|
+
return SkBlendMode::kDstIn;
|
|
834
|
+
} else if (value == "srcOut") {
|
|
835
|
+
return SkBlendMode::kSrcOut;
|
|
836
|
+
} else if (value == "dstOut") {
|
|
837
|
+
return SkBlendMode::kDstOut;
|
|
838
|
+
} else if (value == "srcATop") {
|
|
839
|
+
return SkBlendMode::kSrcATop;
|
|
840
|
+
} else if (value == "dstATop") {
|
|
841
|
+
return SkBlendMode::kDstATop;
|
|
842
|
+
} else if (value == "xor") {
|
|
843
|
+
return SkBlendMode::kXor;
|
|
844
|
+
} else if (value == "plus") {
|
|
845
|
+
return SkBlendMode::kPlus;
|
|
846
|
+
} else if (value == "modulate") {
|
|
847
|
+
return SkBlendMode::kModulate;
|
|
848
|
+
} else if (value == "screen") {
|
|
849
|
+
return SkBlendMode::kScreen;
|
|
850
|
+
} else if (value == "overlay") {
|
|
851
|
+
return SkBlendMode::kOverlay;
|
|
852
|
+
} else if (value == "darken") {
|
|
853
|
+
return SkBlendMode::kDarken;
|
|
854
|
+
} else if (value == "lighten") {
|
|
855
|
+
return SkBlendMode::kLighten;
|
|
856
|
+
} else if (value == "colorDodge") {
|
|
857
|
+
return SkBlendMode::kColorDodge;
|
|
858
|
+
} else if (value == "colorBurn") {
|
|
859
|
+
return SkBlendMode::kColorBurn;
|
|
860
|
+
} else if (value == "hardLight") {
|
|
861
|
+
return SkBlendMode::kHardLight;
|
|
862
|
+
} else if (value == "softLight") {
|
|
863
|
+
return SkBlendMode::kSoftLight;
|
|
864
|
+
} else if (value == "difference") {
|
|
865
|
+
return SkBlendMode::kDifference;
|
|
866
|
+
} else if (value == "exclusion") {
|
|
867
|
+
return SkBlendMode::kExclusion;
|
|
868
|
+
} else if (value == "multiply") {
|
|
869
|
+
return SkBlendMode::kMultiply;
|
|
870
|
+
} else if (value == "hue") {
|
|
871
|
+
return SkBlendMode::kHue;
|
|
872
|
+
} else if (value == "saturation") {
|
|
873
|
+
return SkBlendMode::kSaturation;
|
|
874
|
+
} else if (value == "color") {
|
|
875
|
+
return SkBlendMode::kColor;
|
|
876
|
+
} else if (value == "luminosity") {
|
|
877
|
+
return SkBlendMode::kLuminosity;
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
throw std::runtime_error("Invalid prop value for SkBlendMode received");
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
using ClipDef = std::variant<SkPath, SkRRect, SkRect, std::string>;
|
|
884
|
+
using Layer = std::variant<SkPaint, bool>;
|
|
885
|
+
|
|
886
|
+
template <>
|
|
887
|
+
inline Uniforms getPropertyValue(jsi::Runtime &runtime,
|
|
888
|
+
const jsi::Value &value) {
|
|
889
|
+
if (value.isObject()) {
|
|
890
|
+
Uniforms result;
|
|
891
|
+
auto obj = value.asObject(runtime);
|
|
892
|
+
auto names = obj.getPropertyNames(runtime);
|
|
893
|
+
|
|
894
|
+
for (size_t i = 0; i < names.length(runtime); i++) {
|
|
895
|
+
std::string propName =
|
|
896
|
+
names.getValueAtIndex(runtime, i).toString(runtime).utf8(runtime);
|
|
897
|
+
jsi::Value propValue = obj.getProperty(runtime, propName.c_str());
|
|
898
|
+
|
|
899
|
+
if (propValue.isNumber()) {
|
|
900
|
+
result[propName] =
|
|
901
|
+
std::vector<float>{static_cast<float>(propValue.asNumber())};
|
|
902
|
+
} else if (propValue.isObject() &&
|
|
903
|
+
propValue.asObject(runtime).isArray(runtime)) {
|
|
904
|
+
result[propName] =
|
|
905
|
+
processArray(runtime, propValue.asObject(runtime).asArray(runtime));
|
|
906
|
+
} else if (propValue.isObject() && isJSPoint(runtime, propValue)) {
|
|
907
|
+
result[propName] = {static_cast<float>(propValue.asObject(runtime)
|
|
908
|
+
.getProperty(runtime, "x")
|
|
909
|
+
.asNumber()),
|
|
910
|
+
static_cast<float>(propValue.asObject(runtime)
|
|
911
|
+
.getProperty(runtime, "y")
|
|
912
|
+
.asNumber())};
|
|
913
|
+
} else if (propValue.isObject() && isIndexable(runtime, propValue)) {
|
|
914
|
+
auto indexableObj = propValue.asObject(runtime);
|
|
915
|
+
std::vector<float> values;
|
|
916
|
+
values.reserve(4);
|
|
917
|
+
for (int i = 0; i < 4; i++) {
|
|
918
|
+
if (indexableObj.hasProperty(runtime, std::to_string(i).c_str())) {
|
|
919
|
+
values.push_back(static_cast<float>(
|
|
920
|
+
indexableObj.getProperty(runtime, std::to_string(i).c_str())
|
|
921
|
+
.asNumber()));
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
result[propName] = values;
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
return result;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
throw std::runtime_error("Invalid prop value for Uniforms received");
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
template <>
|
|
934
|
+
inline SkBlurStyle getPropertyValue(jsi::Runtime &runtime,
|
|
935
|
+
const jsi::Value &value) {
|
|
936
|
+
if (value.isString()) {
|
|
937
|
+
auto valueStr = value.asString(runtime).utf8(runtime);
|
|
938
|
+
if (valueStr == "normal") {
|
|
939
|
+
return SkBlurStyle::kNormal_SkBlurStyle;
|
|
940
|
+
} else if (valueStr == "solid") {
|
|
941
|
+
return SkBlurStyle::kSolid_SkBlurStyle;
|
|
942
|
+
} else if (valueStr == "outer") {
|
|
943
|
+
return SkBlurStyle::kOuter_SkBlurStyle;
|
|
944
|
+
} else if (valueStr == "inner") {
|
|
945
|
+
return SkBlurStyle::kInner_SkBlurStyle;
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
throw std::runtime_error("Invalid prop value for SkBlurStyle received");
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
template <>
|
|
952
|
+
inline SkPathFillType getPropertyValue(jsi::Runtime &runtime,
|
|
953
|
+
const jsi::Value &value) {
|
|
954
|
+
if (value.isString()) {
|
|
955
|
+
auto valueStr = value.asString(runtime).utf8(runtime);
|
|
956
|
+
if (valueStr == "winding") {
|
|
957
|
+
return SkPathFillType::kWinding;
|
|
958
|
+
} else if (valueStr == "evenOdd") {
|
|
959
|
+
return SkPathFillType::kEvenOdd;
|
|
960
|
+
} else if (valueStr == "inverseWinding") {
|
|
961
|
+
return SkPathFillType::kInverseWinding;
|
|
962
|
+
} else if (valueStr == "inverseEvenOdd") {
|
|
963
|
+
return SkPathFillType::kInverseEvenOdd;
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
throw std::runtime_error("Invalid prop value for SkPathFillType received");
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
struct StrokeOpts {
|
|
970
|
+
std::optional<float> width;
|
|
971
|
+
std::optional<float> miter_limit;
|
|
972
|
+
std::optional<float> precision;
|
|
973
|
+
std::optional<SkPaint::Join> join;
|
|
974
|
+
std::optional<SkPaint::Cap> cap;
|
|
975
|
+
};
|
|
976
|
+
|
|
977
|
+
template <>
|
|
978
|
+
inline StrokeOpts getPropertyValue(jsi::Runtime &runtime,
|
|
979
|
+
const jsi::Value &value) {
|
|
980
|
+
if (value.isObject()) {
|
|
981
|
+
StrokeOpts opts;
|
|
982
|
+
auto object = value.asObject(runtime);
|
|
983
|
+
if (object.hasProperty(runtime, "width")) {
|
|
984
|
+
opts.width = object.getProperty(runtime, "width").asNumber();
|
|
985
|
+
}
|
|
986
|
+
if (object.hasProperty(runtime, "miterLimit")) {
|
|
987
|
+
opts.miter_limit = object.getProperty(runtime, "miterLimit").asNumber();
|
|
988
|
+
}
|
|
989
|
+
if (object.hasProperty(runtime, "precision")) {
|
|
990
|
+
opts.precision = object.getProperty(runtime, "precision").asNumber();
|
|
991
|
+
}
|
|
992
|
+
if (object.hasProperty(runtime, "join")) {
|
|
993
|
+
opts.join = getPropertyValue<SkPaint::Join>(
|
|
994
|
+
runtime, object.getProperty(runtime, "join"));
|
|
995
|
+
}
|
|
996
|
+
if (object.hasProperty(runtime, "cap")) {
|
|
997
|
+
opts.cap = getPropertyValue<SkPaint::Cap>(
|
|
998
|
+
runtime, object.getProperty(runtime, "cap"));
|
|
999
|
+
}
|
|
1000
|
+
return opts;
|
|
1001
|
+
}
|
|
1002
|
+
throw std::runtime_error("Invalid prop value for StrokeOpts received");
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
template <>
|
|
1006
|
+
inline SkRRect getPropertyValue(jsi::Runtime &runtime,
|
|
1007
|
+
const jsi::Value &value) {
|
|
1008
|
+
if (value.isObject()) {
|
|
1009
|
+
auto rect = processRRect(runtime, value);
|
|
1010
|
+
if (!rect) {
|
|
1011
|
+
throw std::runtime_error("Invalid prop value for SkRRect received");
|
|
1012
|
+
}
|
|
1013
|
+
return SkRRect(*rect);
|
|
1014
|
+
}
|
|
1015
|
+
throw std::runtime_error("Invalid prop value for SkRRect received");
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
template <>
|
|
1019
|
+
inline SkRect getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
1020
|
+
if (value.isObject()) {
|
|
1021
|
+
auto rect = processRect(runtime, value);
|
|
1022
|
+
if (!rect) {
|
|
1023
|
+
throw std::runtime_error("Invalid prop value for SkRect received");
|
|
1024
|
+
}
|
|
1025
|
+
return SkRect(*rect);
|
|
1026
|
+
}
|
|
1027
|
+
throw std::runtime_error("Invalid prop value for SkRect received");
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
template <>
|
|
1031
|
+
inline std::variant<SkRect, SkRRect> getPropertyValue(jsi::Runtime &runtime,
|
|
1032
|
+
const jsi::Value &value) {
|
|
1033
|
+
if (value.isObject()) {
|
|
1034
|
+
auto rect = processRect(runtime, value);
|
|
1035
|
+
if (rect) {
|
|
1036
|
+
return SkRect(*rect);
|
|
1037
|
+
}
|
|
1038
|
+
auto rrect = processRRect(runtime, value);
|
|
1039
|
+
if (rrect) {
|
|
1040
|
+
return SkRRect(*rrect);
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
throw std::runtime_error("Invalid prop value for SkRect received");
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
template <>
|
|
1047
|
+
inline SkPath getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
1048
|
+
auto path = processPath(runtime, value);
|
|
1049
|
+
if (!path) {
|
|
1050
|
+
throw std::runtime_error("Invalid prop value for SkPath received");
|
|
1051
|
+
}
|
|
1052
|
+
return SkPath(*path);
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
template <>
|
|
1056
|
+
inline ClipDef getPropertyValue(jsi::Runtime &runtime,
|
|
1057
|
+
const jsi::Value &value) {
|
|
1058
|
+
auto path = processPath(runtime, value);
|
|
1059
|
+
if (path) {
|
|
1060
|
+
ClipDef def = SkPath(*path);
|
|
1061
|
+
return def;
|
|
1062
|
+
}
|
|
1063
|
+
auto rect = processRect(runtime, value);
|
|
1064
|
+
if (rect) {
|
|
1065
|
+
ClipDef def = SkRect(*rect);
|
|
1066
|
+
return def;
|
|
1067
|
+
}
|
|
1068
|
+
auto rrect = processRRect(runtime, value);
|
|
1069
|
+
if (rrect) {
|
|
1070
|
+
ClipDef def = SkRRect(*rrect);
|
|
1071
|
+
return def;
|
|
1072
|
+
}
|
|
1073
|
+
throw std::runtime_error("Invalid prop value for ClipDef received");
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
template <>
|
|
1077
|
+
inline Layer getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
1078
|
+
if (value.isBool()) {
|
|
1079
|
+
Layer layer = value.asBool();
|
|
1080
|
+
return layer;
|
|
1081
|
+
}
|
|
1082
|
+
auto ptr = tryGetJsiObject<JsiSkPaint>(runtime, value);
|
|
1083
|
+
if (ptr != nullptr) {
|
|
1084
|
+
auto paint = ptr->getObject();
|
|
1085
|
+
Layer layer = SkPaint(*paint);
|
|
1086
|
+
return layer;
|
|
1087
|
+
}
|
|
1088
|
+
throw std::runtime_error("Invalid prop value for Layer received");
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
template <>
|
|
1092
|
+
inline Patch getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
1093
|
+
if (value.isObject() && value.asObject(runtime).isArray(runtime)) {
|
|
1094
|
+
auto array = value.asObject(runtime).asArray(runtime);
|
|
1095
|
+
if (array.size(runtime) != 4) {
|
|
1096
|
+
throw std::runtime_error("Patch must contain exactly 4 bezier handles");
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
// Patch requires points in the following order:
|
|
1100
|
+
// M tl
|
|
1101
|
+
// C c1 c2 br
|
|
1102
|
+
// C c1 c2 bl
|
|
1103
|
+
// C c1 c2 tl (the redundant point in the last command is removed)
|
|
1104
|
+
|
|
1105
|
+
Patch result;
|
|
1106
|
+
|
|
1107
|
+
result[0] = processPoint(runtime, array.getValueAtIndex(runtime, 0)
|
|
1108
|
+
.asObject(runtime)
|
|
1109
|
+
.getProperty(runtime, "pos"));
|
|
1110
|
+
result[1] = processPoint(runtime, array.getValueAtIndex(runtime, 0)
|
|
1111
|
+
.asObject(runtime)
|
|
1112
|
+
.getProperty(runtime, "c2"));
|
|
1113
|
+
result[2] = processPoint(runtime, array.getValueAtIndex(runtime, 1)
|
|
1114
|
+
.asObject(runtime)
|
|
1115
|
+
.getProperty(runtime, "c1"));
|
|
1116
|
+
result[3] = processPoint(runtime, array.getValueAtIndex(runtime, 1)
|
|
1117
|
+
.asObject(runtime)
|
|
1118
|
+
.getProperty(runtime, "pos"));
|
|
1119
|
+
result[4] = processPoint(runtime, array.getValueAtIndex(runtime, 1)
|
|
1120
|
+
.asObject(runtime)
|
|
1121
|
+
.getProperty(runtime, "c2"));
|
|
1122
|
+
result[5] = processPoint(runtime, array.getValueAtIndex(runtime, 2)
|
|
1123
|
+
.asObject(runtime)
|
|
1124
|
+
.getProperty(runtime, "c1"));
|
|
1125
|
+
result[6] = processPoint(runtime, array.getValueAtIndex(runtime, 2)
|
|
1126
|
+
.asObject(runtime)
|
|
1127
|
+
.getProperty(runtime, "pos"));
|
|
1128
|
+
result[7] = processPoint(runtime, array.getValueAtIndex(runtime, 2)
|
|
1129
|
+
.asObject(runtime)
|
|
1130
|
+
.getProperty(runtime, "c2"));
|
|
1131
|
+
result[8] = processPoint(runtime, array.getValueAtIndex(runtime, 3)
|
|
1132
|
+
.asObject(runtime)
|
|
1133
|
+
.getProperty(runtime, "c1"));
|
|
1134
|
+
result[9] = processPoint(runtime, array.getValueAtIndex(runtime, 3)
|
|
1135
|
+
.asObject(runtime)
|
|
1136
|
+
.getProperty(runtime, "pos"));
|
|
1137
|
+
result[10] = processPoint(runtime, array.getValueAtIndex(runtime, 3)
|
|
1138
|
+
.asObject(runtime)
|
|
1139
|
+
.getProperty(runtime, "c2"));
|
|
1140
|
+
result[11] = processPoint(runtime, array.getValueAtIndex(runtime, 0)
|
|
1141
|
+
.asObject(runtime)
|
|
1142
|
+
.getProperty(runtime, "c1"));
|
|
1143
|
+
|
|
1144
|
+
return result;
|
|
1145
|
+
}
|
|
1146
|
+
throw std::runtime_error("Invalid prop value for Patch received");
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
template <>
|
|
1150
|
+
inline std::vector<SkRSXform> getPropertyValue(jsi::Runtime &runtime,
|
|
1151
|
+
const jsi::Value &value) {
|
|
1152
|
+
std::vector<SkRSXform> result;
|
|
1153
|
+
if (value.isObject() && value.asObject(runtime).isArray(runtime)) {
|
|
1154
|
+
auto array = value.asObject(runtime).asArray(runtime);
|
|
1155
|
+
size_t size = array.size(runtime);
|
|
1156
|
+
result.reserve(size);
|
|
1157
|
+
|
|
1158
|
+
for (size_t i = 0; i < size; i++) {
|
|
1159
|
+
result.push_back(getPropertyValue<SkRSXform>(
|
|
1160
|
+
runtime, array.getValueAtIndex(runtime, i)));
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
return result;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
template <>
|
|
1167
|
+
inline std::vector<SkPoint> getPropertyValue(jsi::Runtime &runtime,
|
|
1168
|
+
const jsi::Value &value) {
|
|
1169
|
+
std::vector<SkPoint> result;
|
|
1170
|
+
if (value.isObject() && value.asObject(runtime).isArray(runtime)) {
|
|
1171
|
+
auto array = value.asObject(runtime).asArray(runtime);
|
|
1172
|
+
size_t size = array.size(runtime);
|
|
1173
|
+
result.reserve(size);
|
|
1174
|
+
|
|
1175
|
+
for (size_t i = 0; i < size; i++) {
|
|
1176
|
+
auto point = processPoint(runtime, array.getValueAtIndex(runtime, i));
|
|
1177
|
+
result.push_back(point);
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
return result;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
template <>
|
|
1184
|
+
inline std::vector<SkRect> getPropertyValue(jsi::Runtime &runtime,
|
|
1185
|
+
const jsi::Value &value) {
|
|
1186
|
+
std::vector<SkRect> result;
|
|
1187
|
+
if (value.isObject() && value.asObject(runtime).isArray(runtime)) {
|
|
1188
|
+
auto array = value.asObject(runtime).asArray(runtime);
|
|
1189
|
+
size_t size = array.size(runtime);
|
|
1190
|
+
result.reserve(size);
|
|
1191
|
+
|
|
1192
|
+
for (size_t i = 0; i < size; i++) {
|
|
1193
|
+
auto rect = processRect(runtime, array.getValueAtIndex(runtime, i));
|
|
1194
|
+
if (rect) {
|
|
1195
|
+
result.push_back(*rect);
|
|
1196
|
+
} else {
|
|
1197
|
+
throw std::runtime_error("Invalid rect in array at index " +
|
|
1198
|
+
std::to_string(i));
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
return result;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
template <>
|
|
1206
|
+
inline std::vector<float> getPropertyValue(jsi::Runtime &runtime,
|
|
1207
|
+
const jsi::Value &value) {
|
|
1208
|
+
std::vector<float> result;
|
|
1209
|
+
|
|
1210
|
+
if (value.isNumber()) {
|
|
1211
|
+
// If single number, create a vector with one element
|
|
1212
|
+
result.push_back(static_cast<float>(value.asNumber()));
|
|
1213
|
+
} else if (value.isObject()) {
|
|
1214
|
+
auto obj = value.asObject(runtime);
|
|
1215
|
+
if (obj.isArray(runtime)) {
|
|
1216
|
+
auto array = obj.asArray(runtime);
|
|
1217
|
+
size_t size = array.size(runtime);
|
|
1218
|
+
result.reserve(size);
|
|
1219
|
+
|
|
1220
|
+
for (size_t i = 0; i < size; i++) {
|
|
1221
|
+
jsi::Value element = array.getValueAtIndex(runtime, i);
|
|
1222
|
+
if (element.isNumber()) {
|
|
1223
|
+
result.push_back(static_cast<float>(element.asNumber()));
|
|
1224
|
+
} else {
|
|
1225
|
+
throw std::runtime_error("Array elements must be numbers");
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
} else {
|
|
1229
|
+
throw std::runtime_error("Expected array or number for vector<float>");
|
|
1230
|
+
}
|
|
1231
|
+
} else {
|
|
1232
|
+
throw std::runtime_error("Invalid value type for vector<float>");
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
return result;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
template <>
|
|
1239
|
+
inline std::vector<uint16_t> getPropertyValue(jsi::Runtime &runtime,
|
|
1240
|
+
const jsi::Value &value) {
|
|
1241
|
+
std::vector<uint16_t> result;
|
|
1242
|
+
|
|
1243
|
+
if (value.isNumber()) {
|
|
1244
|
+
// If single number, create a vector with one element
|
|
1245
|
+
result.push_back(static_cast<float>(value.asNumber()));
|
|
1246
|
+
} else if (value.isObject()) {
|
|
1247
|
+
auto obj = value.asObject(runtime);
|
|
1248
|
+
if (obj.isArray(runtime)) {
|
|
1249
|
+
auto array = obj.asArray(runtime);
|
|
1250
|
+
size_t size = array.size(runtime);
|
|
1251
|
+
result.reserve(size);
|
|
1252
|
+
|
|
1253
|
+
for (size_t i = 0; i < size; i++) {
|
|
1254
|
+
jsi::Value element = array.getValueAtIndex(runtime, i);
|
|
1255
|
+
if (element.isNumber()) {
|
|
1256
|
+
result.push_back(static_cast<uint16_t>(element.asNumber()));
|
|
1257
|
+
} else {
|
|
1258
|
+
throw std::runtime_error("Array elements must be numbers");
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
} else {
|
|
1262
|
+
throw std::runtime_error("Expected array or number for vector<uint16_t>");
|
|
1263
|
+
}
|
|
1264
|
+
} else {
|
|
1265
|
+
throw std::runtime_error("Invalid value type for vector<uint16_t>");
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
return result;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
template <>
|
|
1272
|
+
inline bool getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
1273
|
+
if (value.isBool()) {
|
|
1274
|
+
return value.asBool();
|
|
1275
|
+
}
|
|
1276
|
+
throw std::runtime_error("Invalid prop value for bool received");
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
//
|
|
1280
|
+
template <typename T>
|
|
1281
|
+
std::optional<T> makeOptionalPropertyValue(jsi::Runtime &runtime,
|
|
1282
|
+
const jsi::Value &value) {
|
|
1283
|
+
if (value.isNull() || value.isUndefined()) {
|
|
1284
|
+
return std::nullopt;
|
|
1285
|
+
}
|
|
1286
|
+
try {
|
|
1287
|
+
return getPropertyValue<T>(runtime, value);
|
|
1288
|
+
} catch (const std::runtime_error &) {
|
|
1289
|
+
return std::nullopt;
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
template <>
|
|
1294
|
+
inline std::optional<float> getPropertyValue(jsi::Runtime &runtime,
|
|
1295
|
+
const jsi::Value &value) {
|
|
1296
|
+
return makeOptionalPropertyValue<float>(runtime, value);
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
template <>
|
|
1300
|
+
inline std::optional<SkPoint> getPropertyValue(jsi::Runtime &runtime,
|
|
1301
|
+
const jsi::Value &value) {
|
|
1302
|
+
return makeOptionalPropertyValue<SkPoint>(runtime, value);
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
template <>
|
|
1306
|
+
inline std::optional<SkColor> getPropertyValue(jsi::Runtime &runtime,
|
|
1307
|
+
const jsi::Value &value) {
|
|
1308
|
+
return makeOptionalPropertyValue<SkColor>(runtime, value);
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
template <>
|
|
1312
|
+
inline std::optional<BlendModeValue> getPropertyValue(jsi::Runtime &runtime,
|
|
1313
|
+
const jsi::Value &value) {
|
|
1314
|
+
return makeOptionalPropertyValue<BlendModeValue>(runtime, value);
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
template <>
|
|
1318
|
+
inline std::optional<SkBlendMode> getPropertyValue(jsi::Runtime &runtime,
|
|
1319
|
+
const jsi::Value &value) {
|
|
1320
|
+
return makeOptionalPropertyValue<SkBlendMode>(runtime, value);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
template <>
|
|
1324
|
+
inline std::optional<SkMatrix> getPropertyValue(jsi::Runtime &runtime,
|
|
1325
|
+
const jsi::Value &value) {
|
|
1326
|
+
return makeOptionalPropertyValue<SkMatrix>(runtime, value);
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
template <>
|
|
1330
|
+
inline std::optional<SkM44> getPropertyValue(jsi::Runtime &runtime,
|
|
1331
|
+
const jsi::Value &value) {
|
|
1332
|
+
return makeOptionalPropertyValue<SkM44>(runtime, value);
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
template <>
|
|
1336
|
+
inline std::optional<bool> getPropertyValue(jsi::Runtime &runtime,
|
|
1337
|
+
const jsi::Value &value) {
|
|
1338
|
+
return makeOptionalPropertyValue<bool>(runtime, value);
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
template <>
|
|
1342
|
+
inline std::optional<ClipDef> getPropertyValue(jsi::Runtime &runtime,
|
|
1343
|
+
const jsi::Value &value) {
|
|
1344
|
+
return makeOptionalPropertyValue<ClipDef>(runtime, value);
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
template <>
|
|
1348
|
+
inline std::optional<Layer> getPropertyValue(jsi::Runtime &runtime,
|
|
1349
|
+
const jsi::Value &value) {
|
|
1350
|
+
return makeOptionalPropertyValue<Layer>(runtime, value);
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
template <>
|
|
1354
|
+
inline std::optional<SkFont> getPropertyValue(jsi::Runtime &runtime,
|
|
1355
|
+
const jsi::Value &value) {
|
|
1356
|
+
return makeOptionalPropertyValue<SkFont>(runtime, value);
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
template <>
|
|
1360
|
+
inline std::optional<SkPaint::Style> getPropertyValue(jsi::Runtime &runtime,
|
|
1361
|
+
const jsi::Value &value) {
|
|
1362
|
+
return makeOptionalPropertyValue<SkPaint::Style>(runtime, value);
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
template <>
|
|
1366
|
+
inline std::optional<SkPaint::Join> getPropertyValue(jsi::Runtime &runtime,
|
|
1367
|
+
const jsi::Value &value) {
|
|
1368
|
+
return makeOptionalPropertyValue<SkPaint::Join>(runtime, value);
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
template <>
|
|
1372
|
+
inline std::optional<SkPaint::Cap> getPropertyValue(jsi::Runtime &runtime,
|
|
1373
|
+
const jsi::Value &value) {
|
|
1374
|
+
return makeOptionalPropertyValue<SkPaint::Cap>(runtime, value);
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
template <>
|
|
1378
|
+
inline std::optional<SkRect> getPropertyValue(jsi::Runtime &runtime,
|
|
1379
|
+
const jsi::Value &value) {
|
|
1380
|
+
return makeOptionalPropertyValue<SkRect>(runtime, value);
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
template <>
|
|
1384
|
+
inline std::optional<sk_sp<SkImage>> getPropertyValue(jsi::Runtime &runtime,
|
|
1385
|
+
const jsi::Value &value) {
|
|
1386
|
+
return makeOptionalPropertyValue<sk_sp<SkImage>>(runtime, value);
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
template <>
|
|
1390
|
+
inline std::optional<SkSamplingOptions>
|
|
1391
|
+
getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
1392
|
+
return makeOptionalPropertyValue<SkSamplingOptions>(runtime, value);
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
template <>
|
|
1396
|
+
inline std::optional<StrokeOpts> getPropertyValue(jsi::Runtime &runtime,
|
|
1397
|
+
const jsi::Value &value) {
|
|
1398
|
+
return makeOptionalPropertyValue<StrokeOpts>(runtime, value);
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
template <>
|
|
1402
|
+
inline std::optional<std::vector<SkColor>>
|
|
1403
|
+
getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
1404
|
+
return makeOptionalPropertyValue<std::vector<SkColor>>(runtime, value);
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
template <>
|
|
1408
|
+
inline std::optional<std::vector<float>>
|
|
1409
|
+
getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
1410
|
+
return makeOptionalPropertyValue<std::vector<float>>(runtime, value);
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
template <>
|
|
1414
|
+
inline std::optional<SkTileMode> getPropertyValue(jsi::Runtime &runtime,
|
|
1415
|
+
const jsi::Value &value) {
|
|
1416
|
+
return makeOptionalPropertyValue<SkTileMode>(runtime, value);
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
template <>
|
|
1420
|
+
inline std::optional<SkPathFillType> getPropertyValue(jsi::Runtime &runtime,
|
|
1421
|
+
const jsi::Value &value) {
|
|
1422
|
+
return makeOptionalPropertyValue<SkPathFillType>(runtime, value);
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
template <>
|
|
1426
|
+
inline std::optional<SkColorChannel> getPropertyValue(jsi::Runtime &runtime,
|
|
1427
|
+
const jsi::Value &value) {
|
|
1428
|
+
return makeOptionalPropertyValue<SkColorChannel>(runtime, value);
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
template <>
|
|
1432
|
+
inline std::optional<Uniforms> getPropertyValue(jsi::Runtime &runtime,
|
|
1433
|
+
const jsi::Value &value) {
|
|
1434
|
+
return makeOptionalPropertyValue<Uniforms>(runtime, value);
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
template <>
|
|
1438
|
+
inline std::optional<Radius> getPropertyValue(jsi::Runtime &runtime,
|
|
1439
|
+
const jsi::Value &value) {
|
|
1440
|
+
return makeOptionalPropertyValue<Radius>(runtime, value);
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
template <>
|
|
1444
|
+
inline std::optional<SkRRect> getPropertyValue(jsi::Runtime &runtime,
|
|
1445
|
+
const jsi::Value &value) {
|
|
1446
|
+
return makeOptionalPropertyValue<SkRRect>(runtime, value);
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
template <>
|
|
1450
|
+
inline std::optional<SkPaint> getPropertyValue(jsi::Runtime &runtime,
|
|
1451
|
+
const jsi::Value &value) {
|
|
1452
|
+
return makeOptionalPropertyValue<SkPaint>(runtime, value);
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
template <>
|
|
1456
|
+
inline std::optional<std::vector<SkPoint>>
|
|
1457
|
+
getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
1458
|
+
return makeOptionalPropertyValue<std::vector<SkPoint>>(runtime, value);
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
template <>
|
|
1462
|
+
inline std::optional<std::vector<uint16_t>>
|
|
1463
|
+
getPropertyValue(jsi::Runtime &runtime, const jsi::Value &value) {
|
|
1464
|
+
return makeOptionalPropertyValue<std::vector<uint16_t>>(runtime, value);
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
} // namespace RNSkia
|