@pompadour/react-native-skia 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE.md +7 -0
- package/README.md +9 -0
- package/android/CMakeLists.txt +242 -0
- package/android/README.md +14 -0
- package/android/build.gradle +352 -0
- package/android/cpp/jni/JniLoad.cpp +15 -0
- package/android/cpp/jni/JniPlatformContext.cpp +243 -0
- package/android/cpp/jni/JniSkiaManager.cpp +74 -0
- package/android/cpp/jni/include/JniPlatformContext.h +73 -0
- package/android/cpp/jni/include/JniSkiaBaseView.h +70 -0
- package/android/cpp/jni/include/JniSkiaDomView.h +89 -0
- package/android/cpp/jni/include/JniSkiaManager.h +76 -0
- package/android/cpp/jni/include/JniSkiaPictureView.h +92 -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/RNSkAndroidPlatformContext.h +152 -0
- package/android/cpp/rnskia-android/RNSkAndroidVideo.cpp +163 -0
- package/android/cpp/rnskia-android/RNSkAndroidVideo.h +41 -0
- package/android/cpp/rnskia-android/RNSkAndroidView.h +101 -0
- package/android/cpp/rnskia-android/RNSkOpenGLCanvasProvider.cpp +87 -0
- package/android/cpp/rnskia-android/RNSkOpenGLCanvasProvider.h +39 -0
- package/android/cpp/rnskia-android/SkiaOpenGLHelper.h +310 -0
- package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.cpp +221 -0
- package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.h +168 -0
- package/android/src/main/AndroidManifest.xml +6 -0
- package/android/src/main/java/com/shopify/reactnative/skia/PlatformContext.java +195 -0
- package/android/src/main/java/com/shopify/reactnative/skia/RNSkVideo.java +266 -0
- package/android/src/main/java/com/shopify/reactnative/skia/RNSkiaModule.java +87 -0
- package/android/src/main/java/com/shopify/reactnative/skia/RNSkiaPackage.java +77 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaBaseView.java +180 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaBaseViewManager.java +34 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaDomView.java +45 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaDomViewManager.java +32 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaManager.java +57 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaPictureView.java +44 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaPictureViewManager.java +33 -0
- package/android/src/main/java/com/shopify/reactnative/skia/ViewScreenshotService.java +194 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaDomViewManagerDelegate.java +34 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaDomViewManagerInterface.java +18 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaDrawViewManagerInterface.java +18 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaPictureViewManagerDelegate.java +34 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaPictureViewManagerInterface.java +18 -0
- package/android/src/paper/java/com/shopify/reactnative/skia/NativeSkiaModuleSpec.java +38 -0
- package/android/src/reactnative69/java/com/shopify/reactnative/skia/ReactNativeCompatible.java +11 -0
- package/android/src/reactnative74/java/com/shopify/reactnative/skia/ReactNativeCompatible.java +14 -0
- package/cpp/api/JsiNativeBuffer.h +43 -0
- package/cpp/api/JsiSkAnimatedImage.h +60 -0
- package/cpp/api/JsiSkAnimatedImageFactory.h +39 -0
- package/cpp/api/JsiSkApi.h +133 -0
- package/cpp/api/JsiSkCanvas.h +622 -0
- package/cpp/api/JsiSkColor.h +85 -0
- package/cpp/api/JsiSkColorFilter.h +30 -0
- package/cpp/api/JsiSkColorFilterFactory.h +101 -0
- package/cpp/api/JsiSkContourMeasure.h +79 -0
- package/cpp/api/JsiSkContourMeasureIter.h +68 -0
- package/cpp/api/JsiSkData.h +30 -0
- package/cpp/api/JsiSkDataFactory.h +97 -0
- package/cpp/api/JsiSkFont.h +317 -0
- package/cpp/api/JsiSkFontMgr.h +54 -0
- package/cpp/api/JsiSkFontMgrFactory.h +45 -0
- package/cpp/api/JsiSkFontStyle.h +67 -0
- package/cpp/api/JsiSkHostObjects.h +153 -0
- package/cpp/api/JsiSkImage.h +208 -0
- package/cpp/api/JsiSkImageFactory.h +91 -0
- package/cpp/api/JsiSkImageFilter.h +31 -0
- package/cpp/api/JsiSkImageFilterFactory.h +240 -0
- package/cpp/api/JsiSkImageInfo.h +79 -0
- package/cpp/api/JsiSkMaskFilter.h +31 -0
- package/cpp/api/JsiSkMaskFilterFactory.h +41 -0
- package/cpp/api/JsiSkMatrix.h +180 -0
- package/cpp/api/JsiSkPaint.h +220 -0
- package/cpp/api/JsiSkParagraph.h +150 -0
- package/cpp/api/JsiSkParagraphBuilder.h +130 -0
- package/cpp/api/JsiSkParagraphBuilderFactory.h +54 -0
- package/cpp/api/JsiSkParagraphStyle.h +125 -0
- package/cpp/api/JsiSkPath.h +639 -0
- package/cpp/api/JsiSkPathEffect.h +32 -0
- package/cpp/api/JsiSkPathEffectFactory.h +128 -0
- package/cpp/api/JsiSkPathFactory.h +173 -0
- package/cpp/api/JsiSkPicture.h +69 -0
- package/cpp/api/JsiSkPictureFactory.h +51 -0
- package/cpp/api/JsiSkPictureRecorder.h +65 -0
- package/cpp/api/JsiSkPoint.h +84 -0
- package/cpp/api/JsiSkRRect.h +129 -0
- package/cpp/api/JsiSkRSXform.h +128 -0
- package/cpp/api/JsiSkRect.h +123 -0
- package/cpp/api/JsiSkRuntimeEffect.h +220 -0
- package/cpp/api/JsiSkRuntimeEffectFactory.h +41 -0
- package/cpp/api/JsiSkRuntimeShaderBuilder.h +83 -0
- package/cpp/api/JsiSkSVG.h +50 -0
- package/cpp/api/JsiSkSVGFactory.h +49 -0
- package/cpp/api/JsiSkShader.h +32 -0
- package/cpp/api/JsiSkShaderFactory.h +226 -0
- package/cpp/api/JsiSkStrutStyle.h +103 -0
- package/cpp/api/JsiSkSurface.h +74 -0
- package/cpp/api/JsiSkSurfaceFactory.h +58 -0
- package/cpp/api/JsiSkTextBlob.h +31 -0
- package/cpp/api/JsiSkTextBlobFactory.h +110 -0
- package/cpp/api/JsiSkTextStyle.h +185 -0
- package/cpp/api/JsiSkTypeface.h +67 -0
- package/cpp/api/JsiSkTypefaceFactory.h +36 -0
- package/cpp/api/JsiSkTypefaceFontProvider.h +92 -0
- package/cpp/api/JsiSkTypefaceFontProviderFactory.h +32 -0
- package/cpp/api/JsiSkVertices.h +144 -0
- package/cpp/api/JsiVideo.h +119 -0
- package/cpp/api/third_party/CSSColorParser.cpp +181 -0
- package/cpp/api/third_party/CSSColorParser.h +210 -0
- package/cpp/api/third_party/base64.cpp +153 -0
- package/cpp/api/third_party/base64.h +50 -0
- package/cpp/jsi/JsiHostObject.cpp +150 -0
- package/cpp/jsi/JsiHostObject.h +391 -0
- package/cpp/jsi/JsiPromises.cpp +39 -0
- package/cpp/jsi/JsiPromises.h +50 -0
- package/cpp/jsi/JsiValue.cpp +346 -0
- package/cpp/jsi/JsiValue.h +222 -0
- package/cpp/jsi/JsiValueWrapper.h +164 -0
- package/cpp/jsi/RuntimeAwareCache.cpp +7 -0
- package/cpp/jsi/RuntimeAwareCache.h +101 -0
- package/cpp/jsi/RuntimeLifecycleMonitor.cpp +57 -0
- package/cpp/jsi/RuntimeLifecycleMonitor.h +32 -0
- package/cpp/rnskia/RNSkDispatchQueue.cpp +73 -0
- package/cpp/rnskia/RNSkDispatchQueue.h +49 -0
- package/cpp/rnskia/RNSkDomView.cpp +220 -0
- package/cpp/rnskia/RNSkDomView.h +140 -0
- package/cpp/rnskia/RNSkInfoParameter.h +92 -0
- package/cpp/rnskia/RNSkJsiViewApi.h +286 -0
- package/cpp/rnskia/RNSkManager.cpp +87 -0
- package/cpp/rnskia/RNSkManager.h +83 -0
- package/cpp/rnskia/RNSkPictureView.h +124 -0
- package/cpp/rnskia/RNSkPlatformContext.h +265 -0
- package/cpp/rnskia/RNSkVideo.h +28 -0
- package/cpp/rnskia/RNSkView.h +308 -0
- package/cpp/rnskia/dom/JsiDomApi.h +165 -0
- package/cpp/rnskia/dom/base/BaseNodeProp.h +72 -0
- package/cpp/rnskia/dom/base/ConcatablePaint.cpp +117 -0
- package/cpp/rnskia/dom/base/ConcatablePaint.h +49 -0
- package/cpp/rnskia/dom/base/Declaration.h +86 -0
- package/cpp/rnskia/dom/base/DeclarationContext.h +79 -0
- package/cpp/rnskia/dom/base/DerivedNodeProp.h +203 -0
- package/cpp/rnskia/dom/base/DrawingContext.cpp +55 -0
- package/cpp/rnskia/dom/base/DrawingContext.h +104 -0
- package/cpp/rnskia/dom/base/JsiDomDeclarationNode.h +119 -0
- package/cpp/rnskia/dom/base/JsiDomDrawingNode.h +71 -0
- package/cpp/rnskia/dom/base/JsiDomNode.h +572 -0
- package/cpp/rnskia/dom/base/JsiDomRenderNode.h +262 -0
- package/cpp/rnskia/dom/base/NodeProp.h +139 -0
- package/cpp/rnskia/dom/base/NodePropsContainer.h +158 -0
- package/cpp/rnskia/dom/nodes/JsiAtlasNode.h +59 -0
- package/cpp/rnskia/dom/nodes/JsiBackdropFilterNode.h +49 -0
- package/cpp/rnskia/dom/nodes/JsiBlendNode.h +94 -0
- package/cpp/rnskia/dom/nodes/JsiBlurMaskNode.h +75 -0
- package/cpp/rnskia/dom/nodes/JsiBoxNode.h +94 -0
- package/cpp/rnskia/dom/nodes/JsiBoxShadowNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiCircleNode.h +35 -0
- package/cpp/rnskia/dom/nodes/JsiColorFilterNodes.h +164 -0
- package/cpp/rnskia/dom/nodes/JsiDiffRectNode.h +37 -0
- package/cpp/rnskia/dom/nodes/JsiFillNode.h +22 -0
- package/cpp/rnskia/dom/nodes/JsiGlyphsNode.h +53 -0
- package/cpp/rnskia/dom/nodes/JsiGroupNode.h +25 -0
- package/cpp/rnskia/dom/nodes/JsiImageFilterNodes.h +361 -0
- package/cpp/rnskia/dom/nodes/JsiImageNode.h +38 -0
- package/cpp/rnskia/dom/nodes/JsiImageSvgNode.h +63 -0
- package/cpp/rnskia/dom/nodes/JsiLayerNode.h +74 -0
- package/cpp/rnskia/dom/nodes/JsiLineNode.h +38 -0
- package/cpp/rnskia/dom/nodes/JsiOvalNode.h +32 -0
- package/cpp/rnskia/dom/nodes/JsiPaintNode.h +119 -0
- package/cpp/rnskia/dom/nodes/JsiParagraphNode.h +62 -0
- package/cpp/rnskia/dom/nodes/JsiPatchNode.h +50 -0
- package/cpp/rnskia/dom/nodes/JsiPathEffectNodes.h +268 -0
- package/cpp/rnskia/dom/nodes/JsiPathNode.h +181 -0
- package/cpp/rnskia/dom/nodes/JsiPictureNode.h +31 -0
- package/cpp/rnskia/dom/nodes/JsiPointsNode.h +48 -0
- package/cpp/rnskia/dom/nodes/JsiRRectNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiRectNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiShaderNodes.h +463 -0
- package/cpp/rnskia/dom/nodes/JsiTextBlobNode.h +44 -0
- package/cpp/rnskia/dom/nodes/JsiTextNode.h +51 -0
- package/cpp/rnskia/dom/nodes/JsiTextPathNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiVerticesNode.h +41 -0
- package/cpp/rnskia/dom/props/BezierProps.h +65 -0
- package/cpp/rnskia/dom/props/BlendModeProp.h +103 -0
- package/cpp/rnskia/dom/props/BoxShadowProps.h +62 -0
- package/cpp/rnskia/dom/props/CircleProp.h +49 -0
- package/cpp/rnskia/dom/props/ClipProp.h +57 -0
- package/cpp/rnskia/dom/props/ColorProp.h +96 -0
- package/cpp/rnskia/dom/props/FontProp.h +42 -0
- package/cpp/rnskia/dom/props/GlyphsProp.h +55 -0
- package/cpp/rnskia/dom/props/LayerProp.h +52 -0
- package/cpp/rnskia/dom/props/MatrixProp.h +54 -0
- package/cpp/rnskia/dom/props/NumbersProp.h +67 -0
- package/cpp/rnskia/dom/props/PaintProps.h +133 -0
- package/cpp/rnskia/dom/props/ParagraphProp.h +45 -0
- package/cpp/rnskia/dom/props/PathProp.h +59 -0
- package/cpp/rnskia/dom/props/PictureProp.h +40 -0
- package/cpp/rnskia/dom/props/PointProp.h +65 -0
- package/cpp/rnskia/dom/props/PointsProp.h +81 -0
- package/cpp/rnskia/dom/props/RRectProp.h +222 -0
- package/cpp/rnskia/dom/props/RSXformProp.h +52 -0
- package/cpp/rnskia/dom/props/RadiusProp.h +43 -0
- package/cpp/rnskia/dom/props/RectProp.h +164 -0
- package/cpp/rnskia/dom/props/SkImageProps.h +196 -0
- package/cpp/rnskia/dom/props/StrokeProps.h +79 -0
- package/cpp/rnskia/dom/props/SvgProp.h +45 -0
- package/cpp/rnskia/dom/props/TextBlobProp.h +133 -0
- package/cpp/rnskia/dom/props/TileModeProp.h +52 -0
- package/cpp/rnskia/dom/props/TransformProp.h +147 -0
- package/cpp/rnskia/dom/props/TransformsProps.h +66 -0
- package/cpp/rnskia/dom/props/UniformsProp.h +159 -0
- package/cpp/rnskia/dom/props/VertexModeProp.h +49 -0
- package/cpp/rnskia/dom/props/VerticesProps.h +63 -0
- package/cpp/skia/include/android/AHardwareBufferUtils.h +23 -0
- package/cpp/skia/include/android/GrAHardwareBufferUtils.h +101 -0
- package/cpp/skia/include/android/SkAndroidFrameworkUtils.h +89 -0
- package/cpp/skia/include/android/SkAnimatedImage.h +179 -0
- package/cpp/skia/include/android/SkCanvasAndroid.h +20 -0
- package/cpp/skia/include/android/SkHeifDecoder.h +50 -0
- package/cpp/skia/include/android/SkImageAndroid.h +101 -0
- package/cpp/skia/include/android/SkSurfaceAndroid.h +50 -0
- package/cpp/skia/include/android/graphite/SurfaceAndroid.h +59 -0
- package/cpp/skia/include/codec/SkAndroidCodec.h +297 -0
- package/cpp/skia/include/codec/SkAvifDecoder.h +44 -0
- package/cpp/skia/include/codec/SkBmpDecoder.h +44 -0
- package/cpp/skia/include/codec/SkCodec.h +1061 -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 +54 -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 +44 -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 +44 -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 +44 -0
- package/cpp/skia/include/config/SkUserConfig.h +121 -0
- package/cpp/skia/include/core/SkAlphaType.h +45 -0
- package/cpp/skia/include/core/SkAnnotation.h +52 -0
- package/cpp/skia/include/core/SkBBHFactory.h +67 -0
- package/cpp/skia/include/core/SkBitmap.h +1265 -0
- package/cpp/skia/include/core/SkBlendMode.h +112 -0
- package/cpp/skia/include/core/SkBlender.h +31 -0
- package/cpp/skia/include/core/SkBlurTypes.h +20 -0
- package/cpp/skia/include/core/SkCanvas.h +2629 -0
- package/cpp/skia/include/core/SkCanvasVirtualEnforcer.h +61 -0
- package/cpp/skia/include/core/SkCapabilities.h +39 -0
- package/cpp/skia/include/core/SkClipOp.h +19 -0
- package/cpp/skia/include/core/SkColor.h +447 -0
- package/cpp/skia/include/core/SkColorFilter.h +150 -0
- package/cpp/skia/include/core/SkColorPriv.h +167 -0
- package/cpp/skia/include/core/SkColorSpace.h +242 -0
- package/cpp/skia/include/core/SkColorTable.h +62 -0
- package/cpp/skia/include/core/SkColorType.h +69 -0
- package/cpp/skia/include/core/SkContourMeasure.h +139 -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 +191 -0
- package/cpp/skia/include/core/SkDataTable.h +122 -0
- package/cpp/skia/include/core/SkDocument.h +93 -0
- package/cpp/skia/include/core/SkDrawLooper.h +135 -0
- package/cpp/skia/include/core/SkDrawable.h +178 -0
- package/cpp/skia/include/core/SkExecutor.h +41 -0
- package/cpp/skia/include/core/SkFlattenable.h +115 -0
- package/cpp/skia/include/core/SkFont.h +539 -0
- package/cpp/skia/include/core/SkFontArguments.h +94 -0
- package/cpp/skia/include/core/SkFontMetrics.h +139 -0
- package/cpp/skia/include/core/SkFontMgr.h +143 -0
- package/cpp/skia/include/core/SkFontParameters.h +42 -0
- package/cpp/skia/include/core/SkFontStyle.h +84 -0
- package/cpp/skia/include/core/SkFontTypes.h +25 -0
- package/cpp/skia/include/core/SkGraphics.h +169 -0
- package/cpp/skia/include/core/SkImage.h +939 -0
- package/cpp/skia/include/core/SkImageFilter.h +119 -0
- package/cpp/skia/include/core/SkImageGenerator.h +148 -0
- package/cpp/skia/include/core/SkImageInfo.h +614 -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 +53 -0
- package/cpp/skia/include/core/SkMatrix.h +1996 -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 +695 -0
- package/cpp/skia/include/core/SkPath.h +1909 -0
- package/cpp/skia/include/core/SkPathBuilder.h +271 -0
- package/cpp/skia/include/core/SkPathEffect.h +113 -0
- package/cpp/skia/include/core/SkPathMeasure.h +94 -0
- package/cpp/skia/include/core/SkPathTypes.h +57 -0
- package/cpp/skia/include/core/SkPathUtils.h +42 -0
- package/cpp/skia/include/core/SkPicture.h +291 -0
- package/cpp/skia/include/core/SkPictureRecorder.h +115 -0
- package/cpp/skia/include/core/SkPixelRef.h +119 -0
- package/cpp/skia/include/core/SkPixmap.h +731 -0
- package/cpp/skia/include/core/SkPoint.h +10 -0
- package/cpp/skia/include/core/SkPoint3.h +159 -0
- package/cpp/skia/include/core/SkRRect.h +516 -0
- package/cpp/skia/include/core/SkRSXform.h +71 -0
- package/cpp/skia/include/core/SkRasterHandleAllocator.h +94 -0
- package/cpp/skia/include/core/SkRect.h +1385 -0
- package/cpp/skia/include/core/SkRefCnt.h +389 -0
- package/cpp/skia/include/core/SkRegion.h +684 -0
- package/cpp/skia/include/core/SkSamplingOptions.h +107 -0
- package/cpp/skia/include/core/SkScalar.h +173 -0
- package/cpp/skia/include/core/SkSerialProcs.h +117 -0
- package/cpp/skia/include/core/SkShader.h +95 -0
- package/cpp/skia/include/core/SkSize.h +92 -0
- package/cpp/skia/include/core/SkSpan.h +13 -0
- package/cpp/skia/include/core/SkStream.h +513 -0
- package/cpp/skia/include/core/SkString.h +293 -0
- package/cpp/skia/include/core/SkStrokeRec.h +154 -0
- package/cpp/skia/include/core/SkSurface.h +659 -0
- package/cpp/skia/include/core/SkSurfaceProps.h +111 -0
- package/cpp/skia/include/core/SkSwizzle.h +19 -0
- package/cpp/skia/include/core/SkTextBlob.h +519 -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 +114 -0
- package/cpp/skia/include/core/SkTypeface.h +434 -0
- package/cpp/skia/include/core/SkTypes.h +199 -0
- package/cpp/skia/include/core/SkUnPreMultiply.h +56 -0
- package/cpp/skia/include/core/SkVertices.h +134 -0
- package/cpp/skia/include/core/SkYUVAInfo.h +308 -0
- package/cpp/skia/include/core/SkYUVAPixmaps.h +337 -0
- package/cpp/skia/include/docs/SkMultiPictureDocument.h +53 -0
- package/cpp/skia/include/docs/SkPDFDocument.h +227 -0
- package/cpp/skia/include/docs/SkXPSDocument.h +27 -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/SkBlurDrawLooper.h +26 -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/SkGradientShader.h +354 -0
- package/cpp/skia/include/effects/SkHighContrastFilter.h +84 -0
- package/cpp/skia/include/effects/SkImageFilters.h +615 -0
- package/cpp/skia/include/effects/SkLayerDrawLooper.h +161 -0
- package/cpp/skia/include/effects/SkLumaColorFilter.h +37 -0
- package/cpp/skia/include/effects/SkOverdrawColorFilter.h +32 -0
- package/cpp/skia/include/effects/SkPerlinNoiseShader.h +53 -0
- package/cpp/skia/include/effects/SkRuntimeEffect.h +514 -0
- package/cpp/skia/include/effects/SkShaderMaskFilter.h +26 -0
- package/cpp/skia/include/effects/SkTableMaskFilter.h +41 -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 +128 -0
- package/cpp/skia/include/encode/SkPngEncoder.h +117 -0
- package/cpp/skia/include/encode/SkWebpEncoder.h +92 -0
- package/cpp/skia/include/gpu/GpuTypes.h +85 -0
- package/cpp/skia/include/gpu/GrBackendSemaphore.h +126 -0
- package/cpp/skia/include/gpu/GrBackendSurface.h +472 -0
- package/cpp/skia/include/gpu/GrContextOptions.h +374 -0
- package/cpp/skia/include/gpu/GrContextThreadSafeProxy.h +185 -0
- package/cpp/skia/include/gpu/GrDirectContext.h +1017 -0
- package/cpp/skia/include/gpu/GrDriverBugWorkarounds.h +53 -0
- package/cpp/skia/include/gpu/GrDriverBugWorkaroundsAutogen.h +45 -0
- package/cpp/skia/include/gpu/GrRecordingContext.h +285 -0
- package/cpp/skia/include/gpu/GrTypes.h +244 -0
- package/cpp/skia/include/gpu/GrYUVABackendTextures.h +124 -0
- package/cpp/skia/include/gpu/MutableTextureState.h +68 -0
- package/cpp/skia/include/gpu/ShaderErrorHandler.h +46 -0
- package/cpp/skia/include/gpu/d3d/GrD3DBackendContext.h +35 -0
- package/cpp/skia/include/gpu/d3d/GrD3DTypes.h +248 -0
- package/cpp/skia/include/gpu/ganesh/GrExternalTextureGenerator.h +54 -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 +218 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLBackendSurface.h +58 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLDirectContext.h +30 -0
- package/cpp/skia/include/gpu/ganesh/mtl/SkSurfaceMetal.h +73 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrBackendDrawableInfo.h +46 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSemaphore.h +20 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSurface.h +67 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkDirectContext.h +30 -0
- package/cpp/skia/include/gpu/gl/GrGLAssembleHelpers.h +15 -0
- package/cpp/skia/include/gpu/gl/GrGLAssembleInterface.h +44 -0
- package/cpp/skia/include/gpu/gl/GrGLConfig.h +79 -0
- package/cpp/skia/include/gpu/gl/GrGLConfig_chrome.h +14 -0
- package/cpp/skia/include/gpu/gl/GrGLExtensions.h +78 -0
- package/cpp/skia/include/gpu/gl/GrGLFunctions.h +307 -0
- package/cpp/skia/include/gpu/gl/GrGLInterface.h +338 -0
- package/cpp/skia/include/gpu/gl/GrGLTypes.h +219 -0
- package/cpp/skia/include/gpu/gl/egl/GrGLMakeEGLInterface.h +23 -0
- package/cpp/skia/include/gpu/gl/glx/GrGLMakeGLXInterface.h +23 -0
- package/cpp/skia/include/gpu/graphite/BackendSemaphore.h +78 -0
- package/cpp/skia/include/gpu/graphite/BackendTexture.h +164 -0
- package/cpp/skia/include/gpu/graphite/Context.h +281 -0
- package/cpp/skia/include/gpu/graphite/ContextOptions.h +102 -0
- package/cpp/skia/include/gpu/graphite/GraphiteTypes.h +129 -0
- package/cpp/skia/include/gpu/graphite/Image.h +352 -0
- package/cpp/skia/include/gpu/graphite/ImageProvider.h +68 -0
- package/cpp/skia/include/gpu/graphite/Recorder.h +251 -0
- package/cpp/skia/include/gpu/graphite/Recording.h +95 -0
- package/cpp/skia/include/gpu/graphite/Surface.h +86 -0
- package/cpp/skia/include/gpu/graphite/TextureInfo.h +168 -0
- package/cpp/skia/include/gpu/graphite/YUVABackendTextures.h +139 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnBackendContext.h +68 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnTypes.h +45 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnUtils.h +28 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlBackendContext.h +25 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteTypes.h +68 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteUtils.h +27 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteTypes.h +64 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteUtils.h +28 -0
- package/cpp/skia/include/gpu/mock/GrMockTypes.h +163 -0
- package/cpp/skia/include/gpu/mtl/GrMtlBackendContext.h +21 -0
- package/cpp/skia/include/gpu/mtl/GrMtlTypes.h +63 -0
- package/cpp/skia/include/gpu/mtl/MtlMemoryAllocator.h +39 -0
- package/cpp/skia/include/gpu/vk/GrVkBackendContext.h +84 -0
- package/cpp/skia/include/gpu/vk/GrVkExtensions.h +15 -0
- package/cpp/skia/include/gpu/vk/GrVkMemoryAllocator.h +15 -0
- package/cpp/skia/include/gpu/vk/GrVkTypes.h +107 -0
- package/cpp/skia/include/gpu/vk/VulkanBackendContext.h +52 -0
- package/cpp/skia/include/gpu/vk/VulkanExtensions.h +67 -0
- package/cpp/skia/include/gpu/vk/VulkanMemoryAllocator.h +114 -0
- package/cpp/skia/include/gpu/vk/VulkanMutableTextureState.h +26 -0
- package/cpp/skia/include/gpu/vk/VulkanTypes.h +113 -0
- package/cpp/skia/include/pathops/SkPathOps.h +113 -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 +20 -0
- package/cpp/skia/include/ports/SkFontMgr_android.h +45 -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 +22 -0
- package/cpp/skia/include/ports/SkFontMgr_fuchsia.h +19 -0
- package/cpp/skia/include/ports/SkFontMgr_indirect.h +102 -0
- package/cpp/skia/include/ports/SkFontMgr_mac_ct.h +27 -0
- package/cpp/skia/include/ports/SkImageGeneratorCG.h +26 -0
- package/cpp/skia/include/ports/SkImageGeneratorNDK.h +40 -0
- package/cpp/skia/include/ports/SkImageGeneratorWIC.h +41 -0
- package/cpp/skia/include/ports/SkRemotableFontMgr.h +139 -0
- package/cpp/skia/include/ports/SkTypeface_fontations.h +21 -0
- package/cpp/skia/include/ports/SkTypeface_mac.h +44 -0
- package/cpp/skia/include/ports/SkTypeface_win.h +80 -0
- package/cpp/skia/include/private/SkColorData.h +385 -0
- package/cpp/skia/include/private/SkEncodedInfo.h +277 -0
- package/cpp/skia/include/private/SkExif.h +102 -0
- package/cpp/skia/include/private/SkGainmapInfo.h +100 -0
- package/cpp/skia/include/private/SkGainmapShader.h +54 -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 +79 -0
- package/cpp/skia/include/private/SkPathRef.h +537 -0
- package/cpp/skia/include/private/SkSLSampleUsage.h +85 -0
- package/cpp/skia/include/private/SkWeakRefCnt.h +173 -0
- package/cpp/skia/include/private/SkXmp.h +53 -0
- package/cpp/skia/include/private/base/README.md +4 -0
- package/cpp/skia/include/private/base/SingleOwner.h +75 -0
- package/cpp/skia/include/private/base/SkAPI.h +52 -0
- package/cpp/skia/include/private/base/SkAlign.h +39 -0
- package/cpp/skia/include/private/base/SkAlignedStorage.h +32 -0
- package/cpp/skia/include/private/base/SkAnySubclass.h +73 -0
- package/cpp/skia/include/private/base/SkAssert.h +202 -0
- package/cpp/skia/include/private/base/SkAttributes.h +90 -0
- package/cpp/skia/include/private/base/SkCPUTypes.h +25 -0
- package/cpp/skia/include/private/base/SkContainers.h +46 -0
- package/cpp/skia/include/private/base/SkDebug.h +27 -0
- package/cpp/skia/include/private/base/SkDeque.h +138 -0
- package/cpp/skia/include/private/base/SkFeatures.h +144 -0
- package/cpp/skia/include/private/base/SkFixed.h +143 -0
- package/cpp/skia/include/private/base/SkFloatBits.h +90 -0
- package/cpp/skia/include/private/base/SkFloatingPoint.h +198 -0
- package/cpp/skia/include/private/base/SkLoadUserConfig.h +63 -0
- package/cpp/skia/include/private/base/SkMacros.h +94 -0
- package/cpp/skia/include/private/base/SkMalloc.h +144 -0
- package/cpp/skia/include/private/base/SkMath.h +77 -0
- package/cpp/skia/include/private/base/SkMutex.h +64 -0
- package/cpp/skia/include/private/base/SkNoncopyable.h +30 -0
- package/cpp/skia/include/private/base/SkOnce.h +55 -0
- package/cpp/skia/include/private/base/SkPoint_impl.h +569 -0
- package/cpp/skia/include/private/base/SkSafe32.h +49 -0
- package/cpp/skia/include/private/base/SkSemaphore.h +84 -0
- package/cpp/skia/include/private/base/SkSpan_impl.h +131 -0
- package/cpp/skia/include/private/base/SkTArray.h +740 -0
- package/cpp/skia/include/private/base/SkTDArray.h +235 -0
- package/cpp/skia/include/private/base/SkTFitsIn.h +105 -0
- package/cpp/skia/include/private/base/SkTLogic.h +56 -0
- package/cpp/skia/include/private/base/SkTPin.h +23 -0
- package/cpp/skia/include/private/base/SkTemplates.h +446 -0
- package/cpp/skia/include/private/base/SkThreadAnnotations.h +104 -0
- package/cpp/skia/include/private/base/SkThreadID.h +23 -0
- package/cpp/skia/include/private/base/SkTo.h +39 -0
- package/cpp/skia/include/private/base/SkTypeTraits.h +33 -0
- package/cpp/skia/include/private/chromium/GrDeferredDisplayList.h +120 -0
- package/cpp/skia/include/private/chromium/GrDeferredDisplayListRecorder.h +101 -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 +131 -0
- package/cpp/skia/include/private/chromium/SkChromeRemoteGlyphCache.h +153 -0
- package/cpp/skia/include/private/chromium/SkDiscardableMemory.h +70 -0
- package/cpp/skia/include/private/chromium/SkImageChromium.h +117 -0
- package/cpp/skia/include/private/chromium/Slug.h +78 -0
- package/cpp/skia/include/private/gpu/ganesh/GrContext_Base.h +104 -0
- package/cpp/skia/include/private/gpu/ganesh/GrD3DTypesMinimal.h +74 -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 +1029 -0
- package/cpp/skia/include/private/gpu/graphite/ContextOptionsPriv.h +69 -0
- package/cpp/skia/include/private/gpu/graphite/DawnTypesPriv.h +54 -0
- package/cpp/skia/include/private/gpu/graphite/MtlGraphiteTypesPriv.h +95 -0
- package/cpp/skia/include/private/gpu/graphite/VulkanGraphiteTypesPriv.h +83 -0
- package/cpp/skia/include/private/gpu/vk/SkiaVulkan.h +36 -0
- package/cpp/skia/include/sksl/SkSLDebugTrace.h +28 -0
- package/cpp/skia/include/sksl/SkSLVersion.h +27 -0
- package/cpp/skia/include/svg/SkSVGCanvas.h +42 -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_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_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_codecs_common.h +36 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan.h +99 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_android.h +153 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_core.h +18448 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ios.h +48 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_macos.h +48 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_win32.h +342 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xcb.h +56 -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 +69 -0
- package/cpp/skia/include/utils/SkEventTracer.h +90 -0
- package/cpp/skia/include/utils/SkNWayCanvas.h +123 -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 +37 -0
- package/cpp/skia/include/utils/SkParsePath.h +25 -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/skcms/skcms.h +10 -0
- package/cpp/skia/modules/skcms/src/Transform_inl.h +1555 -0
- package/cpp/skia/modules/skcms/src/skcms_Transform.h +161 -0
- package/cpp/skia/modules/skcms/src/skcms_internals.h +136 -0
- package/cpp/skia/modules/skcms/src/skcms_public.h +404 -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 +86 -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 +86 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphCache.h +67 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphPainter.h +63 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphStyle.h +147 -0
- package/cpp/skia/modules/skparagraph/include/TextShadow.h +30 -0
- package/cpp/skia/modules/skparagraph/include/TextStyle.h +380 -0
- package/cpp/skia/modules/skparagraph/include/TypefaceFontProvider.h +81 -0
- package/cpp/skia/modules/skresources/include/SkResources.h +289 -0
- package/cpp/skia/modules/skunicode/include/SkUnicode.h +324 -0
- package/cpp/skia/modules/svg/include/SkSVGAttribute.h +113 -0
- package/cpp/skia/modules/svg/include/SkSVGAttributeParser.h +164 -0
- package/cpp/skia/modules/svg/include/SkSVGCircle.h +43 -0
- package/cpp/skia/modules/svg/include/SkSVGClipPath.h +35 -0
- package/cpp/skia/modules/svg/include/SkSVGContainer.h +36 -0
- package/cpp/skia/modules/svg/include/SkSVGDOM.h +103 -0
- package/cpp/skia/modules/svg/include/SkSVGDefs.h +23 -0
- package/cpp/skia/modules/svg/include/SkSVGEllipse.h +41 -0
- package/cpp/skia/modules/svg/include/SkSVGFe.h +85 -0
- package/cpp/skia/modules/svg/include/SkSVGFeBlend.h +45 -0
- package/cpp/skia/modules/svg/include/SkSVGFeColorMatrix.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGFeComposite.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGFeDisplacementMap.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGFeFlood.h +32 -0
- package/cpp/skia/modules/svg/include/SkSVGFeGaussianBlur.h +41 -0
- package/cpp/skia/modules/svg/include/SkSVGFeImage.h +35 -0
- package/cpp/skia/modules/svg/include/SkSVGFeLightSource.h +89 -0
- package/cpp/skia/modules/svg/include/SkSVGFeLighting.h +121 -0
- package/cpp/skia/modules/svg/include/SkSVGFeMorphology.h +47 -0
- package/cpp/skia/modules/svg/include/SkSVGFeOffset.h +35 -0
- package/cpp/skia/modules/svg/include/SkSVGFeTurbulence.h +40 -0
- package/cpp/skia/modules/svg/include/SkSVGFilter.h +39 -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 +48 -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 +58 -0
- package/cpp/skia/modules/svg/include/SkSVGLine.h +42 -0
- package/cpp/skia/modules/svg/include/SkSVGLinearGradient.h +37 -0
- package/cpp/skia/modules/svg/include/SkSVGMask.h +43 -0
- package/cpp/skia/modules/svg/include/SkSVGNode.h +223 -0
- package/cpp/skia/modules/svg/include/SkSVGOpenTypeSVGDecoder.h +32 -0
- package/cpp/skia/modules/svg/include/SkSVGPath.h +36 -0
- package/cpp/skia/modules/svg/include/SkSVGPattern.h +55 -0
- package/cpp/skia/modules/svg/include/SkSVGPoly.h +45 -0
- package/cpp/skia/modules/svg/include/SkSVGRadialGradient.h +38 -0
- package/cpp/skia/modules/svg/include/SkSVGRect.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGRenderContext.h +191 -0
- package/cpp/skia/modules/svg/include/SkSVGSVG.h +54 -0
- package/cpp/skia/modules/svg/include/SkSVGShape.h +33 -0
- package/cpp/skia/modules/svg/include/SkSVGStop.h +34 -0
- package/cpp/skia/modules/svg/include/SkSVGText.h +122 -0
- package/cpp/skia/modules/svg/include/SkSVGTransformableNode.h +36 -0
- package/cpp/skia/modules/svg/include/SkSVGTypes.h +731 -0
- package/cpp/skia/modules/svg/include/SkSVGUse.h +42 -0
- package/cpp/skia/modules/svg/include/SkSVGValue.h +85 -0
- package/cpp/skia/src/base/SkTInternalLList.h +304 -0
- package/cpp/skia/src/base/SkUTF.h +102 -0
- package/cpp/skia/src/core/SkChecksum.h +118 -0
- package/cpp/skia/src/core/SkLRUCache.h +130 -0
- package/cpp/skia/src/core/SkPathEnums.h +25 -0
- package/cpp/skia/src/core/SkPathPriv.h +540 -0
- package/cpp/skia/src/core/SkTHash.h +617 -0
- package/cpp/skia/src/gpu/ganesh/gl/GrGLDefines.h +1158 -0
- package/cpp/utils/RNSkLog.h +82 -0
- package/cpp/utils/RNSkMeasureTime.h +32 -0
- package/cpp/utils/RNSkTimingInfo.h +107 -0
- package/cpp/utils/RNSkTypedArray.h +41 -0
- package/ios/RNSkia-iOS/DisplayLink.h +17 -0
- package/ios/RNSkia-iOS/DisplayLink.mm +34 -0
- package/ios/RNSkia-iOS/RNSkMetalCanvasProvider.h +39 -0
- package/ios/RNSkia-iOS/RNSkMetalCanvasProvider.mm +114 -0
- package/ios/RNSkia-iOS/RNSkiOSPlatformContext.h +94 -0
- package/ios/RNSkia-iOS/RNSkiOSPlatformContext.mm +198 -0
- package/ios/RNSkia-iOS/RNSkiOSVideo.h +51 -0
- package/ios/RNSkia-iOS/RNSkiOSVideo.mm +137 -0
- package/ios/RNSkia-iOS/RNSkiOSView.h +37 -0
- package/ios/RNSkia-iOS/RNSkiOSView.mm +37 -0
- package/ios/RNSkia-iOS/SkiaCVPixelBufferUtils.h +119 -0
- package/ios/RNSkia-iOS/SkiaCVPixelBufferUtils.mm +332 -0
- package/ios/RNSkia-iOS/SkiaDomView.h +7 -0
- package/ios/RNSkia-iOS/SkiaDomView.mm +64 -0
- package/ios/RNSkia-iOS/SkiaDomViewManager.h +8 -0
- package/ios/RNSkia-iOS/SkiaDomViewManager.mm +51 -0
- package/ios/RNSkia-iOS/SkiaManager.h +19 -0
- package/ios/RNSkia-iOS/SkiaManager.mm +48 -0
- package/ios/RNSkia-iOS/SkiaMetalSurfaceFactory.h +36 -0
- package/ios/RNSkia-iOS/SkiaMetalSurfaceFactory.mm +138 -0
- package/ios/RNSkia-iOS/SkiaPictureView.h +7 -0
- package/ios/RNSkia-iOS/SkiaPictureView.mm +66 -0
- package/ios/RNSkia-iOS/SkiaPictureViewManager.h +8 -0
- package/ios/RNSkia-iOS/SkiaPictureViewManager.mm +51 -0
- package/ios/RNSkia-iOS/SkiaUIView.h +40 -0
- package/ios/RNSkia-iOS/SkiaUIView.mm +231 -0
- package/ios/RNSkia-iOS/ViewScreenshotService.h +21 -0
- package/ios/RNSkia-iOS/ViewScreenshotService.mm +92 -0
- package/ios/RNSkiaModule.h +20 -0
- package/ios/RNSkiaModule.mm +53 -0
- package/ios/Rnskia.xcodeproj/project.pbxproj +281 -0
- package/ios/Rnskia.xcworkspace/contents.xcworkspacedata +7 -0
- package/jestEnv.mjs +23 -0
- package/jestSetup.js +18 -0
- package/jestSetup.mjs +22 -0
- package/lib/commonjs/Platform/IPlatform.d.ts +10 -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 +18 -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 +154 -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 +132 -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 +68 -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/DrawingNode.d.ts +14 -0
- package/lib/commonjs/dom/nodes/DrawingNode.js +69 -0
- package/lib/commonjs/dom/nodes/DrawingNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/GroupNode.d.ts +7 -0
- package/lib/commonjs/dom/nodes/GroupNode.js +22 -0
- package/lib/commonjs/dom/nodes/GroupNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/JsiSkDOM.d.ts +68 -0
- package/lib/commonjs/dom/nodes/JsiSkDOM.js +208 -0
- package/lib/commonjs/dom/nodes/JsiSkDOM.js.map +1 -0
- package/lib/commonjs/dom/nodes/LayerNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/LayerNode.js +39 -0
- package/lib/commonjs/dom/nodes/LayerNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/Node.d.ts +34 -0
- package/lib/commonjs/dom/nodes/Node.js +102 -0
- package/lib/commonjs/dom/nodes/Node.js.map +1 -0
- package/lib/commonjs/dom/nodes/PaintNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/PaintNode.js +90 -0
- package/lib/commonjs/dom/nodes/PaintNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/RenderNode.d.ts +26 -0
- package/lib/commonjs/dom/nodes/RenderNode.js +132 -0
- package/lib/commonjs/dom/nodes/RenderNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.d.ts +7 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.js +29 -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 +9 -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 +252 -0
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js +54 -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 +20 -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 +14 -0
- package/lib/commonjs/dom/nodes/datatypes/Radius.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.d.ts +5 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.js +40 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.d.ts +3 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.js +33 -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/drawings/AtlasNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.js +36 -0
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.js +42 -0
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/commonjs/dom/nodes/drawings/Box.js +82 -0
- package/lib/commonjs/dom/nodes/drawings/Box.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/CircleNode.js +32 -0
- package/lib/commonjs/dom/nodes/drawings/CircleNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/FillNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/FillNode.js +24 -0
- package/lib/commonjs/dom/nodes/drawings/FillNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/ImageNode.d.ts +25 -0
- package/lib/commonjs/dom/nodes/drawings/ImageNode.js +71 -0
- package/lib/commonjs/dom/nodes/drawings/ImageNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.d.ts +13 -0
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.js +57 -0
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/LineNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/LineNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/LineNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/OvalNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/OvalNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.js +32 -0
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PatchNode.d.ts +18 -0
- package/lib/commonjs/dom/nodes/drawings/PatchNode.js +53 -0
- package/lib/commonjs/dom/nodes/drawings/PatchNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/PathNode.js +55 -0
- package/lib/commonjs/dom/nodes/drawings/PathNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/PictureNode.js +26 -0
- package/lib/commonjs/dom/nodes/drawings/PictureNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PointsNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/PointsNode.js +30 -0
- package/lib/commonjs/dom/nodes/drawings/PointsNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js +32 -0
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/RectNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/RectNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/Text.d.ts +30 -0
- package/lib/commonjs/dom/nodes/drawings/Text.js +159 -0
- package/lib/commonjs/dom/nodes/drawings/Text.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.js +43 -0
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/commonjs/dom/nodes/drawings/index.js +204 -0
- package/lib/commonjs/dom/nodes/drawings/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/index.d.ts +3 -0
- package/lib/commonjs/dom/nodes/index.js +39 -0
- package/lib/commonjs/dom/nodes/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/BlendNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/paint/BlendNode.js +37 -0
- package/lib/commonjs/dom/nodes/paint/BlendNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/ColorFilters.d.ts +35 -0
- package/lib/commonjs/dom/nodes/paint/ColorFilters.js +102 -0
- package/lib/commonjs/dom/nodes/paint/ColorFilters.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/ImageFilters.d.ts +42 -0
- package/lib/commonjs/dom/nodes/paint/ImageFilters.js +183 -0
- package/lib/commonjs/dom/nodes/paint/ImageFilters.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/MaskFilters.d.ts +8 -0
- package/lib/commonjs/dom/nodes/paint/MaskFilters.js +26 -0
- package/lib/commonjs/dom/nodes/paint/MaskFilters.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/PathEffects.d.ts +39 -0
- package/lib/commonjs/dom/nodes/paint/PathEffects.js +136 -0
- package/lib/commonjs/dom/nodes/paint/PathEffects.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/Shaders.d.ts +43 -0
- package/lib/commonjs/dom/nodes/paint/Shaders.js +209 -0
- package/lib/commonjs/dom/nodes/paint/Shaders.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/index.d.ts +6 -0
- package/lib/commonjs/dom/nodes/paint/index.js +72 -0
- package/lib/commonjs/dom/nodes/paint/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 +57 -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/DeclarationContext.d.ts +29 -0
- package/lib/commonjs/dom/types/DeclarationContext.js +91 -0
- package/lib/commonjs/dom/types/DeclarationContext.js.map +1 -0
- package/lib/commonjs/dom/types/DrawingContext.d.ts +22 -0
- package/lib/commonjs/dom/types/DrawingContext.js +263 -0
- package/lib/commonjs/dom/types/DrawingContext.js.map +1 -0
- package/lib/commonjs/dom/types/Drawings.d.ts +111 -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 +22 -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 +59 -0
- package/lib/commonjs/dom/types/NodeType.js +67 -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 +59 -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 +13 -0
- package/lib/commonjs/dom/types/index.js +149 -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 +7 -0
- package/lib/commonjs/external/reanimated/index.js +83 -0
- package/lib/commonjs/external/reanimated/index.js.map +1 -0
- package/lib/commonjs/external/reanimated/interpolators.d.ts +10 -0
- package/lib/commonjs/external/reanimated/interpolators.js +75 -0
- package/lib/commonjs/external/reanimated/interpolators.js.map +1 -0
- package/lib/commonjs/external/reanimated/renderHelpers.d.ts +6 -0
- package/lib/commonjs/external/reanimated/renderHelpers.js +127 -0
- package/lib/commonjs/external/reanimated/renderHelpers.js.map +1 -0
- package/lib/commonjs/external/reanimated/textures.d.ts +8 -0
- package/lib/commonjs/external/reanimated/textures.js +85 -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 +59 -0
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js.map +1 -0
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.d.ts +1 -0
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js +24 -0
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js.map +1 -0
- package/lib/commonjs/external/reanimated/useVideo.d.ts +21 -0
- package/lib/commonjs/external/reanimated/useVideo.js +148 -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 +31 -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 +8 -0
- package/lib/commonjs/headless/index.js +62 -0
- package/lib/commonjs/headless/index.js.map +1 -0
- package/lib/commonjs/index.d.ts +11 -0
- package/lib/commonjs/index.js +125 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/mock/index.d.ts +2 -0
- package/lib/commonjs/mock/index.js +59 -0
- package/lib/commonjs/mock/index.js.map +1 -0
- package/lib/commonjs/renderer/Canvas.d.ts +11 -0
- package/lib/commonjs/renderer/Canvas.js +116 -0
- package/lib/commonjs/renderer/Canvas.js.map +1 -0
- package/lib/commonjs/renderer/Container.d.ts +11 -0
- package/lib/commonjs/renderer/Container.js +30 -0
- package/lib/commonjs/renderer/Container.js.map +1 -0
- package/lib/commonjs/renderer/DrawingContext.d.ts +7 -0
- package/lib/commonjs/renderer/DrawingContext.js +6 -0
- package/lib/commonjs/renderer/DrawingContext.js.map +1 -0
- package/lib/commonjs/renderer/HostComponents.d.ts +132 -0
- package/lib/commonjs/renderer/HostComponents.js +144 -0
- package/lib/commonjs/renderer/HostComponents.js.map +1 -0
- package/lib/commonjs/renderer/HostConfig.d.ts +19 -0
- package/lib/commonjs/renderer/HostConfig.js +149 -0
- package/lib/commonjs/renderer/HostConfig.js.map +1 -0
- package/lib/commonjs/renderer/Offscreen.d.ts +6 -0
- package/lib/commonjs/renderer/Offscreen.js +50 -0
- package/lib/commonjs/renderer/Offscreen.js.map +1 -0
- package/lib/commonjs/renderer/Reconciler.d.ts +10 -0
- package/lib/commonjs/renderer/Reconciler.js +43 -0
- package/lib/commonjs/renderer/Reconciler.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 +23 -0
- package/lib/commonjs/renderer/components/Group.js.map +1 -0
- package/lib/commonjs/renderer/components/Mask.d.ts +10 -0
- package/lib/commonjs/renderer/components/Mask.js +33 -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/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 +13 -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 +29 -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 +16 -0
- package/lib/commonjs/renderer/components/index.js +182 -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 +58 -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 +13 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.js +2 -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 +34 -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 +17 -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/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 +82 -0
- package/lib/commonjs/skia/core/Data.js.map +1 -0
- package/lib/commonjs/skia/core/Font.d.ts +18 -0
- package/lib/commonjs/skia/core/Font.js +100 -0
- package/lib/commonjs/skia/core/Font.js.map +1 -0
- package/lib/commonjs/skia/core/Image.d.ts +17 -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 +22 -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 +24 -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 +404 -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 +12 -0
- package/lib/commonjs/skia/types/Data/Data.js +9 -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/Image/Image.d.ts +102 -0
- package/lib/commonjs/skia/types/Image/Image.js +24 -0
- package/lib/commonjs/skia/types/Image/Image.js.map +1 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.d.ts +80 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.js +34 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Image/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Image/index.js +28 -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 +16 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js.map +1 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.d.ts +130 -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 +4 -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 +20 -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 +103 -0
- package/lib/commonjs/skia/types/Matrix4.js +295 -0
- package/lib/commonjs/skia/types/Matrix4.js.map +1 -0
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.d.ts +20 -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 +58 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.js +66 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.js.map +1 -0
- package/lib/commonjs/skia/types/Paint/Paint.d.ts +141 -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 +79 -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 +16 -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 +475 -0
- package/lib/commonjs/skia/types/Path/Path.js +36 -0
- package/lib/commonjs/skia/types/Path/Path.js.map +1 -0
- package/lib/commonjs/skia/types/Path/PathFactory.d.ts +29 -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 +2 -0
- package/lib/commonjs/skia/types/Path/index.js +28 -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 +15 -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 +12 -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/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 +6 -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 +47 -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 +78 -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/Surface/Surface.d.ts +37 -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 +17 -0
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js +6 -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 +17 -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 +33 -0
- package/lib/commonjs/skia/types/index.js +369 -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 +20 -0
- package/lib/commonjs/skia/web/Host.js +45 -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 +34 -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 +177 -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 +305 -0
- package/lib/commonjs/skia/web/JsiSkColor.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.js +20 -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 +13 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js +35 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js +28 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkData.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkData.js +20 -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 +35 -0
- package/lib/commonjs/skia/web/JsiSkFont.js +99 -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 +121 -0
- package/lib/commonjs/skia/web/JsiSkImage.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.js +68 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.js +20 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.d.ts +19 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js +82 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js +20 -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 +20 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.js +73 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js +29 -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 +96 -0
- package/lib/commonjs/skia/web/JsiSkPaint.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.d.ts +19 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.js +77 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.d.ts +15 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js +63 -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 +54 -0
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPath.d.ts +58 -0
- package/lib/commonjs/skia/web/JsiSkPath.js +263 -0
- package/lib/commonjs/skia/web/JsiSkPath.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.js +20 -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 +59 -0
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.js +42 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPicture.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkPicture.js +29 -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 +12 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js +29 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPoint.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkPoint.js +32 -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 +50 -0
- package/lib/commonjs/skia/web/JsiSkRRect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.d.ts +14 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.js +44 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRect.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkRect.js +44 -0
- package/lib/commonjs/skia/web/JsiSkRect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.d.ts +17 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js +44 -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 +28 -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 +7 -0
- package/lib/commonjs/skia/web/JsiSkShader.js +20 -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 +12 -0
- package/lib/commonjs/skia/web/JsiSkSurface.js +39 -0
- package/lib/commonjs/skia/web/JsiSkSurface.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js +39 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.js +20 -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 +10 -0
- package/lib/commonjs/skia/web/JsiSkTypeface.js +31 -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 +13 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js +76 -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 +10 -0
- package/lib/commonjs/skia/web/JsiSkVertices.js +27 -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 +88 -0
- package/lib/commonjs/skia/web/JsiSkia.js.map +1 -0
- package/lib/commonjs/skia/web/JsiVideo.d.ts +24 -0
- package/lib/commonjs/skia/web/JsiVideo.js +83 -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/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 +0 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.js +2 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.js.map +1 -0
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.d.ts +8 -0
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js +11 -0
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js.map +1 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.d.ts +8 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js +11 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js.map +1 -0
- package/lib/commonjs/views/SkiaBaseWebView.d.ts +60 -0
- package/lib/commonjs/views/SkiaBaseWebView.js +185 -0
- package/lib/commonjs/views/SkiaBaseWebView.js.map +1 -0
- package/lib/commonjs/views/SkiaDomView.d.ts +30 -0
- package/lib/commonjs/views/SkiaDomView.js +123 -0
- package/lib/commonjs/views/SkiaDomView.js.map +1 -0
- package/lib/commonjs/views/SkiaDomView.web.d.ts +7 -0
- package/lib/commonjs/views/SkiaDomView.web.js +37 -0
- package/lib/commonjs/views/SkiaDomView.web.js.map +1 -0
- package/lib/commonjs/views/SkiaJSDomView.d.ts +31 -0
- package/lib/commonjs/views/SkiaJSDomView.js +130 -0
- package/lib/commonjs/views/SkiaJSDomView.js.map +1 -0
- package/lib/commonjs/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/commonjs/views/SkiaJSDomView.web.js +13 -0
- package/lib/commonjs/views/SkiaJSDomView.web.js.map +1 -0
- package/lib/commonjs/views/SkiaPictureView.d.ts +20 -0
- package/lib/commonjs/views/SkiaPictureView.js +90 -0
- package/lib/commonjs/views/SkiaPictureView.js.map +1 -0
- package/lib/commonjs/views/SkiaPictureView.web.d.ts +7 -0
- package/lib/commonjs/views/SkiaPictureView.web.js +19 -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/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/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 +72 -0
- package/lib/commonjs/views/types.js +14 -0
- package/lib/commonjs/views/types.js.map +1 -0
- package/lib/commonjs/views/useTouchHandler.d.ts +22 -0
- package/lib/commonjs/views/useTouchHandler.js +83 -0
- package/lib/commonjs/views/useTouchHandler.js.map +1 -0
- package/lib/commonjs/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/commonjs/web/LoadSkiaWeb.js +28 -0
- package/lib/commonjs/web/LoadSkiaWeb.js.map +1 -0
- package/lib/commonjs/web/WithSkiaWeb.d.ts +12 -0
- package/lib/commonjs/web/WithSkiaWeb.js +33 -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 +10 -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 +12 -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 +146 -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 +124 -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 +61 -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/DrawingNode.d.ts +14 -0
- package/lib/module/dom/nodes/DrawingNode.js +62 -0
- package/lib/module/dom/nodes/DrawingNode.js.map +1 -0
- package/lib/module/dom/nodes/GroupNode.d.ts +7 -0
- package/lib/module/dom/nodes/GroupNode.js +15 -0
- package/lib/module/dom/nodes/GroupNode.js.map +1 -0
- package/lib/module/dom/nodes/JsiSkDOM.d.ts +68 -0
- package/lib/module/dom/nodes/JsiSkDOM.js +201 -0
- package/lib/module/dom/nodes/JsiSkDOM.js.map +1 -0
- package/lib/module/dom/nodes/LayerNode.d.ts +8 -0
- package/lib/module/dom/nodes/LayerNode.js +32 -0
- package/lib/module/dom/nodes/LayerNode.js.map +1 -0
- package/lib/module/dom/nodes/Node.d.ts +34 -0
- package/lib/module/dom/nodes/Node.js +94 -0
- package/lib/module/dom/nodes/Node.js.map +1 -0
- package/lib/module/dom/nodes/PaintNode.d.ts +8 -0
- package/lib/module/dom/nodes/PaintNode.js +83 -0
- package/lib/module/dom/nodes/PaintNode.js.map +1 -0
- package/lib/module/dom/nodes/RenderNode.d.ts +26 -0
- package/lib/module/dom/nodes/RenderNode.js +125 -0
- package/lib/module/dom/nodes/RenderNode.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Circle.d.ts +7 -0
- package/lib/module/dom/nodes/datatypes/Circle.js +21 -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 +2 -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 +252 -0
- package/lib/module/dom/nodes/datatypes/Gradient.js +45 -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 +12 -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 +7 -0
- package/lib/module/dom/nodes/datatypes/Radius.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Rect.d.ts +5 -0
- package/lib/module/dom/nodes/datatypes/Rect.js +31 -0
- package/lib/module/dom/nodes/datatypes/Rect.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Transform.d.ts +3 -0
- package/lib/module/dom/nodes/datatypes/Transform.js +26 -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/drawings/AtlasNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/AtlasNode.js +29 -0
- package/lib/module/dom/nodes/drawings/AtlasNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.js +35 -0
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/module/dom/nodes/drawings/Box.js +74 -0
- package/lib/module/dom/nodes/drawings/Box.js.map +1 -0
- package/lib/module/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/CircleNode.js +25 -0
- package/lib/module/dom/nodes/drawings/CircleNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/DiffRectNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/DiffRectNode.js +21 -0
- package/lib/module/dom/nodes/drawings/DiffRectNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/FillNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/FillNode.js +17 -0
- package/lib/module/dom/nodes/drawings/FillNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/ImageNode.d.ts +25 -0
- package/lib/module/dom/nodes/drawings/ImageNode.js +64 -0
- package/lib/module/dom/nodes/drawings/ImageNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/ImageSVG.d.ts +13 -0
- package/lib/module/dom/nodes/drawings/ImageSVG.js +50 -0
- package/lib/module/dom/nodes/drawings/ImageSVG.js.map +1 -0
- package/lib/module/dom/nodes/drawings/LineNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/LineNode.js +21 -0
- package/lib/module/dom/nodes/drawings/LineNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/OvalNode.js +21 -0
- package/lib/module/dom/nodes/drawings/OvalNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/ParagraphNode.js +25 -0
- package/lib/module/dom/nodes/drawings/ParagraphNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PatchNode.d.ts +18 -0
- package/lib/module/dom/nodes/drawings/PatchNode.js +46 -0
- package/lib/module/dom/nodes/drawings/PatchNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/PathNode.js +48 -0
- package/lib/module/dom/nodes/drawings/PathNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/PictureNode.js +19 -0
- package/lib/module/dom/nodes/drawings/PictureNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PointsNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/PointsNode.js +23 -0
- package/lib/module/dom/nodes/drawings/PointsNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/module/dom/nodes/drawings/RRectNode.js +25 -0
- package/lib/module/dom/nodes/drawings/RRectNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/RectNode.js +21 -0
- package/lib/module/dom/nodes/drawings/RectNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/Text.d.ts +30 -0
- package/lib/module/dom/nodes/drawings/Text.js +149 -0
- package/lib/module/dom/nodes/drawings/Text.js.map +1 -0
- package/lib/module/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/VerticesNode.js +36 -0
- package/lib/module/dom/nodes/drawings/VerticesNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/module/dom/nodes/drawings/index.js +19 -0
- package/lib/module/dom/nodes/drawings/index.js.map +1 -0
- package/lib/module/dom/nodes/index.d.ts +3 -0
- package/lib/module/dom/nodes/index.js +4 -0
- package/lib/module/dom/nodes/index.js.map +1 -0
- package/lib/module/dom/nodes/paint/BlendNode.d.ts +8 -0
- package/lib/module/dom/nodes/paint/BlendNode.js +30 -0
- package/lib/module/dom/nodes/paint/BlendNode.js.map +1 -0
- package/lib/module/dom/nodes/paint/ColorFilters.d.ts +35 -0
- package/lib/module/dom/nodes/paint/ColorFilters.js +89 -0
- package/lib/module/dom/nodes/paint/ColorFilters.js.map +1 -0
- package/lib/module/dom/nodes/paint/ImageFilters.d.ts +42 -0
- package/lib/module/dom/nodes/paint/ImageFilters.js +169 -0
- package/lib/module/dom/nodes/paint/ImageFilters.js.map +1 -0
- package/lib/module/dom/nodes/paint/MaskFilters.d.ts +8 -0
- package/lib/module/dom/nodes/paint/MaskFilters.js +19 -0
- package/lib/module/dom/nodes/paint/MaskFilters.js.map +1 -0
- package/lib/module/dom/nodes/paint/PathEffects.d.ts +39 -0
- package/lib/module/dom/nodes/paint/PathEffects.js +123 -0
- package/lib/module/dom/nodes/paint/PathEffects.js.map +1 -0
- package/lib/module/dom/nodes/paint/Shaders.d.ts +43 -0
- package/lib/module/dom/nodes/paint/Shaders.js +193 -0
- package/lib/module/dom/nodes/paint/Shaders.js.map +1 -0
- package/lib/module/dom/nodes/paint/index.d.ts +6 -0
- package/lib/module/dom/nodes/paint/index.js +7 -0
- package/lib/module/dom/nodes/paint/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 +57 -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/DeclarationContext.d.ts +29 -0
- package/lib/module/dom/types/DeclarationContext.js +83 -0
- package/lib/module/dom/types/DeclarationContext.js.map +1 -0
- package/lib/module/dom/types/DrawingContext.d.ts +22 -0
- package/lib/module/dom/types/DrawingContext.js +256 -0
- package/lib/module/dom/types/DrawingContext.js.map +1 -0
- package/lib/module/dom/types/Drawings.d.ts +111 -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 +22 -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 +59 -0
- package/lib/module/dom/types/NodeType.js +61 -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 +59 -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 +13 -0
- package/lib/module/dom/types/index.js +14 -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 +7 -0
- package/lib/module/external/reanimated/index.js +8 -0
- package/lib/module/external/reanimated/index.js.map +1 -0
- package/lib/module/external/reanimated/interpolators.d.ts +10 -0
- package/lib/module/external/reanimated/interpolators.js +64 -0
- package/lib/module/external/reanimated/interpolators.js.map +1 -0
- package/lib/module/external/reanimated/renderHelpers.d.ts +6 -0
- package/lib/module/external/reanimated/renderHelpers.js +117 -0
- package/lib/module/external/reanimated/renderHelpers.js.map +1 -0
- package/lib/module/external/reanimated/textures.d.ts +8 -0
- package/lib/module/external/reanimated/textures.js +73 -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 +51 -0
- package/lib/module/external/reanimated/useAnimatedImageValue.js.map +1 -0
- package/lib/module/external/reanimated/useDerivedValueOnJS.d.ts +1 -0
- package/lib/module/external/reanimated/useDerivedValueOnJS.js +16 -0
- package/lib/module/external/reanimated/useDerivedValueOnJS.js.map +1 -0
- package/lib/module/external/reanimated/useVideo.d.ts +21 -0
- package/lib/module/external/reanimated/useVideo.js +140 -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 +23 -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 +8 -0
- package/lib/module/headless/index.js +37 -0
- package/lib/module/headless/index.js.map +1 -0
- package/lib/module/index.d.ts +11 -0
- package/lib/module/index.js +12 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/mock/index.d.ts +2 -0
- package/lib/module/mock/index.js +53 -0
- package/lib/module/mock/index.js.map +1 -0
- package/lib/module/renderer/Canvas.d.ts +11 -0
- package/lib/module/renderer/Canvas.js +107 -0
- package/lib/module/renderer/Canvas.js.map +1 -0
- package/lib/module/renderer/Container.d.ts +11 -0
- package/lib/module/renderer/Container.js +23 -0
- package/lib/module/renderer/Container.js.map +1 -0
- package/lib/module/renderer/DrawingContext.d.ts +7 -0
- package/lib/module/renderer/DrawingContext.js +2 -0
- package/lib/module/renderer/DrawingContext.js.map +1 -0
- package/lib/module/renderer/HostComponents.d.ts +132 -0
- package/lib/module/renderer/HostComponents.js +137 -0
- package/lib/module/renderer/HostComponents.js.map +1 -0
- package/lib/module/renderer/HostConfig.d.ts +19 -0
- package/lib/module/renderer/HostConfig.js +142 -0
- package/lib/module/renderer/HostConfig.js.map +1 -0
- package/lib/module/renderer/Offscreen.d.ts +6 -0
- package/lib/module/renderer/Offscreen.js +41 -0
- package/lib/module/renderer/Offscreen.js.map +1 -0
- package/lib/module/renderer/Reconciler.d.ts +10 -0
- package/lib/module/renderer/Reconciler.js +35 -0
- package/lib/module/renderer/Reconciler.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/Mask.d.ts +10 -0
- package/lib/module/renderer/components/Mask.js +25 -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/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 +5 -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 +21 -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 +16 -0
- package/lib/module/renderer/components/index.js +17 -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 +13 -0
- package/lib/module/renderer/processors/Animations/Animations.js +2 -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 +25 -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 +14 -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/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 +72 -0
- package/lib/module/skia/core/Data.js.map +1 -0
- package/lib/module/skia/core/Font.d.ts +18 -0
- package/lib/module/skia/core/Font.js +89 -0
- package/lib/module/skia/core/Font.js.map +1 -0
- package/lib/module/skia/core/Image.d.ts +17 -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 +15 -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 +24 -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 +404 -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 +12 -0
- package/lib/module/skia/types/Data/Data.js +2 -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/Image/Image.d.ts +102 -0
- package/lib/module/skia/types/Image/Image.js +18 -0
- package/lib/module/skia/types/Image/Image.js.map +1 -0
- package/lib/module/skia/types/Image/ImageFactory.d.ts +80 -0
- package/lib/module/skia/types/Image/ImageFactory.js +28 -0
- package/lib/module/skia/types/Image/ImageFactory.js.map +1 -0
- package/lib/module/skia/types/Image/index.d.ts +2 -0
- package/lib/module/skia/types/Image/index.js +3 -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 +9 -0
- package/lib/module/skia/types/ImageFilter/ImageFilter.js.map +1 -0
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.d.ts +130 -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 +4 -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 +13 -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 +103 -0
- package/lib/module/skia/types/Matrix4.js +274 -0
- package/lib/module/skia/types/Matrix4.js.map +1 -0
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.d.ts +20 -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 +58 -0
- package/lib/module/skia/types/Paint/BlendMode.js +60 -0
- package/lib/module/skia/types/Paint/BlendMode.js.map +1 -0
- package/lib/module/skia/types/Paint/Paint.d.ts +141 -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 +79 -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 +10 -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 +475 -0
- package/lib/module/skia/types/Path/Path.js +30 -0
- package/lib/module/skia/types/Path/Path.js.map +1 -0
- package/lib/module/skia/types/Path/PathFactory.d.ts +29 -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 +2 -0
- package/lib/module/skia/types/Path/index.js +3 -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 +15 -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 +5 -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/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 +6 -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 +39 -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 +78 -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/Surface/Surface.d.ts +37 -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 +17 -0
- package/lib/module/skia/types/Surface/SurfaceFactory.js +2 -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 +17 -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 +33 -0
- package/lib/module/skia/types/index.js +34 -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 +20 -0
- package/lib/module/skia/web/Host.js +33 -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 +27 -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 +170 -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 +298 -0
- package/lib/module/skia/web/JsiSkColor.js.map +1 -0
- package/lib/module/skia/web/JsiSkColorFilter.d.ts +7 -0
- package/lib/module/skia/web/JsiSkColorFilter.js +13 -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 +13 -0
- package/lib/module/skia/web/JsiSkContourMeasure.js +28 -0
- package/lib/module/skia/web/JsiSkContourMeasure.js.map +1 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.d.ts +9 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.js +21 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.js.map +1 -0
- package/lib/module/skia/web/JsiSkData.d.ts +9 -0
- package/lib/module/skia/web/JsiSkData.js +13 -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 +35 -0
- package/lib/module/skia/web/JsiSkFont.js +92 -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 +114 -0
- package/lib/module/skia/web/JsiSkImage.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFactory.d.ts +12 -0
- package/lib/module/skia/web/JsiSkImageFactory.js +61 -0
- package/lib/module/skia/web/JsiSkImageFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFilter.d.ts +7 -0
- package/lib/module/skia/web/JsiSkImageFilter.js +13 -0
- package/lib/module/skia/web/JsiSkImageFilter.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.d.ts +19 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.js +75 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkMaskFilter.d.ts +7 -0
- package/lib/module/skia/web/JsiSkMaskFilter.js +13 -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 +20 -0
- package/lib/module/skia/web/JsiSkMatrix.js +66 -0
- package/lib/module/skia/web/JsiSkMatrix.js.map +1 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js +22 -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 +89 -0
- package/lib/module/skia/web/JsiSkPaint.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraph.d.ts +19 -0
- package/lib/module/skia/web/JsiSkParagraph.js +70 -0
- package/lib/module/skia/web/JsiSkParagraph.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.d.ts +15 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.js +56 -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 +47 -0
- package/lib/module/skia/web/JsiSkParagraphStyle.js.map +1 -0
- package/lib/module/skia/web/JsiSkPath.d.ts +58 -0
- package/lib/module/skia/web/JsiSkPath.js +256 -0
- package/lib/module/skia/web/JsiSkPath.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathEffect.d.ts +7 -0
- package/lib/module/skia/web/JsiSkPathEffect.js +13 -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 +52 -0
- package/lib/module/skia/web/JsiSkPathEffectFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathFactory.d.ts +13 -0
- package/lib/module/skia/web/JsiSkPathFactory.js +35 -0
- package/lib/module/skia/web/JsiSkPathFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPicture.d.ts +10 -0
- package/lib/module/skia/web/JsiSkPicture.js +24 -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 +12 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.js +22 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.js.map +1 -0
- package/lib/module/skia/web/JsiSkPoint.d.ts +10 -0
- package/lib/module/skia/web/JsiSkPoint.js +25 -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 +43 -0
- package/lib/module/skia/web/JsiSkRRect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRSXform.d.ts +14 -0
- package/lib/module/skia/web/JsiSkRSXform.js +37 -0
- package/lib/module/skia/web/JsiSkRSXform.js.map +1 -0
- package/lib/module/skia/web/JsiSkRect.d.ts +13 -0
- package/lib/module/skia/web/JsiSkRect.js +37 -0
- package/lib/module/skia/web/JsiSkRect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.d.ts +17 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.js +37 -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 +21 -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 +7 -0
- package/lib/module/skia/web/JsiSkShader.js +13 -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 +12 -0
- package/lib/module/skia/web/JsiSkSurface.js +32 -0
- package/lib/module/skia/web/JsiSkSurface.js.map +1 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.js +32 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkTextBlob.d.ts +7 -0
- package/lib/module/skia/web/JsiSkTextBlob.js +13 -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 +10 -0
- package/lib/module/skia/web/JsiSkTypeface.js +24 -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 +13 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js +69 -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 +10 -0
- package/lib/module/skia/web/JsiSkVertices.js +20 -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 +81 -0
- package/lib/module/skia/web/JsiSkia.js.map +1 -0
- package/lib/module/skia/web/JsiVideo.d.ts +24 -0
- package/lib/module/skia/web/JsiVideo.js +75 -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/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 +0 -0
- package/lib/module/specs/NativeSkiaModule.web.js +2 -0
- package/lib/module/specs/NativeSkiaModule.web.js.map +1 -0
- package/lib/module/specs/SkiaDomViewNativeComponent.d.ts +8 -0
- package/lib/module/specs/SkiaDomViewNativeComponent.js +4 -0
- package/lib/module/specs/SkiaDomViewNativeComponent.js.map +1 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.d.ts +8 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.js +4 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.js.map +1 -0
- package/lib/module/views/SkiaBaseWebView.d.ts +60 -0
- package/lib/module/views/SkiaBaseWebView.js +178 -0
- package/lib/module/views/SkiaBaseWebView.js.map +1 -0
- package/lib/module/views/SkiaDomView.d.ts +30 -0
- package/lib/module/views/SkiaDomView.js +115 -0
- package/lib/module/views/SkiaDomView.js.map +1 -0
- package/lib/module/views/SkiaDomView.web.d.ts +7 -0
- package/lib/module/views/SkiaDomView.web.js +30 -0
- package/lib/module/views/SkiaDomView.web.js.map +1 -0
- package/lib/module/views/SkiaJSDomView.d.ts +31 -0
- package/lib/module/views/SkiaJSDomView.js +122 -0
- package/lib/module/views/SkiaJSDomView.js.map +1 -0
- package/lib/module/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/module/views/SkiaJSDomView.web.js +2 -0
- package/lib/module/views/SkiaJSDomView.web.js.map +1 -0
- package/lib/module/views/SkiaPictureView.d.ts +20 -0
- package/lib/module/views/SkiaPictureView.js +82 -0
- package/lib/module/views/SkiaPictureView.js.map +1 -0
- package/lib/module/views/SkiaPictureView.web.d.ts +7 -0
- package/lib/module/views/SkiaPictureView.web.js +12 -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/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/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 +72 -0
- package/lib/module/views/types.js +8 -0
- package/lib/module/views/types.js.map +1 -0
- package/lib/module/views/useTouchHandler.d.ts +22 -0
- package/lib/module/views/useTouchHandler.js +75 -0
- package/lib/module/views/useTouchHandler.js.map +1 -0
- package/lib/module/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/module/web/LoadSkiaWeb.js +19 -0
- package/lib/module/web/LoadSkiaWeb.js.map +1 -0
- package/lib/module/web/WithSkiaWeb.d.ts +12 -0
- package/lib/module/web/WithSkiaWeb.js +24 -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/index.d.ts +1 -0
- package/lib/typescript/jestEnv.d.mts +5 -0
- package/lib/typescript/jestSetup.d.mts +1 -0
- package/lib/typescript/jestSetup.d.ts +1 -0
- package/lib/typescript/src/Platform/IPlatform.d.ts +10 -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/DrawingNode.d.ts +14 -0
- package/lib/typescript/src/dom/nodes/GroupNode.d.ts +7 -0
- package/lib/typescript/src/dom/nodes/JsiSkDOM.d.ts +68 -0
- package/lib/typescript/src/dom/nodes/LayerNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/Node.d.ts +34 -0
- package/lib/typescript/src/dom/nodes/PaintNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/RenderNode.d.ts +26 -0
- package/lib/typescript/src/dom/nodes/datatypes/Circle.d.ts +7 -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 +252 -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 +5 -0
- package/lib/typescript/src/dom/nodes/datatypes/Transform.d.ts +3 -0
- package/lib/typescript/src/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/AtlasNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/BackdropFilterNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/typescript/src/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/DiffRectNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/FillNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/ImageNode.d.ts +25 -0
- package/lib/typescript/src/dom/nodes/drawings/ImageSVG.d.ts +13 -0
- package/lib/typescript/src/dom/nodes/drawings/LineNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/PatchNode.d.ts +18 -0
- package/lib/typescript/src/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/PointsNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/typescript/src/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/Text.d.ts +30 -0
- package/lib/typescript/src/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/typescript/src/dom/nodes/index.d.ts +3 -0
- package/lib/typescript/src/dom/nodes/paint/BlendNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/paint/ColorFilters.d.ts +35 -0
- package/lib/typescript/src/dom/nodes/paint/ImageFilters.d.ts +42 -0
- package/lib/typescript/src/dom/nodes/paint/MaskFilters.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/paint/PathEffects.d.ts +39 -0
- package/lib/typescript/src/dom/nodes/paint/Shaders.d.ts +43 -0
- package/lib/typescript/src/dom/nodes/paint/index.d.ts +6 -0
- package/lib/typescript/src/dom/types/ColorFilters.d.ts +12 -0
- package/lib/typescript/src/dom/types/Common.d.ts +57 -0
- package/lib/typescript/src/dom/types/DeclarationContext.d.ts +29 -0
- package/lib/typescript/src/dom/types/DrawingContext.d.ts +22 -0
- package/lib/typescript/src/dom/types/Drawings.d.ts +111 -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 +22 -0
- package/lib/typescript/src/dom/types/NodeType.d.ts +59 -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 +59 -0
- package/lib/typescript/src/dom/types/SkDOM.d.ts +73 -0
- package/lib/typescript/src/dom/types/index.d.ts +13 -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 +7 -0
- package/lib/typescript/src/external/reanimated/interpolators.d.ts +10 -0
- package/lib/typescript/src/external/reanimated/renderHelpers.d.ts +6 -0
- package/lib/typescript/src/external/reanimated/textures.d.ts +8 -0
- package/lib/typescript/src/external/reanimated/useAnimatedImageValue.d.ts +3 -0
- package/lib/typescript/src/external/reanimated/useDerivedValueOnJS.d.ts +1 -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 +8 -0
- package/lib/typescript/src/index.d.ts +11 -0
- package/lib/typescript/src/mock/index.d.ts +2 -0
- package/lib/typescript/src/renderer/Canvas.d.ts +11 -0
- package/lib/typescript/src/renderer/Container.d.ts +11 -0
- package/lib/typescript/src/renderer/DrawingContext.d.ts +7 -0
- package/lib/typescript/src/renderer/HostComponents.d.ts +132 -0
- package/lib/typescript/src/renderer/HostConfig.d.ts +19 -0
- package/lib/typescript/src/renderer/Offscreen.d.ts +6 -0
- package/lib/typescript/src/renderer/Reconciler.d.ts +10 -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/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/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 +16 -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 +13 -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/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 +18 -0
- package/lib/typescript/src/skia/core/Image.d.ts +17 -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 +24 -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 +404 -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 +12 -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/Image/Image.d.ts +102 -0
- package/lib/typescript/src/skia/types/Image/ImageFactory.d.ts +80 -0
- package/lib/typescript/src/skia/types/Image/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/ImageFilter/ImageFilter.d.ts +23 -0
- package/lib/typescript/src/skia/types/ImageFilter/ImageFilterFactory.d.ts +130 -0
- package/lib/typescript/src/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/JsiInstance.d.ts +4 -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 +103 -0
- package/lib/typescript/src/skia/types/NativeBuffer/NativeBufferFactory.d.ts +20 -0
- package/lib/typescript/src/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/Paint/BlendMode.d.ts +58 -0
- package/lib/typescript/src/skia/types/Paint/Paint.d.ts +141 -0
- package/lib/typescript/src/skia/types/Paint/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Paragraph/Paragraph.d.ts +79 -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 +475 -0
- package/lib/typescript/src/skia/types/Path/PathFactory.d.ts +29 -0
- package/lib/typescript/src/skia/types/Path/index.d.ts +2 -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 +15 -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/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 +6 -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 +78 -0
- package/lib/typescript/src/skia/types/Surface/Surface.d.ts +37 -0
- package/lib/typescript/src/skia/types/Surface/SurfaceFactory.d.ts +17 -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 +17 -0
- package/lib/typescript/src/skia/types/Video/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/index.d.ts +33 -0
- package/lib/typescript/src/skia/web/CanvasKitWebGLBufferImpl.d.ts +9 -0
- package/lib/typescript/src/skia/web/Host.d.ts +20 -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 +7 -0
- package/lib/typescript/src/skia/web/JsiSkColorFilterFactory.d.ts +14 -0
- package/lib/typescript/src/skia/web/JsiSkContourMeasure.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkContourMeasureIter.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkData.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkDataFactory.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkFont.d.ts +35 -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 +12 -0
- package/lib/typescript/src/skia/web/JsiSkImageFilter.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkImageFilterFactory.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkMaskFilter.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkMaskFilterFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkMatrix.d.ts +20 -0
- package/lib/typescript/src/skia/web/JsiSkNativeBufferFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkPaint.d.ts +30 -0
- package/lib/typescript/src/skia/web/JsiSkParagraph.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkParagraphBuilder.d.ts +15 -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 +58 -0
- package/lib/typescript/src/skia/web/JsiSkPathEffect.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkPathEffectFactory.d.ts +15 -0
- package/lib/typescript/src/skia/web/JsiSkPathFactory.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkPicture.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkPictureFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkPictureRecorder.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkPoint.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkRRect.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkRSXform.d.ts +14 -0
- package/lib/typescript/src/skia/web/JsiSkRect.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkRuntimeEffect.d.ts +17 -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 +7 -0
- package/lib/typescript/src/skia/web/JsiSkShaderFactory.d.ts +16 -0
- package/lib/typescript/src/skia/web/JsiSkSurface.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkSurfaceFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkTextBlob.d.ts +7 -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 +10 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFontProvider.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkVertices.d.ts +10 -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/JsiVideo.d.ts +24 -0
- package/lib/typescript/src/skia/web/index.d.ts +1 -0
- package/lib/typescript/src/specs/NativeSkiaModule.d.ts +6 -0
- package/lib/typescript/src/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/typescript/src/specs/SkiaDomViewNativeComponent.d.ts +8 -0
- package/lib/typescript/src/specs/SkiaPictureViewNativeComponent.d.ts +8 -0
- package/lib/typescript/src/views/SkiaBaseWebView.d.ts +60 -0
- package/lib/typescript/src/views/SkiaDomView.d.ts +30 -0
- package/lib/typescript/src/views/SkiaDomView.web.d.ts +7 -0
- package/lib/typescript/src/views/SkiaJSDomView.d.ts +31 -0
- package/lib/typescript/src/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/typescript/src/views/SkiaPictureView.d.ts +20 -0
- package/lib/typescript/src/views/SkiaPictureView.web.d.ts +7 -0
- package/lib/typescript/src/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/typescript/src/views/api.d.ts +5 -0
- package/lib/typescript/src/views/index.d.ts +4 -0
- package/lib/typescript/src/views/types.d.ts +72 -0
- package/lib/typescript/src/views/useTouchHandler.d.ts +22 -0
- package/lib/typescript/src/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/typescript/src/web/WithSkiaWeb.d.ts +12 -0
- package/lib/typescript/src/web/index.d.ts +2 -0
- package/libs/android/arm64-v8a/libskia.a +0 -0
- package/libs/android/arm64-v8a/libskottie.a +0 -0
- package/libs/android/arm64-v8a/libskparagraph.a +0 -0
- package/libs/android/arm64-v8a/libsksg.a +0 -0
- package/libs/android/arm64-v8a/libskshaper.a +0 -0
- package/libs/android/arm64-v8a/libskunicode.a +0 -0
- package/libs/android/arm64-v8a/libsvg.a +0 -0
- package/libs/android/armeabi-v7a/libskia.a +0 -0
- package/libs/android/armeabi-v7a/libskottie.a +0 -0
- package/libs/android/armeabi-v7a/libskparagraph.a +0 -0
- package/libs/android/armeabi-v7a/libsksg.a +0 -0
- package/libs/android/armeabi-v7a/libskshaper.a +0 -0
- package/libs/android/armeabi-v7a/libskunicode.a +0 -0
- package/libs/android/armeabi-v7a/libsvg.a +0 -0
- package/libs/android/x86/libskia.a +0 -0
- package/libs/android/x86/libskottie.a +0 -0
- package/libs/android/x86/libskparagraph.a +0 -0
- package/libs/android/x86/libsksg.a +0 -0
- package/libs/android/x86/libskshaper.a +0 -0
- package/libs/android/x86/libskunicode.a +0 -0
- package/libs/android/x86/libsvg.a +0 -0
- package/libs/android/x86_64/libskia.a +0 -0
- package/libs/android/x86_64/libskottie.a +0 -0
- package/libs/android/x86_64/libskparagraph.a +0 -0
- package/libs/android/x86_64/libsksg.a +0 -0
- package/libs/android/x86_64/libskshaper.a +0 -0
- package/libs/android/x86_64/libskunicode.a +0 -0
- package/libs/android/x86_64/libsvg.a +0 -0
- package/libs/ios/libskia.xcframework/Info.plist +46 -0
- package/libs/ios/libskia.xcframework/ios-arm64_arm64e/libskia.a +0 -0
- package/libs/ios/libskia.xcframework/ios-arm64_arm64e_x86_64-simulator/libskia.a +0 -0
- package/libs/ios/libskottie.xcframework/Info.plist +46 -0
- package/libs/ios/libskottie.xcframework/ios-arm64_arm64e/libskottie.a +0 -0
- package/libs/ios/libskottie.xcframework/ios-arm64_arm64e_x86_64-simulator/libskottie.a +0 -0
- package/libs/ios/libskparagraph.xcframework/Info.plist +46 -0
- package/libs/ios/libskparagraph.xcframework/ios-arm64_arm64e/libskparagraph.a +0 -0
- package/libs/ios/libskparagraph.xcframework/ios-arm64_arm64e_x86_64-simulator/libskparagraph.a +0 -0
- package/libs/ios/libsksg.xcframework/Info.plist +46 -0
- package/libs/ios/libsksg.xcframework/ios-arm64_arm64e/libsksg.a +0 -0
- package/libs/ios/libsksg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsksg.a +0 -0
- package/libs/ios/libskshaper.xcframework/Info.plist +46 -0
- package/libs/ios/libskshaper.xcframework/ios-arm64_arm64e/libskshaper.a +0 -0
- package/libs/ios/libskshaper.xcframework/ios-arm64_arm64e_x86_64-simulator/libskshaper.a +0 -0
- package/libs/ios/libskunicode.xcframework/Info.plist +46 -0
- package/libs/ios/libskunicode.xcframework/ios-arm64_arm64e/libskunicode.a +0 -0
- package/libs/ios/libskunicode.xcframework/ios-arm64_arm64e_x86_64-simulator/libskunicode.a +0 -0
- package/libs/ios/libsvg.xcframework/Info.plist +46 -0
- package/libs/ios/libsvg.xcframework/ios-arm64_arm64e/libsvg.a +0 -0
- package/libs/ios/libsvg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsvg.a +0 -0
- package/package.json +143 -0
- package/react-native-skia.podspec +59 -0
- package/scripts/setup-canvaskit.js +105 -0
- package/src/Platform/IPlatform.ts +18 -0
- package/src/Platform/Platform.ts +24 -0
- package/src/Platform/Platform.web.tsx +150 -0
- package/src/Platform/index.ts +1 -0
- package/src/animation/functions/index.ts +4 -0
- package/src/animation/functions/interpolate.ts +189 -0
- package/src/animation/functions/interpolateColors.ts +61 -0
- package/src/animation/functions/interpolatePaths.ts +92 -0
- package/src/animation/functions/interpolateVector.ts +31 -0
- package/src/animation/index.ts +1 -0
- package/src/dom/nodes/DrawingNode.ts +74 -0
- package/src/dom/nodes/GroupNode.ts +19 -0
- package/src/dom/nodes/JsiSkDOM.ts +481 -0
- package/src/dom/nodes/LayerNode.ts +37 -0
- package/src/dom/nodes/Node.ts +121 -0
- package/src/dom/nodes/PaintNode.ts +91 -0
- package/src/dom/nodes/RenderNode.ts +172 -0
- package/src/dom/nodes/datatypes/Circle.ts +14 -0
- package/src/dom/nodes/datatypes/Enum.ts +2 -0
- package/src/dom/nodes/datatypes/Fitting.ts +131 -0
- package/src/dom/nodes/datatypes/Gradient.ts +48 -0
- package/src/dom/nodes/datatypes/Path.ts +18 -0
- package/src/dom/nodes/datatypes/Radius.ts +9 -0
- package/src/dom/nodes/datatypes/Rect.ts +40 -0
- package/src/dom/nodes/datatypes/Transform.ts +24 -0
- package/src/dom/nodes/datatypes/index.ts +8 -0
- package/src/dom/nodes/drawings/AtlasNode.ts +24 -0
- package/src/dom/nodes/drawings/BackdropFilterNode.ts +37 -0
- package/src/dom/nodes/drawings/Box.ts +110 -0
- package/src/dom/nodes/drawings/CircleNode.ts +24 -0
- package/src/dom/nodes/drawings/DiffRectNode.ts +19 -0
- package/src/dom/nodes/drawings/FillNode.ts +18 -0
- package/src/dom/nodes/drawings/ImageNode.ts +49 -0
- package/src/dom/nodes/drawings/ImageSVG.ts +38 -0
- package/src/dom/nodes/drawings/LineNode.ts +19 -0
- package/src/dom/nodes/drawings/OvalNode.ts +23 -0
- package/src/dom/nodes/drawings/ParagraphNode.ts +22 -0
- package/src/dom/nodes/drawings/PatchNode.ts +54 -0
- package/src/dom/nodes/drawings/PathNode.ts +51 -0
- package/src/dom/nodes/drawings/PictureNode.ts +19 -0
- package/src/dom/nodes/drawings/PointsNode.ts +21 -0
- package/src/dom/nodes/drawings/RRectNode.ts +25 -0
- package/src/dom/nodes/drawings/RectNode.ts +23 -0
- package/src/dom/nodes/drawings/Text.ts +145 -0
- package/src/dom/nodes/drawings/VerticesNode.ts +35 -0
- package/src/dom/nodes/drawings/index.ts +18 -0
- package/src/dom/nodes/index.ts +3 -0
- package/src/dom/nodes/paint/BlendNode.ts +32 -0
- package/src/dom/nodes/paint/ColorFilters.ts +106 -0
- package/src/dom/nodes/paint/ImageFilters.ts +221 -0
- package/src/dom/nodes/paint/MaskFilters.ts +23 -0
- package/src/dom/nodes/paint/PathEffects.ts +139 -0
- package/src/dom/nodes/paint/Shaders.ts +233 -0
- package/src/dom/nodes/paint/index.ts +6 -0
- package/src/dom/types/ColorFilters.ts +16 -0
- package/src/dom/types/Common.ts +90 -0
- package/src/dom/types/DeclarationContext.ts +105 -0
- package/src/dom/types/DrawingContext.ts +322 -0
- package/src/dom/types/Drawings.ts +163 -0
- package/src/dom/types/ImageFilters.ts +53 -0
- package/src/dom/types/MaskFilters.ts +9 -0
- package/src/dom/types/Node.ts +30 -0
- package/src/dom/types/NodeType.ts +74 -0
- package/src/dom/types/Paragraph.ts +10 -0
- package/src/dom/types/PathEffects.ts +35 -0
- package/src/dom/types/Shaders.ts +86 -0
- package/src/dom/types/SkDOM.ts +184 -0
- package/src/dom/types/index.ts +13 -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 +7 -0
- package/src/external/reanimated/interpolators.ts +124 -0
- package/src/external/reanimated/renderHelpers.ts +132 -0
- package/src/external/reanimated/textures.tsx +93 -0
- package/src/external/reanimated/useAnimatedImageValue.ts +63 -0
- package/src/external/reanimated/useDerivedValueOnJS.ts +20 -0
- package/src/external/reanimated/useVideo.ts +157 -0
- package/src/external/reanimated/useVideoLoading.ts +29 -0
- package/src/external/reanimated/useVideoLoading.web.ts +17 -0
- package/src/headless/index.ts +42 -0
- package/src/index.ts +11 -0
- package/src/mock/index.ts +51 -0
- package/src/renderer/Canvas.tsx +148 -0
- package/src/renderer/Container.tsx +30 -0
- package/src/renderer/DrawingContext.ts +8 -0
- package/src/renderer/HostComponents.ts +407 -0
- package/src/renderer/HostConfig.ts +244 -0
- package/src/renderer/Offscreen.tsx +48 -0
- package/src/renderer/Reconciler.tsx +57 -0
- package/src/renderer/components/Blend.tsx +8 -0
- package/src/renderer/components/Group.tsx +21 -0
- package/src/renderer/components/Mask.tsx +36 -0
- package/src/renderer/components/Paint.tsx +8 -0
- package/src/renderer/components/Picture.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 +29 -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 +18 -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 +27 -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 +25 -0
- package/src/skia/NativeSetup.ts +19 -0
- package/src/skia/Skia.ts +11 -0
- package/src/skia/Skia.web.ts +3 -0
- package/src/skia/core/AnimatedImage.ts +17 -0
- package/src/skia/core/Data.ts +109 -0
- package/src/skia/core/Font.ts +134 -0
- package/src/skia/core/Image.ts +55 -0
- package/src/skia/core/Matrix.ts +8 -0
- package/src/skia/core/Picture.ts +23 -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 +29 -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 +29 -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 +539 -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 +48 -0
- package/src/skia/types/Data/Data.ts +15 -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/Image/Image.ts +133 -0
- package/src/skia/types/Image/ImageFactory.ts +90 -0
- package/src/skia/types/Image/index.ts +2 -0
- package/src/skia/types/ImageFilter/ImageFilter.ts +31 -0
- package/src/skia/types/ImageFilter/ImageFilterFactory.ts +192 -0
- package/src/skia/types/ImageFilter/index.ts +2 -0
- package/src/skia/types/JsiInstance.ts +4 -0
- package/src/skia/types/MaskFilter.ts +27 -0
- package/src/skia/types/Matrix.ts +41 -0
- package/src/skia/types/Matrix4.ts +377 -0
- package/src/skia/types/NativeBuffer/NativeBufferFactory.ts +46 -0
- package/src/skia/types/NativeBuffer/index.ts +1 -0
- package/src/skia/types/Paint/BlendMode.ts +61 -0
- package/src/skia/types/Paint/Paint.ts +170 -0
- package/src/skia/types/Paint/index.ts +2 -0
- package/src/skia/types/Paragraph/Paragraph.ts +84 -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 +578 -0
- package/src/skia/types/Path/PathFactory.ts +34 -0
- package/src/skia/types/Path/index.ts +2 -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 +18 -0
- package/src/skia/types/Picture/index.ts +3 -0
- package/src/skia/types/Point.ts +12 -0
- package/src/skia/types/RRect.ts +23 -0
- package/src/skia/types/RSXform.ts +9 -0
- package/src/skia/types/Rect.ts +26 -0
- package/src/skia/types/RuntimeEffect/RuntimeEffect.ts +66 -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 +8 -0
- package/src/skia/types/SVG/index.ts +2 -0
- package/src/skia/types/Shader/Shader.ts +64 -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 +101 -0
- package/src/skia/types/Surface/Surface.ts +42 -0
- package/src/skia/types/Surface/SurfaceFactory.ts +19 -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 +16 -0
- package/src/skia/types/Video/index.ts +1 -0
- package/src/skia/types/index.ts +33 -0
- package/src/skia/web/CanvasKitWebGLBufferImpl.ts +22 -0
- package/src/skia/web/Host.ts +51 -0
- package/src/skia/web/JsiSkAnimatedImage.ts +35 -0
- package/src/skia/web/JsiSkAnimatedImageFactory.ts +27 -0
- package/src/skia/web/JsiSkCanvas.ts +437 -0
- package/src/skia/web/JsiSkColor.ts +340 -0
- package/src/skia/web/JsiSkColorFilter.ts +18 -0
- package/src/skia/web/JsiSkColorFilterFactory.ts +80 -0
- package/src/skia/web/JsiSkContourMeasure.ts +43 -0
- package/src/skia/web/JsiSkContourMeasureIter.ts +27 -0
- package/src/skia/web/JsiSkData.ts +17 -0
- package/src/skia/web/JsiSkDataFactory.ts +34 -0
- package/src/skia/web/JsiSkFont.ts +141 -0
- package/src/skia/web/JsiSkFontMgr.ts +26 -0
- package/src/skia/web/JsiSkFontMgrFactory.ts +20 -0
- package/src/skia/web/JsiSkImage.ts +173 -0
- package/src/skia/web/JsiSkImageFactory.ts +96 -0
- package/src/skia/web/JsiSkImageFilter.ts +18 -0
- package/src/skia/web/JsiSkImageFilterFactory.ts +216 -0
- package/src/skia/web/JsiSkMaskFilter.ts +18 -0
- package/src/skia/web/JsiSkMaskFilterFactory.ts +24 -0
- package/src/skia/web/JsiSkMatrix.ts +91 -0
- package/src/skia/web/JsiSkNativeBufferFactory.ts +35 -0
- package/src/skia/web/JsiSkPaint.ts +124 -0
- package/src/skia/web/JsiSkParagraph.ts +80 -0
- package/src/skia/web/JsiSkParagraphBuilder.ts +99 -0
- package/src/skia/web/JsiSkParagraphBuilderFactory.ts +48 -0
- package/src/skia/web/JsiSkParagraphStyle.ts +65 -0
- package/src/skia/web/JsiSkPath.ts +417 -0
- package/src/skia/web/JsiSkPathEffect.ts +18 -0
- package/src/skia/web/JsiSkPathEffectFactory.ts +90 -0
- package/src/skia/web/JsiSkPathFactory.ts +54 -0
- package/src/skia/web/JsiSkPicture.ts +51 -0
- package/src/skia/web/JsiSkPictureFactory.ts +20 -0
- package/src/skia/web/JsiSkPictureRecorder.ts +40 -0
- package/src/skia/web/JsiSkPoint.ts +33 -0
- package/src/skia/web/JsiSkRRect.ts +77 -0
- package/src/skia/web/JsiSkRSXform.ts +44 -0
- package/src/skia/web/JsiSkRect.ts +48 -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 +18 -0
- package/src/skia/web/JsiSkShaderFactory.ts +190 -0
- package/src/skia/web/JsiSkSurface.ts +46 -0
- package/src/skia/web/JsiSkSurfaceFactory.ts +41 -0
- package/src/skia/web/JsiSkTextBlob.ts +18 -0
- package/src/skia/web/JsiSkTextBlobFactory.ts +55 -0
- package/src/skia/web/JsiSkTextStyle.ts +53 -0
- package/src/skia/web/JsiSkTypeface.ts +36 -0
- package/src/skia/web/JsiSkTypefaceFactory.tsx +22 -0
- package/src/skia/web/JsiSkTypefaceFontProvider.ts +85 -0
- package/src/skia/web/JsiSkTypefaceFontProviderFactory.ts +18 -0
- package/src/skia/web/JsiSkVertices.ts +27 -0
- package/src/skia/web/JsiSkVerticesFactory.ts +41 -0
- package/src/skia/web/JsiSkia.ts +132 -0
- package/src/skia/web/JsiVideo.ts +96 -0
- package/src/skia/web/index.ts +1 -0
- package/src/specs/NativeSkiaModule.ts +9 -0
- package/src/specs/NativeSkiaModule.web.ts +0 -0
- package/src/specs/SkiaDomViewNativeComponent.ts +10 -0
- package/src/specs/SkiaPictureViewNativeComponent.ts +10 -0
- package/src/views/SkiaBaseWebView.tsx +189 -0
- package/src/views/SkiaDomView.tsx +122 -0
- package/src/views/SkiaDomView.web.tsx +30 -0
- package/src/views/SkiaJSDomView.tsx +129 -0
- package/src/views/SkiaJSDomView.web.tsx +1 -0
- package/src/views/SkiaPictureView.tsx +86 -0
- package/src/views/SkiaPictureView.web.tsx +16 -0
- package/src/views/SkiaViewNativeId.ts +1 -0
- package/src/views/api.ts +7 -0
- package/src/views/index.ts +4 -0
- package/src/views/types.ts +86 -0
- package/src/views/useTouchHandler.ts +107 -0
- package/src/web/LoadSkiaWeb.tsx +27 -0
- package/src/web/WithSkiaWeb.tsx +40 -0
- package/src/web/index.ts +2 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react-native/types/modules/Codegen" />
|
2
|
+
import type { ViewProps } from "react-native";
|
3
|
+
export interface NativeProps extends ViewProps {
|
4
|
+
mode: string;
|
5
|
+
debug?: boolean;
|
6
|
+
}
|
7
|
+
declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
|
8
|
+
export default _default;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
7
|
+
var _codegenNativeComponent = _interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9
|
+
// eslint-disable-next-line import/no-default-export
|
10
|
+
var _default = exports.default = (0, _codegenNativeComponent.default)("SkiaDomView");
|
11
|
+
//# sourceMappingURL=SkiaDomViewNativeComponent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","obj","__esModule","default","_default","exports","codegenNativeComponent"],"sources":["SkiaDomViewNativeComponent.ts"],"sourcesContent":["import codegenNativeComponent from \"react-native/Libraries/Utilities/codegenNativeComponent\";\nimport type { ViewProps } from \"react-native\";\n\nexport interface NativeProps extends ViewProps {\n mode: string;\n debug?: boolean;\n}\n\n// eslint-disable-next-line import/no-default-export\nexport default codegenNativeComponent<NativeProps>(\"SkiaDomView\");\n"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6F,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAQ7F;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GACe,IAAAG,+BAAsB,EAAc,aAAa,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react-native/types/modules/Codegen" />
|
2
|
+
import type { ViewProps } from "react-native";
|
3
|
+
export interface NativeProps extends ViewProps {
|
4
|
+
mode: string;
|
5
|
+
debug?: boolean;
|
6
|
+
}
|
7
|
+
declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
|
8
|
+
export default _default;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
7
|
+
var _codegenNativeComponent = _interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9
|
+
// eslint-disable-next-line import/no-default-export
|
10
|
+
var _default = exports.default = (0, _codegenNativeComponent.default)("SkiaPictureView");
|
11
|
+
//# sourceMappingURL=SkiaPictureViewNativeComponent.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","obj","__esModule","default","_default","exports","codegenNativeComponent"],"sources":["SkiaPictureViewNativeComponent.ts"],"sourcesContent":["import codegenNativeComponent from \"react-native/Libraries/Utilities/codegenNativeComponent\";\nimport type { ViewProps } from \"react-native\";\n\nexport interface NativeProps extends ViewProps {\n mode: string;\n debug?: boolean;\n}\n\n// eslint-disable-next-line import/no-default-export\nexport default codegenNativeComponent<NativeProps>(\"SkiaPictureView\");\n"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6F,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAQ7F;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GACe,IAAAG,+BAAsB,EAAc,iBAAiB,CAAC"}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import type { PointerEvent } from "react";
|
3
|
+
import type { SkRect, SkCanvas } from "../skia/types";
|
4
|
+
import type { DrawMode, SkiaBaseViewProps, TouchInfo } from "./types";
|
5
|
+
import { TouchType } from "./types";
|
6
|
+
export declare abstract class SkiaBaseWebView<TProps extends SkiaBaseViewProps> extends React.Component<TProps> {
|
7
|
+
constructor(props: TProps);
|
8
|
+
private _surface;
|
9
|
+
private _unsubscriptions;
|
10
|
+
private _touches;
|
11
|
+
private _canvas;
|
12
|
+
private _canvasRef;
|
13
|
+
private _mode;
|
14
|
+
private _redrawRequests;
|
15
|
+
private requestId;
|
16
|
+
protected width: number;
|
17
|
+
protected height: number;
|
18
|
+
private unsubscribeAll;
|
19
|
+
private onLayoutEvent;
|
20
|
+
protected getSize(): {
|
21
|
+
width: number;
|
22
|
+
height: number;
|
23
|
+
};
|
24
|
+
componentDidMount(): void;
|
25
|
+
componentDidUpdate(): void;
|
26
|
+
componentWillUnmount(): void;
|
27
|
+
/**
|
28
|
+
* Creates a snapshot from the canvas in the surface
|
29
|
+
* @param rect Rect to use as bounds. Optional.
|
30
|
+
* @returns An Image object.
|
31
|
+
*/
|
32
|
+
makeImageSnapshot(rect?: SkRect): import("../skia/types").SkImage | undefined;
|
33
|
+
/**
|
34
|
+
* Override to render
|
35
|
+
*/
|
36
|
+
protected abstract renderInCanvas(canvas: SkCanvas, touches: TouchInfo[]): void;
|
37
|
+
/**
|
38
|
+
* Sends a redraw request to the native SkiaView.
|
39
|
+
*/
|
40
|
+
private tick;
|
41
|
+
redraw(): void;
|
42
|
+
/**
|
43
|
+
* Updates the drawing mode for the skia view. This is the same
|
44
|
+
* as declaratively setting the mode property on the SkiaView.
|
45
|
+
* There are two drawing modes, "continuous" and "default",
|
46
|
+
* where the continuous mode will continuously redraw the view and
|
47
|
+
* the default mode will only redraw when any of the regular react
|
48
|
+
* properties are changed like size and margins.
|
49
|
+
* @param mode Drawing mode to use.
|
50
|
+
*/
|
51
|
+
setDrawMode(mode: DrawMode): void;
|
52
|
+
private handleTouchEvent;
|
53
|
+
createTouchHandler(touchType: TouchType): (evt: PointerEvent) => void;
|
54
|
+
private onStart;
|
55
|
+
private onActive;
|
56
|
+
private onCancel;
|
57
|
+
private onEnd;
|
58
|
+
private onLayout;
|
59
|
+
render(): React.JSX.Element;
|
60
|
+
}
|
@@ -0,0 +1,185 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.SkiaBaseWebView = void 0;
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
8
|
+
var _JsiSkSurface = require("../skia/web/JsiSkSurface");
|
9
|
+
var _Platform = require("../Platform");
|
10
|
+
var _types = require("./types");
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
12
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
13
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
15
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* global HTMLCanvasElement */
|
16
|
+
const pd = _Platform.Platform.PixelRatio;
|
17
|
+
class SkiaBaseWebView extends _react.default.Component {
|
18
|
+
constructor(props) {
|
19
|
+
var _props$mode;
|
20
|
+
super(props);
|
21
|
+
_defineProperty(this, "_surface", null);
|
22
|
+
_defineProperty(this, "_unsubscriptions", []);
|
23
|
+
_defineProperty(this, "_touches", []);
|
24
|
+
_defineProperty(this, "_canvas", null);
|
25
|
+
_defineProperty(this, "_canvasRef", /*#__PURE__*/_react.default.createRef());
|
26
|
+
_defineProperty(this, "_mode", void 0);
|
27
|
+
_defineProperty(this, "_redrawRequests", 0);
|
28
|
+
_defineProperty(this, "requestId", 0);
|
29
|
+
_defineProperty(this, "width", 0);
|
30
|
+
_defineProperty(this, "height", 0);
|
31
|
+
_defineProperty(this, "onStart", this.createTouchHandler(_types.TouchType.Start));
|
32
|
+
_defineProperty(this, "onActive", this.createTouchHandler(_types.TouchType.Active));
|
33
|
+
_defineProperty(this, "onCancel", this.createTouchHandler(_types.TouchType.Cancelled));
|
34
|
+
_defineProperty(this, "onEnd", this.createTouchHandler(_types.TouchType.End));
|
35
|
+
_defineProperty(this, "onLayout", this.onLayoutEvent.bind(this));
|
36
|
+
this._mode = (_props$mode = props.mode) !== null && _props$mode !== void 0 ? _props$mode : "default";
|
37
|
+
}
|
38
|
+
unsubscribeAll() {
|
39
|
+
this._unsubscriptions.forEach(u => u());
|
40
|
+
this._unsubscriptions = [];
|
41
|
+
}
|
42
|
+
onLayoutEvent(evt) {
|
43
|
+
const {
|
44
|
+
CanvasKit
|
45
|
+
} = global;
|
46
|
+
// Reset canvas / surface on layout change
|
47
|
+
const canvas = this._canvasRef.current;
|
48
|
+
if (canvas) {
|
49
|
+
this.width = canvas.clientWidth;
|
50
|
+
this.height = canvas.clientHeight;
|
51
|
+
canvas.width = this.width * pd;
|
52
|
+
canvas.height = this.height * pd;
|
53
|
+
const surface = CanvasKit.MakeWebGLCanvasSurface(canvas);
|
54
|
+
if (!surface) {
|
55
|
+
throw new Error("Could not create surface");
|
56
|
+
}
|
57
|
+
this._surface = new _JsiSkSurface.JsiSkSurface(CanvasKit, surface);
|
58
|
+
this._canvas = this._surface.getCanvas();
|
59
|
+
this.redraw();
|
60
|
+
}
|
61
|
+
// Call onLayout callback if it exists
|
62
|
+
if (this.props.onLayout) {
|
63
|
+
this.props.onLayout(evt);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
getSize() {
|
67
|
+
return {
|
68
|
+
width: this.width,
|
69
|
+
height: this.height
|
70
|
+
};
|
71
|
+
}
|
72
|
+
componentDidMount() {
|
73
|
+
// Start render loop
|
74
|
+
this.tick();
|
75
|
+
}
|
76
|
+
componentDidUpdate() {
|
77
|
+
this.redraw();
|
78
|
+
}
|
79
|
+
componentWillUnmount() {
|
80
|
+
this.unsubscribeAll();
|
81
|
+
cancelAnimationFrame(this.requestId);
|
82
|
+
// eslint-disable-next-line max-len
|
83
|
+
// https://stackoverflow.com/questions/23598471/how-do-i-clean-up-and-unload-a-webgl-canvas-context-from-gpu-after-use
|
84
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context
|
85
|
+
// We delete the context, only if the context has been intialized
|
86
|
+
if (this._surface) {
|
87
|
+
var _this$_canvasRef$curr;
|
88
|
+
(_this$_canvasRef$curr = this._canvasRef.current) === null || _this$_canvasRef$curr === void 0 || (_this$_canvasRef$curr = _this$_canvasRef$curr.getContext("webgl2")) === null || _this$_canvasRef$curr === void 0 || (_this$_canvasRef$curr = _this$_canvasRef$curr.getExtension("WEBGL_lose_context")) === null || _this$_canvasRef$curr === void 0 || _this$_canvasRef$curr.loseContext();
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Creates a snapshot from the canvas in the surface
|
94
|
+
* @param rect Rect to use as bounds. Optional.
|
95
|
+
* @returns An Image object.
|
96
|
+
*/
|
97
|
+
makeImageSnapshot(rect) {
|
98
|
+
var _this$_surface, _this$_surface2;
|
99
|
+
this._canvas.clear(CanvasKit.TRANSPARENT);
|
100
|
+
this.renderInCanvas(this._canvas, []);
|
101
|
+
(_this$_surface = this._surface) === null || _this$_surface === void 0 || _this$_surface.ref.flush();
|
102
|
+
return (_this$_surface2 = this._surface) === null || _this$_surface2 === void 0 ? void 0 : _this$_surface2.makeImageSnapshot(rect);
|
103
|
+
}
|
104
|
+
|
105
|
+
/**
|
106
|
+
* Override to render
|
107
|
+
*/
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Sends a redraw request to the native SkiaView.
|
111
|
+
*/
|
112
|
+
tick() {
|
113
|
+
if (this._mode === "continuous" || this._redrawRequests > 0) {
|
114
|
+
this._redrawRequests = 0;
|
115
|
+
if (this._canvas) {
|
116
|
+
var _this$_surface3;
|
117
|
+
const touches = [...this._touches];
|
118
|
+
this._touches = [];
|
119
|
+
const canvas = this._canvas;
|
120
|
+
canvas.clear(Float32Array.of(0, 0, 0, 0));
|
121
|
+
canvas.save();
|
122
|
+
canvas.scale(pd, pd);
|
123
|
+
this.renderInCanvas(canvas, touches);
|
124
|
+
canvas.restore();
|
125
|
+
(_this$_surface3 = this._surface) === null || _this$_surface3 === void 0 || _this$_surface3.ref.flush();
|
126
|
+
}
|
127
|
+
}
|
128
|
+
this.requestId = requestAnimationFrame(this.tick.bind(this));
|
129
|
+
}
|
130
|
+
redraw() {
|
131
|
+
this._redrawRequests++;
|
132
|
+
}
|
133
|
+
|
134
|
+
/**
|
135
|
+
* Updates the drawing mode for the skia view. This is the same
|
136
|
+
* as declaratively setting the mode property on the SkiaView.
|
137
|
+
* There are two drawing modes, "continuous" and "default",
|
138
|
+
* where the continuous mode will continuously redraw the view and
|
139
|
+
* the default mode will only redraw when any of the regular react
|
140
|
+
* properties are changed like size and margins.
|
141
|
+
* @param mode Drawing mode to use.
|
142
|
+
*/
|
143
|
+
setDrawMode(mode) {
|
144
|
+
this._mode = mode;
|
145
|
+
this.tick();
|
146
|
+
}
|
147
|
+
handleTouchEvent(evt, touchType) {
|
148
|
+
this._touches.push({
|
149
|
+
id: evt.pointerId,
|
150
|
+
x: evt.clientX - evt.currentTarget.getClientRects()[0].left,
|
151
|
+
y: evt.clientY - evt.currentTarget.getClientRects()[0].top,
|
152
|
+
force: evt.pressure,
|
153
|
+
type: touchType,
|
154
|
+
timestamp: Date.now()
|
155
|
+
});
|
156
|
+
this.redraw();
|
157
|
+
}
|
158
|
+
createTouchHandler(touchType) {
|
159
|
+
return evt => this.handleTouchEvent(evt, touchType);
|
160
|
+
}
|
161
|
+
render() {
|
162
|
+
const {
|
163
|
+
mode,
|
164
|
+
debug = false,
|
165
|
+
...viewProps
|
166
|
+
} = this.props;
|
167
|
+
return /*#__PURE__*/_react.default.createElement(_Platform.Platform.View, _extends({}, viewProps, {
|
168
|
+
onLayout: this.onLayout
|
169
|
+
}), /*#__PURE__*/_react.default.createElement("canvas", {
|
170
|
+
ref: this._canvasRef,
|
171
|
+
style: {
|
172
|
+
display: "flex",
|
173
|
+
flex: 1
|
174
|
+
},
|
175
|
+
onPointerDown: this.onStart,
|
176
|
+
onPointerMove: this.onActive,
|
177
|
+
onPointerUp: this.onEnd,
|
178
|
+
onPointerCancel: this.onCancel,
|
179
|
+
onPointerLeave: this.onEnd,
|
180
|
+
onPointerOut: this.onEnd
|
181
|
+
}));
|
182
|
+
}
|
183
|
+
}
|
184
|
+
exports.SkiaBaseWebView = SkiaBaseWebView;
|
185
|
+
//# sourceMappingURL=SkiaBaseWebView.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_JsiSkSurface","_Platform","_types","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_defineProperty","value","_toPropertyKey","defineProperty","enumerable","configurable","writable","t","_toPrimitive","String","r","e","Symbol","toPrimitive","TypeError","Number","pd","Platform","PixelRatio","SkiaBaseWebView","React","Component","constructor","props","_props$mode","createRef","createTouchHandler","TouchType","Start","Active","Cancelled","End","onLayoutEvent","_mode","mode","unsubscribeAll","_unsubscriptions","forEach","u","evt","CanvasKit","global","canvas","_canvasRef","current","width","clientWidth","height","clientHeight","surface","MakeWebGLCanvasSurface","Error","_surface","JsiSkSurface","_canvas","getCanvas","redraw","onLayout","getSize","componentDidMount","tick","componentDidUpdate","componentWillUnmount","cancelAnimationFrame","requestId","_this$_canvasRef$curr","getContext","getExtension","loseContext","makeImageSnapshot","rect","_this$_surface","_this$_surface2","clear","TRANSPARENT","renderInCanvas","ref","flush","_redrawRequests","_this$_surface3","touches","_touches","Float32Array","of","save","scale","restore","requestAnimationFrame","setDrawMode","handleTouchEvent","touchType","push","id","pointerId","x","clientX","currentTarget","getClientRects","left","y","clientY","top","force","pressure","type","timestamp","Date","now","render","debug","viewProps","createElement","View","style","display","flex","onPointerDown","onStart","onPointerMove","onActive","onPointerUp","onEnd","onPointerCancel","onCancel","onPointerLeave","onPointerOut","exports"],"sources":["SkiaBaseWebView.tsx"],"sourcesContent":["/* global HTMLCanvasElement */\nimport React from \"react\";\nimport type { PointerEvent } from \"react\";\nimport type { LayoutChangeEvent } from \"react-native\";\n\nimport type { SkRect, SkCanvas } from \"../skia/types\";\nimport { JsiSkSurface } from \"../skia/web/JsiSkSurface\";\nimport { Platform } from \"../Platform\";\n\nimport type { DrawMode, SkiaBaseViewProps, TouchInfo } from \"./types\";\nimport { TouchType } from \"./types\";\n\nconst pd = Platform.PixelRatio;\n\nexport abstract class SkiaBaseWebView<\n TProps extends SkiaBaseViewProps\n> extends React.Component<TProps> {\n constructor(props: TProps) {\n super(props);\n this._mode = props.mode ?? \"default\";\n }\n\n private _surface: JsiSkSurface | null = null;\n private _unsubscriptions: Array<() => void> = [];\n private _touches: Array<TouchInfo> = [];\n private _canvas: SkCanvas | null = null;\n private _canvasRef = React.createRef<HTMLCanvasElement>();\n private _mode: DrawMode;\n private _redrawRequests = 0;\n private requestId = 0;\n\n protected width = 0;\n protected height = 0;\n\n private unsubscribeAll() {\n this._unsubscriptions.forEach((u) => u());\n this._unsubscriptions = [];\n }\n\n private onLayoutEvent(evt: LayoutChangeEvent) {\n const { CanvasKit } = global;\n // Reset canvas / surface on layout change\n const canvas = this._canvasRef.current;\n if (canvas) {\n this.width = canvas.clientWidth;\n this.height = canvas.clientHeight;\n canvas.width = this.width * pd;\n canvas.height = this.height * pd;\n const surface = CanvasKit.MakeWebGLCanvasSurface(canvas);\n if (!surface) {\n throw new Error(\"Could not create surface\");\n }\n this._surface = new JsiSkSurface(CanvasKit, surface);\n this._canvas = this._surface.getCanvas();\n this.redraw();\n }\n // Call onLayout callback if it exists\n if (this.props.onLayout) {\n this.props.onLayout(evt);\n }\n }\n\n protected getSize() {\n return { width: this.width, height: this.height };\n }\n\n componentDidMount() {\n // Start render loop\n this.tick();\n }\n\n componentDidUpdate() {\n this.redraw();\n }\n\n componentWillUnmount() {\n this.unsubscribeAll();\n cancelAnimationFrame(this.requestId);\n // eslint-disable-next-line max-len\n // https://stackoverflow.com/questions/23598471/how-do-i-clean-up-and-unload-a-webgl-canvas-context-from-gpu-after-use\n // https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context\n // We delete the context, only if the context has been intialized\n if (this._surface) {\n this._canvasRef.current\n ?.getContext(\"webgl2\")\n ?.getExtension(\"WEBGL_lose_context\")\n ?.loseContext();\n }\n }\n\n /**\n * Creates a snapshot from the canvas in the surface\n * @param rect Rect to use as bounds. Optional.\n * @returns An Image object.\n */\n public makeImageSnapshot(rect?: SkRect) {\n this._canvas!.clear(CanvasKit.TRANSPARENT);\n this.renderInCanvas(this._canvas!, []);\n this._surface?.ref.flush();\n return this._surface?.makeImageSnapshot(rect);\n }\n\n /**\n * Override to render\n */\n protected abstract renderInCanvas(\n canvas: SkCanvas,\n touches: TouchInfo[]\n ): void;\n\n /**\n * Sends a redraw request to the native SkiaView.\n */\n private tick() {\n if (this._mode === \"continuous\" || this._redrawRequests > 0) {\n this._redrawRequests = 0;\n if (this._canvas) {\n const touches = [...this._touches];\n this._touches = [];\n const canvas = this._canvas!;\n canvas.clear(Float32Array.of(0, 0, 0, 0));\n canvas.save();\n canvas.scale(pd, pd);\n this.renderInCanvas(canvas, touches);\n canvas.restore();\n this._surface?.ref.flush();\n }\n }\n this.requestId = requestAnimationFrame(this.tick.bind(this));\n }\n\n public redraw() {\n this._redrawRequests++;\n }\n\n /**\n * Updates the drawing mode for the skia view. This is the same\n * as declaratively setting the mode property on the SkiaView.\n * There are two drawing modes, \"continuous\" and \"default\",\n * where the continuous mode will continuously redraw the view and\n * the default mode will only redraw when any of the regular react\n * properties are changed like size and margins.\n * @param mode Drawing mode to use.\n */\n public setDrawMode(mode: DrawMode) {\n this._mode = mode;\n this.tick();\n }\n\n private handleTouchEvent(evt: PointerEvent, touchType: TouchType) {\n this._touches.push({\n id: evt.pointerId,\n x: evt.clientX - evt.currentTarget.getClientRects()[0].left,\n y: evt.clientY - evt.currentTarget.getClientRects()[0].top,\n force: evt.pressure,\n type: touchType,\n timestamp: Date.now(),\n });\n this.redraw();\n }\n\n createTouchHandler(touchType: TouchType) {\n return (evt: PointerEvent) => this.handleTouchEvent(evt, touchType);\n }\n\n private onStart = this.createTouchHandler(TouchType.Start);\n private onActive = this.createTouchHandler(TouchType.Active);\n private onCancel = this.createTouchHandler(TouchType.Cancelled);\n private onEnd = this.createTouchHandler(TouchType.End);\n private onLayout = this.onLayoutEvent.bind(this);\n\n render() {\n const { mode, debug = false, ...viewProps } = this.props;\n return (\n <Platform.View {...viewProps} onLayout={this.onLayout}>\n <canvas\n ref={this._canvasRef}\n style={{ display: \"flex\", flex: 1 }}\n onPointerDown={this.onStart}\n onPointerMove={this.onActive}\n onPointerUp={this.onEnd}\n onPointerCancel={this.onCancel}\n onPointerLeave={this.onEnd}\n onPointerOut={this.onEnd}\n />\n </Platform.View>\n );\n }\n}\n"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAKA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAGA,IAAAG,MAAA,GAAAH,OAAA;AAAoC,SAAAD,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAAA,SAAAQ,gBAAAjB,GAAA,EAAAY,GAAA,EAAAM,KAAA,IAAAN,GAAA,GAAAO,cAAA,CAAAP,GAAA,OAAAA,GAAA,IAAAZ,GAAA,IAAAI,MAAA,CAAAgB,cAAA,CAAApB,GAAA,EAAAY,GAAA,IAAAM,KAAA,EAAAA,KAAA,EAAAG,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAvB,GAAA,CAAAY,GAAA,IAAAM,KAAA,WAAAlB,GAAA;AAAA,SAAAmB,eAAAK,CAAA,QAAAhB,CAAA,GAAAiB,YAAA,CAAAD,CAAA,uCAAAhB,CAAA,GAAAA,CAAA,GAAAkB,MAAA,CAAAlB,CAAA;AAAA,SAAAiB,aAAAD,CAAA,EAAAG,CAAA,2BAAAH,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAI,CAAA,GAAAJ,CAAA,CAAAK,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAApB,CAAA,GAAAoB,CAAA,CAAAb,IAAA,CAAAS,CAAA,EAAAG,CAAA,uCAAAnB,CAAA,SAAAA,CAAA,YAAAuB,SAAA,yEAAAJ,CAAA,GAAAD,MAAA,GAAAM,MAAA,EAAAR,CAAA,KAVpC;AAYA,MAAMS,EAAE,GAAGC,kBAAQ,CAACC,UAAU;AAEvB,MAAeC,eAAe,SAE3BC,cAAK,CAACC,SAAS,CAAS;EAChCC,WAAWA,CAACC,KAAa,EAAE;IAAA,IAAAC,WAAA;IACzB,KAAK,CAACD,KAAK,CAAC;IAACvB,eAAA,mBAIyB,IAAI;IAAAA,eAAA,2BACE,EAAE;IAAAA,eAAA,mBACX,EAAE;IAAAA,eAAA,kBACJ,IAAI;IAAAA,eAAA,kCAClBoB,cAAK,CAACK,SAAS,CAAoB,CAAC;IAAAzB,eAAA;IAAAA,eAAA,0BAE/B,CAAC;IAAAA,eAAA,oBACP,CAAC;IAAAA,eAAA,gBAEH,CAAC;IAAAA,eAAA,iBACA,CAAC;IAAAA,eAAA,kBAqIF,IAAI,CAAC0B,kBAAkB,CAACC,gBAAS,CAACC,KAAK,CAAC;IAAA5B,eAAA,mBACvC,IAAI,CAAC0B,kBAAkB,CAACC,gBAAS,CAACE,MAAM,CAAC;IAAA7B,eAAA,mBACzC,IAAI,CAAC0B,kBAAkB,CAACC,gBAAS,CAACG,SAAS,CAAC;IAAA9B,eAAA,gBAC/C,IAAI,CAAC0B,kBAAkB,CAACC,gBAAS,CAACI,GAAG,CAAC;IAAA/B,eAAA,mBACnC,IAAI,CAACgC,aAAa,CAAC3C,IAAI,CAAC,IAAI,CAAC;IAtJ9C,IAAI,CAAC4C,KAAK,IAAAT,WAAA,GAAGD,KAAK,CAACW,IAAI,cAAAV,WAAA,cAAAA,WAAA,GAAI,SAAS;EACtC;EAcQW,cAAcA,CAAA,EAAG;IACvB,IAAI,CAACC,gBAAgB,CAACC,OAAO,CAAEC,CAAC,IAAKA,CAAC,CAAC,CAAC,CAAC;IACzC,IAAI,CAACF,gBAAgB,GAAG,EAAE;EAC5B;EAEQJ,aAAaA,CAACO,GAAsB,EAAE;IAC5C,MAAM;MAAEC;IAAU,CAAC,GAAGC,MAAM;IAC5B;IACA,MAAMC,MAAM,GAAG,IAAI,CAACC,UAAU,CAACC,OAAO;IACtC,IAAIF,MAAM,EAAE;MACV,IAAI,CAACG,KAAK,GAAGH,MAAM,CAACI,WAAW;MAC/B,IAAI,CAACC,MAAM,GAAGL,MAAM,CAACM,YAAY;MACjCN,MAAM,CAACG,KAAK,GAAG,IAAI,CAACA,KAAK,GAAG7B,EAAE;MAC9B0B,MAAM,CAACK,MAAM,GAAG,IAAI,CAACA,MAAM,GAAG/B,EAAE;MAChC,MAAMiC,OAAO,GAAGT,SAAS,CAACU,sBAAsB,CAACR,MAAM,CAAC;MACxD,IAAI,CAACO,OAAO,EAAE;QACZ,MAAM,IAAIE,KAAK,CAAC,0BAA0B,CAAC;MAC7C;MACA,IAAI,CAACC,QAAQ,GAAG,IAAIC,0BAAY,CAACb,SAAS,EAAES,OAAO,CAAC;MACpD,IAAI,CAACK,OAAO,GAAG,IAAI,CAACF,QAAQ,CAACG,SAAS,CAAC,CAAC;MACxC,IAAI,CAACC,MAAM,CAAC,CAAC;IACf;IACA;IACA,IAAI,IAAI,CAACjC,KAAK,CAACkC,QAAQ,EAAE;MACvB,IAAI,CAAClC,KAAK,CAACkC,QAAQ,CAAClB,GAAG,CAAC;IAC1B;EACF;EAEUmB,OAAOA,CAAA,EAAG;IAClB,OAAO;MAAEb,KAAK,EAAE,IAAI,CAACA,KAAK;MAAEE,MAAM,EAAE,IAAI,CAACA;IAAO,CAAC;EACnD;EAEAY,iBAAiBA,CAAA,EAAG;IAClB;IACA,IAAI,CAACC,IAAI,CAAC,CAAC;EACb;EAEAC,kBAAkBA,CAAA,EAAG;IACnB,IAAI,CAACL,MAAM,CAAC,CAAC;EACf;EAEAM,oBAAoBA,CAAA,EAAG;IACrB,IAAI,CAAC3B,cAAc,CAAC,CAAC;IACrB4B,oBAAoB,CAAC,IAAI,CAACC,SAAS,CAAC;IACpC;IACA;IACA;IACA;IACA,IAAI,IAAI,CAACZ,QAAQ,EAAE;MAAA,IAAAa,qBAAA;MACjB,CAAAA,qBAAA,OAAI,CAACtB,UAAU,CAACC,OAAO,cAAAqB,qBAAA,gBAAAA,qBAAA,GAAvBA,qBAAA,CACIC,UAAU,CAAC,QAAQ,CAAC,cAAAD,qBAAA,gBAAAA,qBAAA,GADxBA,qBAAA,CAEIE,YAAY,CAAC,oBAAoB,CAAC,cAAAF,qBAAA,eAFtCA,qBAAA,CAGIG,WAAW,CAAC,CAAC;IACnB;EACF;;EAEA;AACF;AACA;AACA;AACA;EACSC,iBAAiBA,CAACC,IAAa,EAAE;IAAA,IAAAC,cAAA,EAAAC,eAAA;IACtC,IAAI,CAAClB,OAAO,CAAEmB,KAAK,CAACjC,SAAS,CAACkC,WAAW,CAAC;IAC1C,IAAI,CAACC,cAAc,CAAC,IAAI,CAACrB,OAAO,EAAG,EAAE,CAAC;IACtC,CAAAiB,cAAA,OAAI,CAACnB,QAAQ,cAAAmB,cAAA,eAAbA,cAAA,CAAeK,GAAG,CAACC,KAAK,CAAC,CAAC;IAC1B,QAAAL,eAAA,GAAO,IAAI,CAACpB,QAAQ,cAAAoB,eAAA,uBAAbA,eAAA,CAAeH,iBAAiB,CAACC,IAAI,CAAC;EAC/C;;EAEA;AACF;AACA;;EAME;AACF;AACA;EACUV,IAAIA,CAAA,EAAG;IACb,IAAI,IAAI,CAAC3B,KAAK,KAAK,YAAY,IAAI,IAAI,CAAC6C,eAAe,GAAG,CAAC,EAAE;MAC3D,IAAI,CAACA,eAAe,GAAG,CAAC;MACxB,IAAI,IAAI,CAACxB,OAAO,EAAE;QAAA,IAAAyB,eAAA;QAChB,MAAMC,OAAO,GAAG,CAAC,GAAG,IAAI,CAACC,QAAQ,CAAC;QAClC,IAAI,CAACA,QAAQ,GAAG,EAAE;QAClB,MAAMvC,MAAM,GAAG,IAAI,CAACY,OAAQ;QAC5BZ,MAAM,CAAC+B,KAAK,CAACS,YAAY,CAACC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;QACzCzC,MAAM,CAAC0C,IAAI,CAAC,CAAC;QACb1C,MAAM,CAAC2C,KAAK,CAACrE,EAAE,EAAEA,EAAE,CAAC;QACpB,IAAI,CAAC2D,cAAc,CAACjC,MAAM,EAAEsC,OAAO,CAAC;QACpCtC,MAAM,CAAC4C,OAAO,CAAC,CAAC;QAChB,CAAAP,eAAA,OAAI,CAAC3B,QAAQ,cAAA2B,eAAA,eAAbA,eAAA,CAAeH,GAAG,CAACC,KAAK,CAAC,CAAC;MAC5B;IACF;IACA,IAAI,CAACb,SAAS,GAAGuB,qBAAqB,CAAC,IAAI,CAAC3B,IAAI,CAACvE,IAAI,CAAC,IAAI,CAAC,CAAC;EAC9D;EAEOmE,MAAMA,CAAA,EAAG;IACd,IAAI,CAACsB,eAAe,EAAE;EACxB;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACSU,WAAWA,CAACtD,IAAc,EAAE;IACjC,IAAI,CAACD,KAAK,GAAGC,IAAI;IACjB,IAAI,CAAC0B,IAAI,CAAC,CAAC;EACb;EAEQ6B,gBAAgBA,CAAClD,GAAiB,EAAEmD,SAAoB,EAAE;IAChE,IAAI,CAACT,QAAQ,CAACU,IAAI,CAAC;MACjBC,EAAE,EAAErD,GAAG,CAACsD,SAAS;MACjBC,CAAC,EAAEvD,GAAG,CAACwD,OAAO,GAAGxD,GAAG,CAACyD,aAAa,CAACC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAACC,IAAI;MAC3DC,CAAC,EAAE5D,GAAG,CAAC6D,OAAO,GAAG7D,GAAG,CAACyD,aAAa,CAACC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAACI,GAAG;MAC1DC,KAAK,EAAE/D,GAAG,CAACgE,QAAQ;MACnBC,IAAI,EAAEd,SAAS;MACfe,SAAS,EAAEC,IAAI,CAACC,GAAG,CAAC;IACtB,CAAC,CAAC;IACF,IAAI,CAACnD,MAAM,CAAC,CAAC;EACf;EAEA9B,kBAAkBA,CAACgE,SAAoB,EAAE;IACvC,OAAQnD,GAAiB,IAAK,IAAI,CAACkD,gBAAgB,CAAClD,GAAG,EAAEmD,SAAS,CAAC;EACrE;EAQAkB,MAAMA,CAAA,EAAG;IACP,MAAM;MAAE1E,IAAI;MAAE2E,KAAK,GAAG,KAAK;MAAE,GAAGC;IAAU,CAAC,GAAG,IAAI,CAACvF,KAAK;IACxD,oBACE9C,MAAA,CAAAQ,OAAA,CAAA8H,aAAA,CAAClI,SAAA,CAAAoC,QAAQ,CAAC+F,IAAI,EAAA9H,QAAA,KAAK4H,SAAS;MAAErD,QAAQ,EAAE,IAAI,CAACA;IAAS,iBACpDhF,MAAA,CAAAQ,OAAA,CAAA8H,aAAA;MACEnC,GAAG,EAAE,IAAI,CAACjC,UAAW;MACrBsE,KAAK,EAAE;QAAEC,OAAO,EAAE,MAAM;QAAEC,IAAI,EAAE;MAAE,CAAE;MACpCC,aAAa,EAAE,IAAI,CAACC,OAAQ;MAC5BC,aAAa,EAAE,IAAI,CAACC,QAAS;MAC7BC,WAAW,EAAE,IAAI,CAACC,KAAM;MACxBC,eAAe,EAAE,IAAI,CAACC,QAAS;MAC/BC,cAAc,EAAE,IAAI,CAACH,KAAM;MAC3BI,YAAY,EAAE,IAAI,CAACJ;IAAM,CAC1B,CACY,CAAC;EAEpB;AACF;AAACK,OAAA,CAAA3G,eAAA,GAAAA,eAAA"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import type { SkRect } from "../skia/types";
|
3
|
+
import type { SkiaDomViewProps } from "./types";
|
4
|
+
export declare class SkiaDomView extends React.Component<SkiaDomViewProps> {
|
5
|
+
constructor(props: SkiaDomViewProps);
|
6
|
+
private _nativeId;
|
7
|
+
get nativeId(): number;
|
8
|
+
componentDidUpdate(prevProps: SkiaDomViewProps): void;
|
9
|
+
/**
|
10
|
+
* Creates a snapshot from the canvas in the surface
|
11
|
+
* @param rect Rect to use as bounds. Optional.
|
12
|
+
* @returns An Image object.
|
13
|
+
*/
|
14
|
+
makeImageSnapshot(rect?: SkRect): import("../skia/types").SkImage;
|
15
|
+
/**
|
16
|
+
* Creates a snapshot from the canvas in the surface
|
17
|
+
* @param rect Rect to use as bounds. Optional.
|
18
|
+
* @returns An Image object.
|
19
|
+
*/
|
20
|
+
makeImageSnapshotAsync(rect?: SkRect): Promise<import("../skia/types").SkImage>;
|
21
|
+
/**
|
22
|
+
* Sends a redraw request to the native SkiaView.
|
23
|
+
*/
|
24
|
+
redraw(): void;
|
25
|
+
/**
|
26
|
+
* Clear up the dom node when unmounting to release resources.
|
27
|
+
*/
|
28
|
+
componentWillUnmount(): void;
|
29
|
+
render(): React.JSX.Element;
|
30
|
+
}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.SkiaDomView = void 0;
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
8
|
+
var _Platform = require("../Platform");
|
9
|
+
var _SkiaDomViewNativeComponent = _interopRequireDefault(require("../specs/SkiaDomViewNativeComponent"));
|
10
|
+
var _api = require("./api");
|
11
|
+
var _SkiaViewNativeId = require("./SkiaViewNativeId");
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
13
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
14
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
15
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
16
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
17
|
+
const NativeSkiaDomView = _Platform.Platform.OS !== "web" ? _SkiaDomViewNativeComponent.default :
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
19
|
+
null;
|
20
|
+
class SkiaDomView extends _react.default.Component {
|
21
|
+
constructor(props) {
|
22
|
+
super(props);
|
23
|
+
_defineProperty(this, "_nativeId", void 0);
|
24
|
+
this._nativeId = _SkiaViewNativeId.SkiaViewNativeId.current++;
|
25
|
+
const {
|
26
|
+
root,
|
27
|
+
onTouch,
|
28
|
+
onSize
|
29
|
+
} = props;
|
30
|
+
if (root) {
|
31
|
+
assertSkiaViewApi();
|
32
|
+
_api.SkiaViewApi.setJsiProperty(this._nativeId, "root", root);
|
33
|
+
}
|
34
|
+
if (onTouch) {
|
35
|
+
assertSkiaViewApi();
|
36
|
+
console.warn(`The onTouch property is deprecated and will be removed in the next Skia release.
|
37
|
+
See: https://shopify.github.io/react-native-skia/docs/animations/gestures`);
|
38
|
+
_api.SkiaViewApi.setJsiProperty(this._nativeId, "onTouch", onTouch);
|
39
|
+
}
|
40
|
+
if (onSize) {
|
41
|
+
assertSkiaViewApi();
|
42
|
+
_api.SkiaViewApi.setJsiProperty(this._nativeId, "onSize", onSize);
|
43
|
+
}
|
44
|
+
}
|
45
|
+
get nativeId() {
|
46
|
+
return this._nativeId;
|
47
|
+
}
|
48
|
+
componentDidUpdate(prevProps) {
|
49
|
+
const {
|
50
|
+
root,
|
51
|
+
onTouch,
|
52
|
+
onSize
|
53
|
+
} = this.props;
|
54
|
+
if (root !== prevProps.root) {
|
55
|
+
assertSkiaViewApi();
|
56
|
+
_api.SkiaViewApi.setJsiProperty(this._nativeId, "root", root);
|
57
|
+
}
|
58
|
+
if (onTouch !== prevProps.onTouch) {
|
59
|
+
assertSkiaViewApi();
|
60
|
+
_api.SkiaViewApi.setJsiProperty(this._nativeId, "onTouch", onTouch);
|
61
|
+
}
|
62
|
+
if (onSize !== prevProps.onSize) {
|
63
|
+
assertSkiaViewApi();
|
64
|
+
_api.SkiaViewApi.setJsiProperty(this._nativeId, "onSize", onSize);
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Creates a snapshot from the canvas in the surface
|
70
|
+
* @param rect Rect to use as bounds. Optional.
|
71
|
+
* @returns An Image object.
|
72
|
+
*/
|
73
|
+
makeImageSnapshot(rect) {
|
74
|
+
assertSkiaViewApi();
|
75
|
+
return _api.SkiaViewApi.makeImageSnapshot(this._nativeId, rect);
|
76
|
+
}
|
77
|
+
|
78
|
+
/**
|
79
|
+
* Creates a snapshot from the canvas in the surface
|
80
|
+
* @param rect Rect to use as bounds. Optional.
|
81
|
+
* @returns An Image object.
|
82
|
+
*/
|
83
|
+
makeImageSnapshotAsync(rect) {
|
84
|
+
assertSkiaViewApi();
|
85
|
+
return _api.SkiaViewApi.makeImageSnapshotAsync(this._nativeId, rect);
|
86
|
+
}
|
87
|
+
|
88
|
+
/**
|
89
|
+
* Sends a redraw request to the native SkiaView.
|
90
|
+
*/
|
91
|
+
redraw() {
|
92
|
+
assertSkiaViewApi();
|
93
|
+
_api.SkiaViewApi.requestRedraw(this._nativeId);
|
94
|
+
}
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Clear up the dom node when unmounting to release resources.
|
98
|
+
*/
|
99
|
+
componentWillUnmount() {
|
100
|
+
assertSkiaViewApi();
|
101
|
+
_api.SkiaViewApi.setJsiProperty(this._nativeId, "root", null);
|
102
|
+
}
|
103
|
+
render() {
|
104
|
+
const {
|
105
|
+
mode,
|
106
|
+
debug = false,
|
107
|
+
...viewProps
|
108
|
+
} = this.props;
|
109
|
+
return /*#__PURE__*/_react.default.createElement(NativeSkiaDomView, _extends({
|
110
|
+
collapsable: false,
|
111
|
+
nativeID: `${this._nativeId}`,
|
112
|
+
mode: mode,
|
113
|
+
debug: debug
|
114
|
+
}, viewProps));
|
115
|
+
}
|
116
|
+
}
|
117
|
+
exports.SkiaDomView = SkiaDomView;
|
118
|
+
const assertSkiaViewApi = () => {
|
119
|
+
if (_api.SkiaViewApi === null || _api.SkiaViewApi.setJsiProperty === null || _api.SkiaViewApi.requestRedraw === null || _api.SkiaViewApi.makeImageSnapshot === null) {
|
120
|
+
throw Error("Skia View Api was not found.");
|
121
|
+
}
|
122
|
+
};
|
123
|
+
//# sourceMappingURL=SkiaDomView.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_Platform","_SkiaDomViewNativeComponent","_api","_SkiaViewNativeId","obj","__esModule","default","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_defineProperty","value","_toPropertyKey","defineProperty","enumerable","configurable","writable","t","_toPrimitive","String","r","e","Symbol","toPrimitive","TypeError","Number","NativeSkiaDomView","Platform","OS","SkiaDomViewNativeComponent","SkiaDomView","React","Component","constructor","props","_nativeId","SkiaViewNativeId","current","root","onTouch","onSize","assertSkiaViewApi","SkiaViewApi","setJsiProperty","console","warn","nativeId","componentDidUpdate","prevProps","makeImageSnapshot","rect","makeImageSnapshotAsync","redraw","requestRedraw","componentWillUnmount","render","mode","debug","viewProps","createElement","collapsable","nativeID","exports","Error"],"sources":["SkiaDomView.tsx"],"sourcesContent":["import React from \"react\";\nimport type { HostComponent } from \"react-native\";\n\nimport type { SkRect } from \"../skia/types\";\nimport { Platform } from \"../Platform\";\nimport SkiaDomViewNativeComponent from \"../specs/SkiaDomViewNativeComponent\";\n\nimport { SkiaViewApi } from \"./api\";\nimport type { SkiaDomViewProps } from \"./types\";\nimport { SkiaViewNativeId } from \"./SkiaViewNativeId\";\n\nconst NativeSkiaDomView: HostComponent<SkiaDomViewProps> =\n Platform.OS !== \"web\"\n ? SkiaDomViewNativeComponent\n : // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (null as any);\n\nexport class SkiaDomView extends React.Component<SkiaDomViewProps> {\n constructor(props: SkiaDomViewProps) {\n super(props);\n this._nativeId = SkiaViewNativeId.current++;\n const { root, onTouch, onSize } = props;\n if (root) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"root\", root);\n }\n if (onTouch) {\n assertSkiaViewApi();\n console.warn(\n `The onTouch property is deprecated and will be removed in the next Skia release.\nSee: https://shopify.github.io/react-native-skia/docs/animations/gestures`\n );\n SkiaViewApi.setJsiProperty(this._nativeId, \"onTouch\", onTouch);\n }\n if (onSize) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onSize\", onSize);\n }\n }\n\n private _nativeId: number;\n\n public get nativeId() {\n return this._nativeId;\n }\n\n componentDidUpdate(prevProps: SkiaDomViewProps) {\n const { root, onTouch, onSize } = this.props;\n if (root !== prevProps.root) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"root\", root);\n }\n if (onTouch !== prevProps.onTouch) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onTouch\", onTouch);\n }\n if (onSize !== prevProps.onSize) {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"onSize\", onSize);\n }\n }\n\n /**\n * Creates a snapshot from the canvas in the surface\n * @param rect Rect to use as bounds. Optional.\n * @returns An Image object.\n */\n public makeImageSnapshot(rect?: SkRect) {\n assertSkiaViewApi();\n return SkiaViewApi.makeImageSnapshot(this._nativeId, rect);\n }\n\n /**\n * Creates a snapshot from the canvas in the surface\n * @param rect Rect to use as bounds. Optional.\n * @returns An Image object.\n */\n public makeImageSnapshotAsync(rect?: SkRect) {\n assertSkiaViewApi();\n return SkiaViewApi.makeImageSnapshotAsync(this._nativeId, rect);\n }\n\n /**\n * Sends a redraw request to the native SkiaView.\n */\n public redraw() {\n assertSkiaViewApi();\n SkiaViewApi.requestRedraw(this._nativeId);\n }\n\n /**\n * Clear up the dom node when unmounting to release resources.\n */\n componentWillUnmount(): void {\n assertSkiaViewApi();\n SkiaViewApi.setJsiProperty(this._nativeId, \"root\", null);\n }\n\n render() {\n const { mode, debug = false, ...viewProps } = this.props;\n return (\n <NativeSkiaDomView\n collapsable={false}\n nativeID={`${this._nativeId}`}\n mode={mode}\n debug={debug}\n {...viewProps}\n />\n );\n }\n}\n\nconst assertSkiaViewApi = () => {\n if (\n SkiaViewApi === null ||\n SkiaViewApi.setJsiProperty === null ||\n SkiaViewApi.requestRedraw === null ||\n SkiaViewApi.makeImageSnapshot === null\n ) {\n throw Error(\"Skia View Api was not found.\");\n }\n};\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAIA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,2BAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEA,IAAAG,IAAA,GAAAH,OAAA;AAEA,IAAAI,iBAAA,GAAAJ,OAAA;AAAsD,SAAAD,uBAAAM,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAAA,KAAAL,MAAA,CAAAK,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAL,MAAA,YAAAJ,QAAA,CAAAa,KAAA,OAAAP,SAAA;AAAA,SAAAQ,gBAAAjB,GAAA,EAAAY,GAAA,EAAAM,KAAA,IAAAN,GAAA,GAAAO,cAAA,CAAAP,GAAA,OAAAA,GAAA,IAAAZ,GAAA,IAAAI,MAAA,CAAAgB,cAAA,CAAApB,GAAA,EAAAY,GAAA,IAAAM,KAAA,EAAAA,KAAA,EAAAG,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAvB,GAAA,CAAAY,GAAA,IAAAM,KAAA,WAAAlB,GAAA;AAAA,SAAAmB,eAAAK,CAAA,QAAAhB,CAAA,GAAAiB,YAAA,CAAAD,CAAA,uCAAAhB,CAAA,GAAAA,CAAA,GAAAkB,MAAA,CAAAlB,CAAA;AAAA,SAAAiB,aAAAD,CAAA,EAAAG,CAAA,2BAAAH,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAI,CAAA,GAAAJ,CAAA,CAAAK,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAApB,CAAA,GAAAoB,CAAA,CAAAb,IAAA,CAAAS,CAAA,EAAAG,CAAA,uCAAAnB,CAAA,SAAAA,CAAA,YAAAuB,SAAA,yEAAAJ,CAAA,GAAAD,MAAA,GAAAM,MAAA,EAAAR,CAAA;AAEtD,MAAMS,iBAAkD,GACtDC,kBAAQ,CAACC,EAAE,KAAK,KAAK,GACjBC,mCAA0B;AAC1B;AACC,IAAY;AAEZ,MAAMC,WAAW,SAASC,cAAK,CAACC,SAAS,CAAmB;EACjEC,WAAWA,CAACC,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,CAAC;IAACxB,eAAA;IACb,IAAI,CAACyB,SAAS,GAAGC,kCAAgB,CAACC,OAAO,EAAE;IAC3C,MAAM;MAAEC,IAAI;MAAEC,OAAO;MAAEC;IAAO,CAAC,GAAGN,KAAK;IACvC,IAAII,IAAI,EAAE;MACRG,iBAAiB,CAAC,CAAC;MACnBC,gBAAW,CAACC,cAAc,CAAC,IAAI,CAACR,SAAS,EAAE,MAAM,EAAEG,IAAI,CAAC;IAC1D;IACA,IAAIC,OAAO,EAAE;MACXE,iBAAiB,CAAC,CAAC;MACnBG,OAAO,CAACC,IAAI,CACT;AACT,0EACM,CAAC;MACDH,gBAAW,CAACC,cAAc,CAAC,IAAI,CAACR,SAAS,EAAE,SAAS,EAAEI,OAAO,CAAC;IAChE;IACA,IAAIC,MAAM,EAAE;MACVC,iBAAiB,CAAC,CAAC;MACnBC,gBAAW,CAACC,cAAc,CAAC,IAAI,CAACR,SAAS,EAAE,QAAQ,EAAEK,MAAM,CAAC;IAC9D;EACF;EAIA,IAAWM,QAAQA,CAAA,EAAG;IACpB,OAAO,IAAI,CAACX,SAAS;EACvB;EAEAY,kBAAkBA,CAACC,SAA2B,EAAE;IAC9C,MAAM;MAAEV,IAAI;MAAEC,OAAO;MAAEC;IAAO,CAAC,GAAG,IAAI,CAACN,KAAK;IAC5C,IAAII,IAAI,KAAKU,SAAS,CAACV,IAAI,EAAE;MAC3BG,iBAAiB,CAAC,CAAC;MACnBC,gBAAW,CAACC,cAAc,CAAC,IAAI,CAACR,SAAS,EAAE,MAAM,EAAEG,IAAI,CAAC;IAC1D;IACA,IAAIC,OAAO,KAAKS,SAAS,CAACT,OAAO,EAAE;MACjCE,iBAAiB,CAAC,CAAC;MACnBC,gBAAW,CAACC,cAAc,CAAC,IAAI,CAACR,SAAS,EAAE,SAAS,EAAEI,OAAO,CAAC;IAChE;IACA,IAAIC,MAAM,KAAKQ,SAAS,CAACR,MAAM,EAAE;MAC/BC,iBAAiB,CAAC,CAAC;MACnBC,gBAAW,CAACC,cAAc,CAAC,IAAI,CAACR,SAAS,EAAE,QAAQ,EAAEK,MAAM,CAAC;IAC9D;EACF;;EAEA;AACF;AACA;AACA;AACA;EACSS,iBAAiBA,CAACC,IAAa,EAAE;IACtCT,iBAAiB,CAAC,CAAC;IACnB,OAAOC,gBAAW,CAACO,iBAAiB,CAAC,IAAI,CAACd,SAAS,EAAEe,IAAI,CAAC;EAC5D;;EAEA;AACF;AACA;AACA;AACA;EACSC,sBAAsBA,CAACD,IAAa,EAAE;IAC3CT,iBAAiB,CAAC,CAAC;IACnB,OAAOC,gBAAW,CAACS,sBAAsB,CAAC,IAAI,CAAChB,SAAS,EAAEe,IAAI,CAAC;EACjE;;EAEA;AACF;AACA;EACSE,MAAMA,CAAA,EAAG;IACdX,iBAAiB,CAAC,CAAC;IACnBC,gBAAW,CAACW,aAAa,CAAC,IAAI,CAAClB,SAAS,CAAC;EAC3C;;EAEA;AACF;AACA;EACEmB,oBAAoBA,CAAA,EAAS;IAC3Bb,iBAAiB,CAAC,CAAC;IACnBC,gBAAW,CAACC,cAAc,CAAC,IAAI,CAACR,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC;EAC1D;EAEAoB,MAAMA,CAAA,EAAG;IACP,MAAM;MAAEC,IAAI;MAAEC,KAAK,GAAG,KAAK;MAAE,GAAGC;IAAU,CAAC,GAAG,IAAI,CAACxB,KAAK;IACxD,oBACEhD,MAAA,CAAAS,OAAA,CAAAgE,aAAA,CAACjC,iBAAiB,EAAA9B,QAAA;MAChBgE,WAAW,EAAE,KAAM;MACnBC,QAAQ,EAAG,GAAE,IAAI,CAAC1B,SAAU,EAAE;MAC9BqB,IAAI,EAAEA,IAAK;MACXC,KAAK,EAAEA;IAAM,GACTC,SAAS,CACd,CAAC;EAEN;AACF;AAACI,OAAA,CAAAhC,WAAA,GAAAA,WAAA;AAED,MAAMW,iBAAiB,GAAGA,CAAA,KAAM;EAC9B,IACEC,gBAAW,KAAK,IAAI,IACpBA,gBAAW,CAACC,cAAc,KAAK,IAAI,IACnCD,gBAAW,CAACW,aAAa,KAAK,IAAI,IAClCX,gBAAW,CAACO,iBAAiB,KAAK,IAAI,EACtC;IACA,MAAMc,KAAK,CAAC,8BAA8B,CAAC;EAC7C;AACF,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { SkCanvas } from "../skia/types";
|
2
|
+
import { SkiaBaseWebView } from "./SkiaBaseWebView";
|
3
|
+
import type { SkiaDomViewProps, TouchInfo } from "./types";
|
4
|
+
export declare class SkiaDomView extends SkiaBaseWebView<SkiaDomViewProps> {
|
5
|
+
constructor(props: SkiaDomViewProps);
|
6
|
+
protected renderInCanvas(canvas: SkCanvas, touches: TouchInfo[]): void;
|
7
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.SkiaDomView = void 0;
|
7
|
+
var _skia = require("../skia");
|
8
|
+
var _DrawingContext = require("../dom/types/DrawingContext");
|
9
|
+
var _SkiaBaseWebView = require("./SkiaBaseWebView");
|
10
|
+
class SkiaDomView extends _SkiaBaseWebView.SkiaBaseWebView {
|
11
|
+
constructor(props) {
|
12
|
+
super(props);
|
13
|
+
}
|
14
|
+
renderInCanvas(canvas, touches) {
|
15
|
+
if (this.props.onTouch) {
|
16
|
+
console.warn(`The onTouch property is deprecated and will be removed in the next Skia release.
|
17
|
+
See: https://shopify.github.io/react-native-skia/docs/animations/gestures`);
|
18
|
+
this.props.onTouch([touches]);
|
19
|
+
}
|
20
|
+
if (this.props.onSize) {
|
21
|
+
const {
|
22
|
+
width,
|
23
|
+
height
|
24
|
+
} = this.getSize();
|
25
|
+
this.props.onSize.value = {
|
26
|
+
width,
|
27
|
+
height
|
28
|
+
};
|
29
|
+
}
|
30
|
+
if (this.props.root) {
|
31
|
+
const ctx = new _DrawingContext.JsiDrawingContext(_skia.Skia, canvas);
|
32
|
+
this.props.root.render(ctx);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
exports.SkiaDomView = SkiaDomView;
|
37
|
+
//# sourceMappingURL=SkiaDomView.web.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_skia","require","_DrawingContext","_SkiaBaseWebView","SkiaDomView","SkiaBaseWebView","constructor","props","renderInCanvas","canvas","touches","onTouch","console","warn","onSize","width","height","getSize","value","root","ctx","JsiDrawingContext","Skia","render","exports"],"sources":["SkiaDomView.web.tsx"],"sourcesContent":["import { Skia } from \"../skia\";\nimport type { SkCanvas } from \"../skia/types\";\nimport { JsiDrawingContext } from \"../dom/types/DrawingContext\";\n\nimport { SkiaBaseWebView } from \"./SkiaBaseWebView\";\nimport type { SkiaDomViewProps, TouchInfo } from \"./types\";\n\nexport class SkiaDomView extends SkiaBaseWebView<SkiaDomViewProps> {\n constructor(props: SkiaDomViewProps) {\n super(props);\n }\n\n protected renderInCanvas(canvas: SkCanvas, touches: TouchInfo[]): void {\n if (this.props.onTouch) {\n console.warn(\n `The onTouch property is deprecated and will be removed in the next Skia release.\nSee: https://shopify.github.io/react-native-skia/docs/animations/gestures`\n );\n this.props.onTouch([touches]);\n }\n if (this.props.onSize) {\n const { width, height } = this.getSize();\n this.props.onSize.value = { width, height };\n }\n if (this.props.root) {\n const ctx = new JsiDrawingContext(Skia, canvas);\n this.props.root.render(ctx);\n }\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAD,OAAA;AAEA,IAAAE,gBAAA,GAAAF,OAAA;AAGO,MAAMG,WAAW,SAASC,gCAAe,CAAmB;EACjEC,WAAWA,CAACC,KAAuB,EAAE;IACnC,KAAK,CAACA,KAAK,CAAC;EACd;EAEUC,cAAcA,CAACC,MAAgB,EAAEC,OAAoB,EAAQ;IACrE,IAAI,IAAI,CAACH,KAAK,CAACI,OAAO,EAAE;MACtBC,OAAO,CAACC,IAAI,CACT;AACT,0EACM,CAAC;MACD,IAAI,CAACN,KAAK,CAACI,OAAO,CAAC,CAACD,OAAO,CAAC,CAAC;IAC/B;IACA,IAAI,IAAI,CAACH,KAAK,CAACO,MAAM,EAAE;MACrB,MAAM;QAAEC,KAAK;QAAEC;MAAO,CAAC,GAAG,IAAI,CAACC,OAAO,CAAC,CAAC;MACxC,IAAI,CAACV,KAAK,CAACO,MAAM,CAACI,KAAK,GAAG;QAAEH,KAAK;QAAEC;MAAO,CAAC;IAC7C;IACA,IAAI,IAAI,CAACT,KAAK,CAACY,IAAI,EAAE;MACnB,MAAMC,GAAG,GAAG,IAAIC,iCAAiB,CAACC,UAAI,EAAEb,MAAM,CAAC;MAC/C,IAAI,CAACF,KAAK,CAACY,IAAI,CAACI,MAAM,CAACH,GAAG,CAAC;IAC7B;EACF;AACF;AAACI,OAAA,CAAApB,WAAA,GAAAA,WAAA"}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import type { Skia, SkRect } from "../skia/types";
|
3
|
+
import type { SkiaDomViewProps } from "./types";
|
4
|
+
export declare class SkiaJSDomView extends React.Component<SkiaDomViewProps & {
|
5
|
+
Skia: Skia;
|
6
|
+
}> {
|
7
|
+
constructor(props: SkiaDomViewProps & {
|
8
|
+
Skia: Skia;
|
9
|
+
});
|
10
|
+
private _nativeId;
|
11
|
+
get nativeId(): number;
|
12
|
+
componentDidUpdate(prevProps: SkiaDomViewProps & {
|
13
|
+
Skia: Skia;
|
14
|
+
}): void;
|
15
|
+
/**
|
16
|
+
* Creates a snapshot from the canvas in the surface
|
17
|
+
* @param rect Rect to use as bounds. Optional.
|
18
|
+
* @returns An Image object.
|
19
|
+
*/
|
20
|
+
makeImageSnapshot(rect?: SkRect): import("../skia/types").SkImage;
|
21
|
+
/**
|
22
|
+
* Sends a redraw request to the native SkiaView.
|
23
|
+
*/
|
24
|
+
redraw(): void;
|
25
|
+
private draw;
|
26
|
+
/**
|
27
|
+
* Clear up the dom node when unmounting to release resources.
|
28
|
+
*/
|
29
|
+
componentWillUnmount(): void;
|
30
|
+
render(): React.JSX.Element;
|
31
|
+
}
|