@pompadour/react-native-skia 1.0.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,59 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.JsiSkPathEffectFactory = void 0;
|
7
|
+
var _Host = require("./Host");
|
8
|
+
var _JsiSkMatrix = require("./JsiSkMatrix");
|
9
|
+
var _JsiSkPath = require("./JsiSkPath");
|
10
|
+
var _JsiSkPathEffect = require("./JsiSkPathEffect");
|
11
|
+
class JsiSkPathEffectFactory extends _Host.Host {
|
12
|
+
constructor(CanvasKit) {
|
13
|
+
super(CanvasKit);
|
14
|
+
}
|
15
|
+
MakeCorner(radius) {
|
16
|
+
const pe = this.CanvasKit.PathEffect.MakeCorner(radius);
|
17
|
+
if (pe === null) {
|
18
|
+
return null;
|
19
|
+
}
|
20
|
+
return new _JsiSkPathEffect.JsiSkPathEffect(this.CanvasKit, pe);
|
21
|
+
}
|
22
|
+
MakeDash(intervals, phase) {
|
23
|
+
const pe = this.CanvasKit.PathEffect.MakeDash(intervals, phase);
|
24
|
+
return new _JsiSkPathEffect.JsiSkPathEffect(this.CanvasKit, pe);
|
25
|
+
}
|
26
|
+
MakeDiscrete(segLength, dev, seedAssist) {
|
27
|
+
const pe = this.CanvasKit.PathEffect.MakeDiscrete(segLength, dev, seedAssist);
|
28
|
+
return new _JsiSkPathEffect.JsiSkPathEffect(this.CanvasKit, pe);
|
29
|
+
}
|
30
|
+
MakeCompose(_outer, _inner) {
|
31
|
+
throw new _Host.NotImplementedOnRNWeb();
|
32
|
+
}
|
33
|
+
MakeSum(_outer, _inner) {
|
34
|
+
throw new _Host.NotImplementedOnRNWeb();
|
35
|
+
}
|
36
|
+
MakeLine2D(width, matrix) {
|
37
|
+
const pe = this.CanvasKit.PathEffect.MakeLine2D(width, _JsiSkMatrix.JsiSkMatrix.fromValue(matrix));
|
38
|
+
if (pe === null) {
|
39
|
+
return null;
|
40
|
+
}
|
41
|
+
return new _JsiSkPathEffect.JsiSkPathEffect(this.CanvasKit, pe);
|
42
|
+
}
|
43
|
+
MakePath1D(path, advance, phase, style) {
|
44
|
+
const pe = this.CanvasKit.PathEffect.MakePath1D(_JsiSkPath.JsiSkPath.fromValue(path), advance, phase, (0, _Host.getEnum)(this.CanvasKit.Path1DEffect, style));
|
45
|
+
if (pe === null) {
|
46
|
+
return null;
|
47
|
+
}
|
48
|
+
return new _JsiSkPathEffect.JsiSkPathEffect(this.CanvasKit, pe);
|
49
|
+
}
|
50
|
+
MakePath2D(matrix, path) {
|
51
|
+
const pe = this.CanvasKit.PathEffect.MakePath2D(_JsiSkMatrix.JsiSkMatrix.fromValue(matrix), _JsiSkPath.JsiSkPath.fromValue(path));
|
52
|
+
if (pe === null) {
|
53
|
+
return null;
|
54
|
+
}
|
55
|
+
return new _JsiSkPathEffect.JsiSkPathEffect(this.CanvasKit, pe);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
exports.JsiSkPathEffectFactory = JsiSkPathEffectFactory;
|
59
|
+
//# sourceMappingURL=JsiSkPathEffectFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkMatrix","_JsiSkPath","_JsiSkPathEffect","JsiSkPathEffectFactory","Host","constructor","CanvasKit","MakeCorner","radius","pe","PathEffect","JsiSkPathEffect","MakeDash","intervals","phase","MakeDiscrete","segLength","dev","seedAssist","MakeCompose","_outer","_inner","NotImplementedOnRNWeb","MakeSum","MakeLine2D","width","matrix","JsiSkMatrix","fromValue","MakePath1D","path","advance","style","JsiSkPath","getEnum","Path1DEffect","MakePath2D","exports"],"sources":["JsiSkPathEffectFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type {\n Path1DEffectStyle,\n PathEffectFactory,\n SkMatrix,\n SkPath,\n SkPathEffect,\n} from \"../types\";\n\nimport { getEnum, Host, NotImplementedOnRNWeb } from \"./Host\";\nimport { JsiSkMatrix } from \"./JsiSkMatrix\";\nimport { JsiSkPath } from \"./JsiSkPath\";\nimport { JsiSkPathEffect } from \"./JsiSkPathEffect\";\n\nexport class JsiSkPathEffectFactory extends Host implements PathEffectFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakeCorner(radius: number) {\n const pe = this.CanvasKit.PathEffect.MakeCorner(radius);\n if (pe === null) {\n return null;\n }\n return new JsiSkPathEffect(this.CanvasKit, pe);\n }\n\n MakeDash(intervals: number[], phase?: number) {\n const pe = this.CanvasKit.PathEffect.MakeDash(intervals, phase);\n return new JsiSkPathEffect(this.CanvasKit, pe);\n }\n\n MakeDiscrete(segLength: number, dev: number, seedAssist: number) {\n const pe = this.CanvasKit.PathEffect.MakeDiscrete(\n segLength,\n dev,\n seedAssist\n );\n return new JsiSkPathEffect(this.CanvasKit, pe);\n }\n\n MakeCompose(_outer: SkPathEffect, _inner: SkPathEffect): SkPathEffect {\n throw new NotImplementedOnRNWeb();\n }\n\n MakeSum(_outer: SkPathEffect, _inner: SkPathEffect): SkPathEffect {\n throw new NotImplementedOnRNWeb();\n }\n\n MakeLine2D(width: number, matrix: SkMatrix) {\n const pe = this.CanvasKit.PathEffect.MakeLine2D(\n width,\n JsiSkMatrix.fromValue(matrix)\n );\n if (pe === null) {\n return null;\n }\n return new JsiSkPathEffect(this.CanvasKit, pe);\n }\n\n MakePath1D(\n path: SkPath,\n advance: number,\n phase: number,\n style: Path1DEffectStyle\n ) {\n const pe = this.CanvasKit.PathEffect.MakePath1D(\n JsiSkPath.fromValue(path),\n advance,\n phase,\n getEnum(this.CanvasKit.Path1DEffect, style)\n );\n if (pe === null) {\n return null;\n }\n return new JsiSkPathEffect(this.CanvasKit, pe);\n }\n\n MakePath2D(matrix: SkMatrix, path: SkPath) {\n const pe = this.CanvasKit.PathEffect.MakePath2D(\n JsiSkMatrix.fromValue(matrix),\n JsiSkPath.fromValue(path)\n );\n if (pe === null) {\n return null;\n }\n return new JsiSkPathEffect(this.CanvasKit, pe);\n }\n}\n"],"mappings":";;;;;;AAUA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AAEO,MAAMI,sBAAsB,SAASC,UAAI,CAA8B;EAC5EC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,UAAUA,CAACC,MAAc,EAAE;IACzB,MAAMC,EAAE,GAAG,IAAI,CAACH,SAAS,CAACI,UAAU,CAACH,UAAU,CAACC,MAAM,CAAC;IACvD,IAAIC,EAAE,KAAK,IAAI,EAAE;MACf,OAAO,IAAI;IACb;IACA,OAAO,IAAIE,gCAAe,CAAC,IAAI,CAACL,SAAS,EAAEG,EAAE,CAAC;EAChD;EAEAG,QAAQA,CAACC,SAAmB,EAAEC,KAAc,EAAE;IAC5C,MAAML,EAAE,GAAG,IAAI,CAACH,SAAS,CAACI,UAAU,CAACE,QAAQ,CAACC,SAAS,EAAEC,KAAK,CAAC;IAC/D,OAAO,IAAIH,gCAAe,CAAC,IAAI,CAACL,SAAS,EAAEG,EAAE,CAAC;EAChD;EAEAM,YAAYA,CAACC,SAAiB,EAAEC,GAAW,EAAEC,UAAkB,EAAE;IAC/D,MAAMT,EAAE,GAAG,IAAI,CAACH,SAAS,CAACI,UAAU,CAACK,YAAY,CAC/CC,SAAS,EACTC,GAAG,EACHC,UACF,CAAC;IACD,OAAO,IAAIP,gCAAe,CAAC,IAAI,CAACL,SAAS,EAAEG,EAAE,CAAC;EAChD;EAEAU,WAAWA,CAACC,MAAoB,EAAEC,MAAoB,EAAgB;IACpE,MAAM,IAAIC,2BAAqB,CAAC,CAAC;EACnC;EAEAC,OAAOA,CAACH,MAAoB,EAAEC,MAAoB,EAAgB;IAChE,MAAM,IAAIC,2BAAqB,CAAC,CAAC;EACnC;EAEAE,UAAUA,CAACC,KAAa,EAAEC,MAAgB,EAAE;IAC1C,MAAMjB,EAAE,GAAG,IAAI,CAACH,SAAS,CAACI,UAAU,CAACc,UAAU,CAC7CC,KAAK,EACLE,wBAAW,CAACC,SAAS,CAACF,MAAM,CAC9B,CAAC;IACD,IAAIjB,EAAE,KAAK,IAAI,EAAE;MACf,OAAO,IAAI;IACb;IACA,OAAO,IAAIE,gCAAe,CAAC,IAAI,CAACL,SAAS,EAAEG,EAAE,CAAC;EAChD;EAEAoB,UAAUA,CACRC,IAAY,EACZC,OAAe,EACfjB,KAAa,EACbkB,KAAwB,EACxB;IACA,MAAMvB,EAAE,GAAG,IAAI,CAACH,SAAS,CAACI,UAAU,CAACmB,UAAU,CAC7CI,oBAAS,CAACL,SAAS,CAACE,IAAI,CAAC,EACzBC,OAAO,EACPjB,KAAK,EACL,IAAAoB,aAAO,EAAC,IAAI,CAAC5B,SAAS,CAAC6B,YAAY,EAAEH,KAAK,CAC5C,CAAC;IACD,IAAIvB,EAAE,KAAK,IAAI,EAAE;MACf,OAAO,IAAI;IACb;IACA,OAAO,IAAIE,gCAAe,CAAC,IAAI,CAACL,SAAS,EAAEG,EAAE,CAAC;EAChD;EAEA2B,UAAUA,CAACV,MAAgB,EAAEI,IAAY,EAAE;IACzC,MAAMrB,EAAE,GAAG,IAAI,CAACH,SAAS,CAACI,UAAU,CAAC0B,UAAU,CAC7CT,wBAAW,CAACC,SAAS,CAACF,MAAM,CAAC,EAC7BO,oBAAS,CAACL,SAAS,CAACE,IAAI,CAC1B,CAAC;IACD,IAAIrB,EAAE,KAAK,IAAI,EAAE;MACf,OAAO,IAAI;IACb;IACA,OAAO,IAAIE,gCAAe,CAAC,IAAI,CAACL,SAAS,EAAEG,EAAE,CAAC;EAChD;AACF;AAAC4B,OAAA,CAAAlC,sBAAA,GAAAA,sBAAA"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { CanvasKit } from "canvaskit-wasm";
|
2
|
+
import type { PathCommand, PathOp, SkFont, SkPath } from "../types";
|
3
|
+
import type { PathFactory } from "../types/Path/PathFactory";
|
4
|
+
import { Host } from "./Host";
|
5
|
+
import { JsiSkPath } from "./JsiSkPath";
|
6
|
+
export declare class JsiSkPathFactory extends Host implements PathFactory {
|
7
|
+
constructor(CanvasKit: CanvasKit);
|
8
|
+
Make(): JsiSkPath;
|
9
|
+
MakeFromSVGString(str: string): JsiSkPath | null;
|
10
|
+
MakeFromOp(one: SkPath, two: SkPath, op: PathOp): JsiSkPath | null;
|
11
|
+
MakeFromCmds(cmds: PathCommand[]): JsiSkPath | null;
|
12
|
+
MakeFromText(_text: string, _x: number, _y: number, _font: SkFont): SkPath | null;
|
13
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.JsiSkPathFactory = void 0;
|
7
|
+
var _Host = require("./Host");
|
8
|
+
var _JsiSkPath = require("./JsiSkPath");
|
9
|
+
class JsiSkPathFactory extends _Host.Host {
|
10
|
+
constructor(CanvasKit) {
|
11
|
+
super(CanvasKit);
|
12
|
+
}
|
13
|
+
Make() {
|
14
|
+
return new _JsiSkPath.JsiSkPath(this.CanvasKit, new this.CanvasKit.Path());
|
15
|
+
}
|
16
|
+
MakeFromSVGString(str) {
|
17
|
+
const path = this.CanvasKit.Path.MakeFromSVGString(str);
|
18
|
+
if (path === null) {
|
19
|
+
return null;
|
20
|
+
}
|
21
|
+
return new _JsiSkPath.JsiSkPath(this.CanvasKit, path);
|
22
|
+
}
|
23
|
+
MakeFromOp(one, two, op) {
|
24
|
+
const path = this.CanvasKit.Path.MakeFromOp(_JsiSkPath.JsiSkPath.fromValue(one), _JsiSkPath.JsiSkPath.fromValue(two), (0, _Host.getEnum)(this.CanvasKit.PathOp, op));
|
25
|
+
if (path === null) {
|
26
|
+
return null;
|
27
|
+
}
|
28
|
+
return new _JsiSkPath.JsiSkPath(this.CanvasKit, path);
|
29
|
+
}
|
30
|
+
MakeFromCmds(cmds) {
|
31
|
+
const path = this.CanvasKit.Path.MakeFromCmds(cmds.flat());
|
32
|
+
if (path === null) {
|
33
|
+
return null;
|
34
|
+
}
|
35
|
+
return new _JsiSkPath.JsiSkPath(this.CanvasKit, path);
|
36
|
+
}
|
37
|
+
MakeFromText(_text, _x, _y, _font) {
|
38
|
+
throw new _Host.NotImplementedOnRNWeb();
|
39
|
+
}
|
40
|
+
}
|
41
|
+
exports.JsiSkPathFactory = JsiSkPathFactory;
|
42
|
+
//# sourceMappingURL=JsiSkPathFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkPath","JsiSkPathFactory","Host","constructor","CanvasKit","Make","JsiSkPath","Path","MakeFromSVGString","str","path","MakeFromOp","one","two","op","fromValue","getEnum","PathOp","MakeFromCmds","cmds","flat","MakeFromText","_text","_x","_y","_font","NotImplementedOnRNWeb","exports"],"sources":["JsiSkPathFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { PathCommand, PathOp, SkFont, SkPath } from \"../types\";\nimport type { PathFactory } from \"../types/Path/PathFactory\";\n\nimport { Host, getEnum, NotImplementedOnRNWeb } from \"./Host\";\nimport { JsiSkPath } from \"./JsiSkPath\";\n\nexport class JsiSkPathFactory extends Host implements PathFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n Make() {\n return new JsiSkPath(this.CanvasKit, new this.CanvasKit.Path());\n }\n\n MakeFromSVGString(str: string) {\n const path = this.CanvasKit.Path.MakeFromSVGString(str);\n if (path === null) {\n return null;\n }\n return new JsiSkPath(this.CanvasKit, path);\n }\n\n MakeFromOp(one: SkPath, two: SkPath, op: PathOp) {\n const path = this.CanvasKit.Path.MakeFromOp(\n JsiSkPath.fromValue(one),\n JsiSkPath.fromValue(two),\n getEnum(this.CanvasKit.PathOp, op)\n );\n if (path === null) {\n return null;\n }\n return new JsiSkPath(this.CanvasKit, path);\n }\n\n MakeFromCmds(cmds: PathCommand[]) {\n const path = this.CanvasKit.Path.MakeFromCmds(cmds.flat());\n if (path === null) {\n return null;\n }\n return new JsiSkPath(this.CanvasKit, path);\n }\n\n MakeFromText(\n _text: string,\n _x: number,\n _y: number,\n _font: SkFont\n ): SkPath | null {\n throw new NotImplementedOnRNWeb();\n }\n}\n"],"mappings":";;;;;;AAKA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEO,MAAME,gBAAgB,SAASC,UAAI,CAAwB;EAChEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,IAAIA,CAAA,EAAG;IACL,OAAO,IAAIC,oBAAS,CAAC,IAAI,CAACF,SAAS,EAAE,IAAI,IAAI,CAACA,SAAS,CAACG,IAAI,CAAC,CAAC,CAAC;EACjE;EAEAC,iBAAiBA,CAACC,GAAW,EAAE;IAC7B,MAAMC,IAAI,GAAG,IAAI,CAACN,SAAS,CAACG,IAAI,CAACC,iBAAiB,CAACC,GAAG,CAAC;IACvD,IAAIC,IAAI,KAAK,IAAI,EAAE;MACjB,OAAO,IAAI;IACb;IACA,OAAO,IAAIJ,oBAAS,CAAC,IAAI,CAACF,SAAS,EAAEM,IAAI,CAAC;EAC5C;EAEAC,UAAUA,CAACC,GAAW,EAAEC,GAAW,EAAEC,EAAU,EAAE;IAC/C,MAAMJ,IAAI,GAAG,IAAI,CAACN,SAAS,CAACG,IAAI,CAACI,UAAU,CACzCL,oBAAS,CAACS,SAAS,CAACH,GAAG,CAAC,EACxBN,oBAAS,CAACS,SAAS,CAACF,GAAG,CAAC,EACxB,IAAAG,aAAO,EAAC,IAAI,CAACZ,SAAS,CAACa,MAAM,EAAEH,EAAE,CACnC,CAAC;IACD,IAAIJ,IAAI,KAAK,IAAI,EAAE;MACjB,OAAO,IAAI;IACb;IACA,OAAO,IAAIJ,oBAAS,CAAC,IAAI,CAACF,SAAS,EAAEM,IAAI,CAAC;EAC5C;EAEAQ,YAAYA,CAACC,IAAmB,EAAE;IAChC,MAAMT,IAAI,GAAG,IAAI,CAACN,SAAS,CAACG,IAAI,CAACW,YAAY,CAACC,IAAI,CAACC,IAAI,CAAC,CAAC,CAAC;IAC1D,IAAIV,IAAI,KAAK,IAAI,EAAE;MACjB,OAAO,IAAI;IACb;IACA,OAAO,IAAIJ,oBAAS,CAAC,IAAI,CAACF,SAAS,EAAEM,IAAI,CAAC;EAC5C;EAEAW,YAAYA,CACVC,KAAa,EACbC,EAAU,EACVC,EAAU,EACVC,KAAa,EACE;IACf,MAAM,IAAIC,2BAAqB,CAAC,CAAC;EACnC;AACF;AAACC,OAAA,CAAA1B,gBAAA,GAAAA,gBAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { CanvasKit, SkPicture as Picture } from "canvaskit-wasm";
|
2
|
+
import type { FilterMode, SkRect, TileMode, SkPicture, SkMatrix } from "../types";
|
3
|
+
import { HostObject } from "./Host";
|
4
|
+
import { JsiSkShader } from "./JsiSkShader";
|
5
|
+
export declare class JsiSkPicture extends HostObject<Picture, "Picture"> implements SkPicture {
|
6
|
+
constructor(CanvasKit: CanvasKit, ref: Picture);
|
7
|
+
dispose: () => void;
|
8
|
+
makeShader(tmx: TileMode, tmy: TileMode, mode: FilterMode, localMatrix?: SkMatrix, tileRect?: SkRect): JsiSkShader;
|
9
|
+
serialize(): Uint8Array | null;
|
10
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.JsiSkPicture = void 0;
|
7
|
+
var _Host = require("./Host");
|
8
|
+
var _JsiSkShader = require("./JsiSkShader");
|
9
|
+
var _JsiSkMatrix = require("./JsiSkMatrix");
|
10
|
+
var _JsiSkRect = require("./JsiSkRect");
|
11
|
+
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; }
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
13
|
+
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); } // TODO: suggest to rename SkPicture to Picture for consistency
|
14
|
+
class JsiSkPicture extends _Host.HostObject {
|
15
|
+
constructor(CanvasKit, ref) {
|
16
|
+
super(CanvasKit, ref, "Picture");
|
17
|
+
_defineProperty(this, "dispose", () => {
|
18
|
+
this.ref.delete();
|
19
|
+
});
|
20
|
+
}
|
21
|
+
makeShader(tmx, tmy, mode, localMatrix, tileRect) {
|
22
|
+
return new _JsiSkShader.JsiSkShader(this.CanvasKit, this.ref.makeShader((0, _Host.getEnum)(this.CanvasKit.TileMode, tmx), (0, _Host.getEnum)(this.CanvasKit.TileMode, tmy), (0, _Host.getEnum)(this.CanvasKit.FilterMode, mode), localMatrix ? _JsiSkMatrix.JsiSkMatrix.fromValue(localMatrix) : undefined, tileRect ? _JsiSkRect.JsiSkRect.fromValue(this.CanvasKit, tileRect) : undefined));
|
23
|
+
}
|
24
|
+
serialize() {
|
25
|
+
return this.ref.serialize();
|
26
|
+
}
|
27
|
+
}
|
28
|
+
exports.JsiSkPicture = JsiSkPicture;
|
29
|
+
//# sourceMappingURL=JsiSkPicture.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkShader","_JsiSkMatrix","_JsiSkRect","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","JsiSkPicture","HostObject","constructor","CanvasKit","ref","delete","makeShader","tmx","tmy","mode","localMatrix","tileRect","JsiSkShader","getEnum","TileMode","FilterMode","JsiSkMatrix","fromValue","undefined","JsiSkRect","serialize","exports"],"sources":["JsiSkPicture.ts"],"sourcesContent":["// TODO: suggest to rename SkPicture to Picture for consistency\nimport type { CanvasKit, SkPicture as Picture } from \"canvaskit-wasm\";\n\nimport type {\n FilterMode,\n SkRect,\n TileMode,\n SkPicture,\n SkMatrix,\n} from \"../types\";\n\nimport { HostObject, getEnum } from \"./Host\";\nimport { JsiSkShader } from \"./JsiSkShader\";\nimport { JsiSkMatrix } from \"./JsiSkMatrix\";\nimport { JsiSkRect } from \"./JsiSkRect\";\n\nexport class JsiSkPicture\n extends HostObject<Picture, \"Picture\">\n implements SkPicture\n{\n constructor(CanvasKit: CanvasKit, ref: Picture) {\n super(CanvasKit, ref, \"Picture\");\n }\n\n dispose = () => {\n this.ref.delete();\n };\n\n makeShader(\n tmx: TileMode,\n tmy: TileMode,\n mode: FilterMode,\n localMatrix?: SkMatrix,\n tileRect?: SkRect\n ) {\n return new JsiSkShader(\n this.CanvasKit,\n this.ref.makeShader(\n getEnum(this.CanvasKit.TileMode, tmx),\n getEnum(this.CanvasKit.TileMode, tmy),\n getEnum(this.CanvasKit.FilterMode, mode),\n localMatrix ? JsiSkMatrix.fromValue(localMatrix) : undefined,\n tileRect ? JsiSkRect.fromValue(this.CanvasKit, tileRect) : undefined\n )\n );\n }\n\n serialize() {\n return this.ref.serialize();\n }\n}\n"],"mappings":";;;;;;AAWA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAAwC,SAAAI,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,CAAA,QAAAC,CAAA,GAAAC,YAAA,CAAAF,CAAA,uCAAAC,CAAA,GAAAA,CAAA,GAAAE,MAAA,CAAAF,CAAA;AAAA,SAAAC,aAAAF,CAAA,EAAAI,CAAA,2BAAAJ,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAK,CAAA,GAAAL,CAAA,CAAAM,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAAJ,CAAA,GAAAI,CAAA,CAAAG,IAAA,CAAAR,CAAA,EAAAI,CAAA,uCAAAH,CAAA,SAAAA,CAAA,YAAAQ,SAAA,yEAAAL,CAAA,GAAAD,MAAA,GAAAO,MAAA,EAAAV,CAAA,KAdxC;AAgBO,MAAMW,YAAY,SACfC,gBAAU,CAEpB;EACEC,WAAWA,CAACC,SAAoB,EAAEC,GAAY,EAAE;IAC9C,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,SAAS,CAAC;IAACzB,eAAA,kBAGzB,MAAM;MACd,IAAI,CAACyB,GAAG,CAACC,MAAM,CAAC,CAAC;IACnB,CAAC;EAJD;EAMAC,UAAUA,CACRC,GAAa,EACbC,GAAa,EACbC,IAAgB,EAChBC,WAAsB,EACtBC,QAAiB,EACjB;IACA,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACT,SAAS,EACd,IAAI,CAACC,GAAG,CAACE,UAAU,CACjB,IAAAO,aAAO,EAAC,IAAI,CAACV,SAAS,CAACW,QAAQ,EAAEP,GAAG,CAAC,EACrC,IAAAM,aAAO,EAAC,IAAI,CAACV,SAAS,CAACW,QAAQ,EAAEN,GAAG,CAAC,EACrC,IAAAK,aAAO,EAAC,IAAI,CAACV,SAAS,CAACY,UAAU,EAAEN,IAAI,CAAC,EACxCC,WAAW,GAAGM,wBAAW,CAACC,SAAS,CAACP,WAAW,CAAC,GAAGQ,SAAS,EAC5DP,QAAQ,GAAGQ,oBAAS,CAACF,SAAS,CAAC,IAAI,CAACd,SAAS,EAAEQ,QAAQ,CAAC,GAAGO,SAC7D,CACF,CAAC;EACH;EAEAE,SAASA,CAAA,EAAG;IACV,OAAO,IAAI,CAAChB,GAAG,CAACgB,SAAS,CAAC,CAAC;EAC7B;AACF;AAACC,OAAA,CAAArB,YAAA,GAAAA,YAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { CanvasKit } from "canvaskit-wasm";
|
2
|
+
import type { PictureFactory } from "../types";
|
3
|
+
import { Host } from "./Host";
|
4
|
+
import { JsiSkPicture } from "./JsiSkPicture";
|
5
|
+
export declare class JsiSkPictureFactory extends Host implements PictureFactory {
|
6
|
+
constructor(CanvasKit: CanvasKit);
|
7
|
+
MakePicture(bytes: Uint8Array | ArrayBuffer): JsiSkPicture | null;
|
8
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.JsiSkPictureFactory = void 0;
|
7
|
+
var _Host = require("./Host");
|
8
|
+
var _JsiSkPicture = require("./JsiSkPicture");
|
9
|
+
class JsiSkPictureFactory extends _Host.Host {
|
10
|
+
constructor(CanvasKit) {
|
11
|
+
super(CanvasKit);
|
12
|
+
}
|
13
|
+
MakePicture(bytes) {
|
14
|
+
const pic = this.CanvasKit.MakePicture(bytes);
|
15
|
+
if (pic === null) {
|
16
|
+
return null;
|
17
|
+
}
|
18
|
+
return new _JsiSkPicture.JsiSkPicture(this.CanvasKit, pic);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
exports.JsiSkPictureFactory = JsiSkPictureFactory;
|
22
|
+
//# sourceMappingURL=JsiSkPictureFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkPicture","JsiSkPictureFactory","Host","constructor","CanvasKit","MakePicture","bytes","pic","JsiSkPicture","exports"],"sources":["JsiSkPictureFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { PictureFactory } from \"../types\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkPicture } from \"./JsiSkPicture\";\n\nexport class JsiSkPictureFactory extends Host implements PictureFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakePicture(bytes: Uint8Array | ArrayBuffer) {\n const pic = this.CanvasKit.MakePicture(bytes);\n if (pic === null) {\n return null;\n }\n return new JsiSkPicture(this.CanvasKit, pic);\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AAEO,MAAME,mBAAmB,SAASC,UAAI,CAA2B;EACtEC,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,WAAWA,CAACC,KAA+B,EAAE;IAC3C,MAAMC,GAAG,GAAG,IAAI,CAACH,SAAS,CAACC,WAAW,CAACC,KAAK,CAAC;IAC7C,IAAIC,GAAG,KAAK,IAAI,EAAE;MAChB,OAAO,IAAI;IACb;IACA,OAAO,IAAIC,0BAAY,CAAC,IAAI,CAACJ,SAAS,EAAEG,GAAG,CAAC;EAC9C;AACF;AAACE,OAAA,CAAAR,mBAAA,GAAAA,mBAAA"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { CanvasKit, PictureRecorder } from "canvaskit-wasm";
|
2
|
+
import type { SkRect } from "../types";
|
3
|
+
import type { SkPictureRecorder } from "../types/Picture/PictureRecorder";
|
4
|
+
import { HostObject } from "./Host";
|
5
|
+
import { JsiSkCanvas } from "./JsiSkCanvas";
|
6
|
+
import { JsiSkPicture } from "./JsiSkPicture";
|
7
|
+
export declare class JsiSkPictureRecorder extends HostObject<PictureRecorder, "PictureRecorder"> implements SkPictureRecorder {
|
8
|
+
constructor(CanvasKit: CanvasKit, ref: PictureRecorder);
|
9
|
+
dispose: () => void;
|
10
|
+
beginRecording(bounds?: SkRect): JsiSkCanvas;
|
11
|
+
finishRecordingAsPicture(): JsiSkPicture;
|
12
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.JsiSkPictureRecorder = void 0;
|
7
|
+
var _Host = require("./Host");
|
8
|
+
var _JsiSkCanvas = require("./JsiSkCanvas");
|
9
|
+
var _JsiSkPicture = require("./JsiSkPicture");
|
10
|
+
var _JsiSkRect = require("./JsiSkRect");
|
11
|
+
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; }
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
13
|
+
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); }
|
14
|
+
class JsiSkPictureRecorder extends _Host.HostObject {
|
15
|
+
constructor(CanvasKit, ref) {
|
16
|
+
super(CanvasKit, ref, "PictureRecorder");
|
17
|
+
_defineProperty(this, "dispose", () => {
|
18
|
+
this.ref.delete();
|
19
|
+
});
|
20
|
+
}
|
21
|
+
beginRecording(bounds) {
|
22
|
+
return new _JsiSkCanvas.JsiSkCanvas(this.CanvasKit, this.ref.beginRecording(bounds ? _JsiSkRect.JsiSkRect.fromValue(this.CanvasKit, bounds) : Float32Array.of(0, 0, 2000000, 2000000)));
|
23
|
+
}
|
24
|
+
finishRecordingAsPicture() {
|
25
|
+
return new _JsiSkPicture.JsiSkPicture(this.CanvasKit, this.ref.finishRecordingAsPicture());
|
26
|
+
}
|
27
|
+
}
|
28
|
+
exports.JsiSkPictureRecorder = JsiSkPictureRecorder;
|
29
|
+
//# sourceMappingURL=JsiSkPictureRecorder.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkCanvas","_JsiSkPicture","_JsiSkRect","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","JsiSkPictureRecorder","HostObject","constructor","CanvasKit","ref","delete","beginRecording","bounds","JsiSkCanvas","JsiSkRect","fromValue","Float32Array","of","finishRecordingAsPicture","JsiSkPicture","exports"],"sources":["JsiSkPictureRecorder.ts"],"sourcesContent":["import type { CanvasKit, PictureRecorder } from \"canvaskit-wasm\";\n\nimport type { SkRect } from \"../types\";\nimport type { SkPictureRecorder } from \"../types/Picture/PictureRecorder\";\n\nimport { HostObject } from \"./Host\";\nimport { JsiSkCanvas } from \"./JsiSkCanvas\";\nimport { JsiSkPicture } from \"./JsiSkPicture\";\nimport { JsiSkRect } from \"./JsiSkRect\";\n\nexport class JsiSkPictureRecorder\n extends HostObject<PictureRecorder, \"PictureRecorder\">\n implements SkPictureRecorder\n{\n constructor(CanvasKit: CanvasKit, ref: PictureRecorder) {\n super(CanvasKit, ref, \"PictureRecorder\");\n }\n\n dispose = () => {\n this.ref.delete();\n };\n\n beginRecording(bounds?: SkRect) {\n return new JsiSkCanvas(\n this.CanvasKit,\n this.ref.beginRecording(\n bounds\n ? JsiSkRect.fromValue(this.CanvasKit, bounds)\n : Float32Array.of(0, 0, 2_000_000, 2_000_000)\n )\n );\n }\n\n finishRecordingAsPicture() {\n return new JsiSkPicture(\n this.CanvasKit,\n this.ref.finishRecordingAsPicture()\n );\n }\n}\n"],"mappings":";;;;;;AAKA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAAwC,SAAAI,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,CAAA,QAAAC,CAAA,GAAAC,YAAA,CAAAF,CAAA,uCAAAC,CAAA,GAAAA,CAAA,GAAAE,MAAA,CAAAF,CAAA;AAAA,SAAAC,aAAAF,CAAA,EAAAI,CAAA,2BAAAJ,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAK,CAAA,GAAAL,CAAA,CAAAM,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAAJ,CAAA,GAAAI,CAAA,CAAAG,IAAA,CAAAR,CAAA,EAAAI,CAAA,uCAAAH,CAAA,SAAAA,CAAA,YAAAQ,SAAA,yEAAAL,CAAA,GAAAD,MAAA,GAAAO,MAAA,EAAAV,CAAA;AAEjC,MAAMW,oBAAoB,SACvBC,gBAAU,CAEpB;EACEC,WAAWA,CAACC,SAAoB,EAAEC,GAAoB,EAAE;IACtD,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,iBAAiB,CAAC;IAACzB,eAAA,kBAGjC,MAAM;MACd,IAAI,CAACyB,GAAG,CAACC,MAAM,CAAC,CAAC;IACnB,CAAC;EAJD;EAMAC,cAAcA,CAACC,MAAe,EAAE;IAC9B,OAAO,IAAIC,wBAAW,CACpB,IAAI,CAACL,SAAS,EACd,IAAI,CAACC,GAAG,CAACE,cAAc,CACrBC,MAAM,GACFE,oBAAS,CAACC,SAAS,CAAC,IAAI,CAACP,SAAS,EAAEI,MAAM,CAAC,GAC3CI,YAAY,CAACC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,OAAS,EAAE,OAAS,CAChD,CACF,CAAC;EACH;EAEAC,wBAAwBA,CAAA,EAAG;IACzB,OAAO,IAAIC,0BAAY,CACrB,IAAI,CAACX,SAAS,EACd,IAAI,CAACC,GAAG,CAACS,wBAAwB,CAAC,CACpC,CAAC;EACH;AACF;AAACE,OAAA,CAAAf,oBAAA,GAAAA,oBAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { CanvasKit, Point } from "canvaskit-wasm";
|
2
|
+
import type { SkPoint } from "../types";
|
3
|
+
import { BaseHostObject } from "./Host";
|
4
|
+
export declare class JsiSkPoint extends BaseHostObject<Point, "Point"> implements SkPoint {
|
5
|
+
static fromValue(point: SkPoint): Float32Array;
|
6
|
+
constructor(CanvasKit: CanvasKit, ref: Point);
|
7
|
+
dispose: () => void;
|
8
|
+
get x(): number;
|
9
|
+
get y(): number;
|
10
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.JsiSkPoint = void 0;
|
7
|
+
var _Host = require("./Host");
|
8
|
+
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; }
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
10
|
+
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); }
|
11
|
+
class JsiSkPoint extends _Host.BaseHostObject {
|
12
|
+
static fromValue(point) {
|
13
|
+
if (point instanceof JsiSkPoint) {
|
14
|
+
return point.ref;
|
15
|
+
}
|
16
|
+
return new Float32Array([point.x, point.y]);
|
17
|
+
}
|
18
|
+
constructor(CanvasKit, ref) {
|
19
|
+
super(CanvasKit, ref, "Point");
|
20
|
+
_defineProperty(this, "dispose", () => {
|
21
|
+
// Float32Array
|
22
|
+
});
|
23
|
+
}
|
24
|
+
get x() {
|
25
|
+
return this.ref[0];
|
26
|
+
}
|
27
|
+
get y() {
|
28
|
+
return this.ref[1];
|
29
|
+
}
|
30
|
+
}
|
31
|
+
exports.JsiSkPoint = JsiSkPoint;
|
32
|
+
//# sourceMappingURL=JsiSkPoint.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_Host","require","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","JsiSkPoint","BaseHostObject","fromValue","point","ref","Float32Array","x","y","constructor","CanvasKit","exports"],"sources":["JsiSkPoint.ts"],"sourcesContent":["import type { CanvasKit, Point } from \"canvaskit-wasm\";\n\nimport type { SkPoint } from \"../types\";\n\nimport { BaseHostObject } from \"./Host\";\n\nexport class JsiSkPoint\n extends BaseHostObject<Point, \"Point\">\n implements SkPoint\n{\n static fromValue(point: SkPoint) {\n if (point instanceof JsiSkPoint) {\n return point.ref;\n }\n return new Float32Array([point.x, point.y]);\n }\n\n constructor(CanvasKit: CanvasKit, ref: Point) {\n super(CanvasKit, ref, \"Point\");\n }\n\n dispose = () => {\n // Float32Array\n };\n\n get x() {\n return this.ref[0];\n }\n\n get y() {\n return this.ref[1];\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAAwC,SAAAC,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,CAAA,QAAAC,CAAA,GAAAC,YAAA,CAAAF,CAAA,uCAAAC,CAAA,GAAAA,CAAA,GAAAE,MAAA,CAAAF,CAAA;AAAA,SAAAC,aAAAF,CAAA,EAAAI,CAAA,2BAAAJ,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAK,CAAA,GAAAL,CAAA,CAAAM,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAAJ,CAAA,GAAAI,CAAA,CAAAG,IAAA,CAAAR,CAAA,EAAAI,CAAA,uCAAAH,CAAA,SAAAA,CAAA,YAAAQ,SAAA,yEAAAL,CAAA,GAAAD,MAAA,GAAAO,MAAA,EAAAV,CAAA;AAEjC,MAAMW,UAAU,SACbC,oBAAc,CAExB;EACE,OAAOC,SAASA,CAACC,KAAc,EAAE;IAC/B,IAAIA,KAAK,YAAYH,UAAU,EAAE;MAC/B,OAAOG,KAAK,CAACC,GAAG;IAClB;IACA,OAAO,IAAIC,YAAY,CAAC,CAACF,KAAK,CAACG,CAAC,EAAEH,KAAK,CAACI,CAAC,CAAC,CAAC;EAC7C;EAEAC,WAAWA,CAACC,SAAoB,EAAEL,GAAU,EAAE;IAC5C,KAAK,CAACK,SAAS,EAAEL,GAAG,EAAE,OAAO,CAAC;IAACzB,eAAA,kBAGvB,MAAM;MACd;IAAA,CACD;EAJD;EAMA,IAAI2B,CAACA,CAAA,EAAG;IACN,OAAO,IAAI,CAACF,GAAG,CAAC,CAAC,CAAC;EACpB;EAEA,IAAIG,CAACA,CAAA,EAAG;IACN,OAAO,IAAI,CAACH,GAAG,CAAC,CAAC,CAAC;EACpB;AACF;AAACM,OAAA,CAAAV,UAAA,GAAAA,UAAA"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { CanvasKit, RRect } from "canvaskit-wasm";
|
2
|
+
import type { InputRRect, SkRect, SkRRect } from "../types";
|
3
|
+
import { BaseHostObject } from "./Host";
|
4
|
+
import { JsiSkRect } from "./JsiSkRect";
|
5
|
+
export declare class JsiSkRRect extends BaseHostObject<RRect, "RRect"> implements SkRRect {
|
6
|
+
dispose: () => void;
|
7
|
+
static fromValue(CanvasKit: CanvasKit, rect: InputRRect): Float32Array;
|
8
|
+
constructor(CanvasKit: CanvasKit, rect: SkRect, rx: number, ry: number);
|
9
|
+
get rx(): number;
|
10
|
+
get ry(): number;
|
11
|
+
get rect(): JsiSkRect;
|
12
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.JsiSkRRect = void 0;
|
7
|
+
var _Host = require("./Host");
|
8
|
+
var _JsiSkRect = require("./JsiSkRect");
|
9
|
+
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; }
|
10
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
11
|
+
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); }
|
12
|
+
class JsiSkRRect extends _Host.BaseHostObject {
|
13
|
+
static fromValue(CanvasKit, rect) {
|
14
|
+
if (rect instanceof _JsiSkRect.JsiSkRect) {
|
15
|
+
return rect.ref;
|
16
|
+
}
|
17
|
+
if ("topLeft" in rect && "topRight" in rect && "bottomRight" in rect && "bottomLeft" in rect) {
|
18
|
+
return Float32Array.of(rect.rect.x, rect.rect.y, rect.rect.x + rect.rect.width, rect.rect.y + rect.rect.height, rect.topLeft.x, rect.topLeft.y, rect.topRight.x, rect.topRight.y, rect.bottomRight.x, rect.bottomRight.y, rect.bottomLeft.x, rect.bottomLeft.y);
|
19
|
+
}
|
20
|
+
return CanvasKit.RRectXY(_JsiSkRect.JsiSkRect.fromValue(CanvasKit, rect.rect), rect.rx, rect.ry);
|
21
|
+
}
|
22
|
+
constructor(CanvasKit, rect, rx, ry) {
|
23
|
+
// based on https://github.com/google/skia/blob/main/src/core/SkRRect.cpp#L51
|
24
|
+
if (rx === Infinity || ry === Infinity) {
|
25
|
+
rx = ry = 0;
|
26
|
+
}
|
27
|
+
if (rect.width < rx + rx || rect.height < ry + ry) {
|
28
|
+
// At most one of these two divides will be by zero, and neither numerator is zero.
|
29
|
+
const scale = Math.min(rect.width / (rx + rx), rect.height / (ry + ry));
|
30
|
+
rx *= scale;
|
31
|
+
ry *= scale;
|
32
|
+
}
|
33
|
+
const ref = CanvasKit.RRectXY(_JsiSkRect.JsiSkRect.fromValue(CanvasKit, rect), rx, ry);
|
34
|
+
super(CanvasKit, ref, "RRect");
|
35
|
+
_defineProperty(this, "dispose", () => {
|
36
|
+
// Float32Array
|
37
|
+
});
|
38
|
+
}
|
39
|
+
get rx() {
|
40
|
+
return this.ref[4];
|
41
|
+
}
|
42
|
+
get ry() {
|
43
|
+
return this.ref[5];
|
44
|
+
}
|
45
|
+
get rect() {
|
46
|
+
return new _JsiSkRect.JsiSkRect(this.CanvasKit, Float32Array.of(this.ref[0], this.ref[1], this.ref[2], this.ref[3]));
|
47
|
+
}
|
48
|
+
}
|
49
|
+
exports.JsiSkRRect = JsiSkRRect;
|
50
|
+
//# sourceMappingURL=JsiSkRRect.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_Host","require","_JsiSkRect","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","JsiSkRRect","BaseHostObject","fromValue","CanvasKit","rect","JsiSkRect","ref","Float32Array","of","x","y","width","height","topLeft","topRight","bottomRight","bottomLeft","RRectXY","rx","ry","constructor","Infinity","scale","Math","min","exports"],"sources":["JsiSkRRect.ts"],"sourcesContent":["import type { CanvasKit, RRect } from \"canvaskit-wasm\";\n\nimport type { InputRRect, SkRect, SkRRect } from \"../types\";\n\nimport { BaseHostObject } from \"./Host\";\nimport { JsiSkRect } from \"./JsiSkRect\";\n\nexport class JsiSkRRect\n extends BaseHostObject<RRect, \"RRect\">\n implements SkRRect\n{\n dispose = () => {\n // Float32Array\n };\n\n static fromValue(CanvasKit: CanvasKit, rect: InputRRect) {\n if (rect instanceof JsiSkRect) {\n return rect.ref;\n }\n if (\n \"topLeft\" in rect &&\n \"topRight\" in rect &&\n \"bottomRight\" in rect &&\n \"bottomLeft\" in rect\n ) {\n return Float32Array.of(\n rect.rect.x,\n rect.rect.y,\n rect.rect.x + rect.rect.width,\n rect.rect.y + rect.rect.height,\n rect.topLeft.x,\n rect.topLeft.y,\n rect.topRight.x,\n rect.topRight.y,\n rect.bottomRight.x,\n rect.bottomRight.y,\n rect.bottomLeft.x,\n rect.bottomLeft.y\n );\n }\n return CanvasKit.RRectXY(\n JsiSkRect.fromValue(CanvasKit, rect.rect),\n rect.rx,\n rect.ry\n );\n }\n\n constructor(CanvasKit: CanvasKit, rect: SkRect, rx: number, ry: number) {\n // based on https://github.com/google/skia/blob/main/src/core/SkRRect.cpp#L51\n if (rx === Infinity || ry === Infinity) {\n rx = ry = 0;\n }\n if (rect.width < rx + rx || rect.height < ry + ry) {\n // At most one of these two divides will be by zero, and neither numerator is zero.\n const scale = Math.min(rect.width / (rx + rx), rect.height / (ry + ry));\n rx *= scale;\n ry *= scale;\n }\n const ref = CanvasKit.RRectXY(JsiSkRect.fromValue(CanvasKit, rect), rx, ry);\n super(CanvasKit, ref, \"RRect\");\n }\n\n get rx() {\n return this.ref[4];\n }\n\n get ry() {\n return this.ref[5];\n }\n\n get rect() {\n return new JsiSkRect(\n this.CanvasKit,\n Float32Array.of(this.ref[0], this.ref[1], this.ref[2], this.ref[3])\n );\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAAwC,SAAAE,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,CAAA,QAAAC,CAAA,GAAAC,YAAA,CAAAF,CAAA,uCAAAC,CAAA,GAAAA,CAAA,GAAAE,MAAA,CAAAF,CAAA;AAAA,SAAAC,aAAAF,CAAA,EAAAI,CAAA,2BAAAJ,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAK,CAAA,GAAAL,CAAA,CAAAM,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAAJ,CAAA,GAAAI,CAAA,CAAAG,IAAA,CAAAR,CAAA,EAAAI,CAAA,uCAAAH,CAAA,SAAAA,CAAA,YAAAQ,SAAA,yEAAAL,CAAA,GAAAD,MAAA,GAAAO,MAAA,EAAAV,CAAA;AAEjC,MAAMW,UAAU,SACbC,oBAAc,CAExB;EAKE,OAAOC,SAASA,CAACC,SAAoB,EAAEC,IAAgB,EAAE;IACvD,IAAIA,IAAI,YAAYC,oBAAS,EAAE;MAC7B,OAAOD,IAAI,CAACE,GAAG;IACjB;IACA,IACE,SAAS,IAAIF,IAAI,IACjB,UAAU,IAAIA,IAAI,IAClB,aAAa,IAAIA,IAAI,IACrB,YAAY,IAAIA,IAAI,EACpB;MACA,OAAOG,YAAY,CAACC,EAAE,CACpBJ,IAAI,CAACA,IAAI,CAACK,CAAC,EACXL,IAAI,CAACA,IAAI,CAACM,CAAC,EACXN,IAAI,CAACA,IAAI,CAACK,CAAC,GAAGL,IAAI,CAACA,IAAI,CAACO,KAAK,EAC7BP,IAAI,CAACA,IAAI,CAACM,CAAC,GAAGN,IAAI,CAACA,IAAI,CAACQ,MAAM,EAC9BR,IAAI,CAACS,OAAO,CAACJ,CAAC,EACdL,IAAI,CAACS,OAAO,CAACH,CAAC,EACdN,IAAI,CAACU,QAAQ,CAACL,CAAC,EACfL,IAAI,CAACU,QAAQ,CAACJ,CAAC,EACfN,IAAI,CAACW,WAAW,CAACN,CAAC,EAClBL,IAAI,CAACW,WAAW,CAACL,CAAC,EAClBN,IAAI,CAACY,UAAU,CAACP,CAAC,EACjBL,IAAI,CAACY,UAAU,CAACN,CAClB,CAAC;IACH;IACA,OAAOP,SAAS,CAACc,OAAO,CACtBZ,oBAAS,CAACH,SAAS,CAACC,SAAS,EAAEC,IAAI,CAACA,IAAI,CAAC,EACzCA,IAAI,CAACc,EAAE,EACPd,IAAI,CAACe,EACP,CAAC;EACH;EAEAC,WAAWA,CAACjB,SAAoB,EAAEC,IAAY,EAAEc,EAAU,EAAEC,EAAU,EAAE;IACtE;IACA,IAAID,EAAE,KAAKG,QAAQ,IAAIF,EAAE,KAAKE,QAAQ,EAAE;MACtCH,EAAE,GAAGC,EAAE,GAAG,CAAC;IACb;IACA,IAAIf,IAAI,CAACO,KAAK,GAAGO,EAAE,GAAGA,EAAE,IAAId,IAAI,CAACQ,MAAM,GAAGO,EAAE,GAAGA,EAAE,EAAE;MACjD;MACA,MAAMG,KAAK,GAAGC,IAAI,CAACC,GAAG,CAACpB,IAAI,CAACO,KAAK,IAAIO,EAAE,GAAGA,EAAE,CAAC,EAAEd,IAAI,CAACQ,MAAM,IAAIO,EAAE,GAAGA,EAAE,CAAC,CAAC;MACvED,EAAE,IAAII,KAAK;MACXH,EAAE,IAAIG,KAAK;IACb;IACA,MAAMhB,GAAG,GAAGH,SAAS,CAACc,OAAO,CAACZ,oBAAS,CAACH,SAAS,CAACC,SAAS,EAAEC,IAAI,CAAC,EAAEc,EAAE,EAAEC,EAAE,CAAC;IAC3E,KAAK,CAAChB,SAAS,EAAEG,GAAG,EAAE,OAAO,CAAC;IAAC3B,eAAA,kBAhDvB,MAAM;MACd;IAAA,CACD;EA+CD;EAEA,IAAIuC,EAAEA,CAAA,EAAG;IACP,OAAO,IAAI,CAACZ,GAAG,CAAC,CAAC,CAAC;EACpB;EAEA,IAAIa,EAAEA,CAAA,EAAG;IACP,OAAO,IAAI,CAACb,GAAG,CAAC,CAAC,CAAC;EACpB;EAEA,IAAIF,IAAIA,CAAA,EAAG;IACT,OAAO,IAAIC,oBAAS,CAClB,IAAI,CAACF,SAAS,EACdI,YAAY,CAACC,EAAE,CAAC,IAAI,CAACF,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAACA,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAACA,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAACA,GAAG,CAAC,CAAC,CAAC,CACpE,CAAC;EACH;AACF;AAACmB,OAAA,CAAAzB,UAAA,GAAAA,UAAA"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { CanvasKit } from "canvaskit-wasm";
|
2
|
+
import type { SkRSXform } from "../types";
|
3
|
+
import { BaseHostObject } from "./Host";
|
4
|
+
export type RSXform = Float32Array;
|
5
|
+
export declare class JsiSkRSXform extends BaseHostObject<RSXform, "RSXform"> implements SkRSXform {
|
6
|
+
static fromValue(rsxform: SkRSXform): Float32Array;
|
7
|
+
constructor(CanvasKit: CanvasKit, ref: RSXform);
|
8
|
+
set(scos: number, ssin: number, tx: number, ty: number): void;
|
9
|
+
get scos(): number;
|
10
|
+
get ssin(): number;
|
11
|
+
get tx(): number;
|
12
|
+
get ty(): number;
|
13
|
+
dispose: () => void;
|
14
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.JsiSkRSXform = void 0;
|
7
|
+
var _Host = require("./Host");
|
8
|
+
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; }
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
10
|
+
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); }
|
11
|
+
class JsiSkRSXform extends _Host.BaseHostObject {
|
12
|
+
static fromValue(rsxform) {
|
13
|
+
if (rsxform instanceof JsiSkRSXform) {
|
14
|
+
return rsxform.ref;
|
15
|
+
}
|
16
|
+
return Float32Array.of(rsxform.scos, rsxform.ssin, rsxform.tx, rsxform.ty);
|
17
|
+
}
|
18
|
+
constructor(CanvasKit, ref) {
|
19
|
+
super(CanvasKit, ref, "RSXform");
|
20
|
+
_defineProperty(this, "dispose", () => {
|
21
|
+
// nothing to do here, RSXform is a Float32Array
|
22
|
+
});
|
23
|
+
}
|
24
|
+
set(scos, ssin, tx, ty) {
|
25
|
+
this.ref[0] = scos;
|
26
|
+
this.ref[1] = ssin;
|
27
|
+
this.ref[2] = tx;
|
28
|
+
this.ref[3] = ty;
|
29
|
+
}
|
30
|
+
get scos() {
|
31
|
+
return this.ref[0];
|
32
|
+
}
|
33
|
+
get ssin() {
|
34
|
+
return this.ref[1];
|
35
|
+
}
|
36
|
+
get tx() {
|
37
|
+
return this.ref[2];
|
38
|
+
}
|
39
|
+
get ty() {
|
40
|
+
return this.ref[3];
|
41
|
+
}
|
42
|
+
}
|
43
|
+
exports.JsiSkRSXform = JsiSkRSXform;
|
44
|
+
//# sourceMappingURL=JsiSkRSXform.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_Host","require","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","JsiSkRSXform","BaseHostObject","fromValue","rsxform","ref","Float32Array","of","scos","ssin","tx","ty","constructor","CanvasKit","set","exports"],"sources":["JsiSkRSXform.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { SkRSXform } from \"../types\";\n\nimport { BaseHostObject } from \"./Host\";\n\nexport type RSXform = Float32Array;\n\nexport class JsiSkRSXform\n extends BaseHostObject<RSXform, \"RSXform\">\n implements SkRSXform\n{\n static fromValue(rsxform: SkRSXform) {\n if (rsxform instanceof JsiSkRSXform) {\n return rsxform.ref;\n }\n return Float32Array.of(rsxform.scos, rsxform.ssin, rsxform.tx, rsxform.ty);\n }\n\n constructor(CanvasKit: CanvasKit, ref: RSXform) {\n super(CanvasKit, ref, \"RSXform\");\n }\n set(scos: number, ssin: number, tx: number, ty: number) {\n this.ref[0] = scos;\n this.ref[1] = ssin;\n this.ref[2] = tx;\n this.ref[3] = ty;\n }\n get scos() {\n return this.ref[0];\n }\n get ssin() {\n return this.ref[1];\n }\n get tx() {\n return this.ref[2];\n }\n get ty() {\n return this.ref[3];\n }\n dispose = () => {\n // nothing to do here, RSXform is a Float32Array\n };\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAAwC,SAAAC,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,CAAA,QAAAC,CAAA,GAAAC,YAAA,CAAAF,CAAA,uCAAAC,CAAA,GAAAA,CAAA,GAAAE,MAAA,CAAAF,CAAA;AAAA,SAAAC,aAAAF,CAAA,EAAAI,CAAA,2BAAAJ,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAK,CAAA,GAAAL,CAAA,CAAAM,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAAJ,CAAA,GAAAI,CAAA,CAAAG,IAAA,CAAAR,CAAA,EAAAI,CAAA,uCAAAH,CAAA,SAAAA,CAAA,YAAAQ,SAAA,yEAAAL,CAAA,GAAAD,MAAA,GAAAO,MAAA,EAAAV,CAAA;AAIjC,MAAMW,YAAY,SACfC,oBAAc,CAExB;EACE,OAAOC,SAASA,CAACC,OAAkB,EAAE;IACnC,IAAIA,OAAO,YAAYH,YAAY,EAAE;MACnC,OAAOG,OAAO,CAACC,GAAG;IACpB;IACA,OAAOC,YAAY,CAACC,EAAE,CAACH,OAAO,CAACI,IAAI,EAAEJ,OAAO,CAACK,IAAI,EAAEL,OAAO,CAACM,EAAE,EAAEN,OAAO,CAACO,EAAE,CAAC;EAC5E;EAEAC,WAAWA,CAACC,SAAoB,EAAER,GAAY,EAAE;IAC9C,KAAK,CAACQ,SAAS,EAAER,GAAG,EAAE,SAAS,CAAC;IAACzB,eAAA,kBAoBzB,MAAM;MACd;IAAA,CACD;EArBD;EACAkC,GAAGA,CAACN,IAAY,EAAEC,IAAY,EAAEC,EAAU,EAAEC,EAAU,EAAE;IACtD,IAAI,CAACN,GAAG,CAAC,CAAC,CAAC,GAAGG,IAAI;IAClB,IAAI,CAACH,GAAG,CAAC,CAAC,CAAC,GAAGI,IAAI;IAClB,IAAI,CAACJ,GAAG,CAAC,CAAC,CAAC,GAAGK,EAAE;IAChB,IAAI,CAACL,GAAG,CAAC,CAAC,CAAC,GAAGM,EAAE;EAClB;EACA,IAAIH,IAAIA,CAAA,EAAG;IACT,OAAO,IAAI,CAACH,GAAG,CAAC,CAAC,CAAC;EACpB;EACA,IAAII,IAAIA,CAAA,EAAG;IACT,OAAO,IAAI,CAACJ,GAAG,CAAC,CAAC,CAAC;EACpB;EACA,IAAIK,EAAEA,CAAA,EAAG;IACP,OAAO,IAAI,CAACL,GAAG,CAAC,CAAC,CAAC;EACpB;EACA,IAAIM,EAAEA,CAAA,EAAG;IACP,OAAO,IAAI,CAACN,GAAG,CAAC,CAAC,CAAC;EACpB;AAIF;AAACU,OAAA,CAAAd,YAAA,GAAAA,YAAA"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { CanvasKit, Rect } from "canvaskit-wasm";
|
2
|
+
import type { SkHostRect, SkRect } from "../types";
|
3
|
+
import { BaseHostObject } from "./Host";
|
4
|
+
export declare class JsiSkRect extends BaseHostObject<Rect, "Rect"> implements SkHostRect {
|
5
|
+
static fromValue(CanvasKit: CanvasKit, rect: SkRect): Float32Array;
|
6
|
+
dispose: () => void;
|
7
|
+
constructor(CanvasKit: CanvasKit, ref: Rect);
|
8
|
+
setXYWH(x: number, y: number, width: number, height: number): void;
|
9
|
+
get x(): number;
|
10
|
+
get y(): number;
|
11
|
+
get width(): number;
|
12
|
+
get height(): number;
|
13
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.JsiSkRect = void 0;
|
7
|
+
var _Host = require("./Host");
|
8
|
+
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; }
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
10
|
+
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); }
|
11
|
+
class JsiSkRect extends _Host.BaseHostObject {
|
12
|
+
static fromValue(CanvasKit, rect) {
|
13
|
+
if (rect instanceof JsiSkRect) {
|
14
|
+
return rect.ref;
|
15
|
+
}
|
16
|
+
return CanvasKit.XYWHRect(rect.x, rect.y, rect.width, rect.height);
|
17
|
+
}
|
18
|
+
constructor(CanvasKit, ref) {
|
19
|
+
super(CanvasKit, ref, "Rect");
|
20
|
+
_defineProperty(this, "dispose", () => {
|
21
|
+
// Float32Array
|
22
|
+
});
|
23
|
+
}
|
24
|
+
setXYWH(x, y, width, height) {
|
25
|
+
this.ref[0] = x;
|
26
|
+
this.ref[1] = y;
|
27
|
+
this.ref[2] = x + width;
|
28
|
+
this.ref[3] = y + height;
|
29
|
+
}
|
30
|
+
get x() {
|
31
|
+
return this.ref[0];
|
32
|
+
}
|
33
|
+
get y() {
|
34
|
+
return this.ref[1];
|
35
|
+
}
|
36
|
+
get width() {
|
37
|
+
return this.ref[2] - this.ref[0];
|
38
|
+
}
|
39
|
+
get height() {
|
40
|
+
return this.ref[3] - this.ref[1];
|
41
|
+
}
|
42
|
+
}
|
43
|
+
exports.JsiSkRect = JsiSkRect;
|
44
|
+
//# sourceMappingURL=JsiSkRect.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["_Host","require","_defineProperty","obj","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","t","i","_toPrimitive","String","r","e","Symbol","toPrimitive","call","TypeError","Number","JsiSkRect","BaseHostObject","fromValue","CanvasKit","rect","ref","XYWHRect","x","y","width","height","constructor","setXYWH","exports"],"sources":["JsiSkRect.ts"],"sourcesContent":["import type { CanvasKit, Rect } from \"canvaskit-wasm\";\n\nimport type { SkHostRect, SkRect } from \"../types\";\n\nimport { BaseHostObject } from \"./Host\";\n\nexport class JsiSkRect\n extends BaseHostObject<Rect, \"Rect\">\n implements SkHostRect\n{\n static fromValue(CanvasKit: CanvasKit, rect: SkRect) {\n if (rect instanceof JsiSkRect) {\n return rect.ref;\n }\n return CanvasKit.XYWHRect(rect.x, rect.y, rect.width, rect.height);\n }\n\n dispose = () => {\n // Float32Array\n };\n\n constructor(CanvasKit: CanvasKit, ref: Rect) {\n super(CanvasKit, ref, \"Rect\");\n }\n\n setXYWH(x: number, y: number, width: number, height: number): void {\n this.ref[0] = x;\n this.ref[1] = y;\n this.ref[2] = x + width;\n this.ref[3] = y + height;\n }\n\n get x() {\n return this.ref[0];\n }\n\n get y() {\n return this.ref[1];\n }\n\n get width() {\n return this.ref[2] - this.ref[0];\n }\n\n get height() {\n return this.ref[3] - this.ref[1];\n }\n}\n"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAAwC,SAAAC,gBAAAC,GAAA,EAAAC,GAAA,EAAAC,KAAA,IAAAD,GAAA,GAAAE,cAAA,CAAAF,GAAA,OAAAA,GAAA,IAAAD,GAAA,IAAAI,MAAA,CAAAC,cAAA,CAAAL,GAAA,EAAAC,GAAA,IAAAC,KAAA,EAAAA,KAAA,EAAAI,UAAA,QAAAC,YAAA,QAAAC,QAAA,oBAAAR,GAAA,CAAAC,GAAA,IAAAC,KAAA,WAAAF,GAAA;AAAA,SAAAG,eAAAM,CAAA,QAAAC,CAAA,GAAAC,YAAA,CAAAF,CAAA,uCAAAC,CAAA,GAAAA,CAAA,GAAAE,MAAA,CAAAF,CAAA;AAAA,SAAAC,aAAAF,CAAA,EAAAI,CAAA,2BAAAJ,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAK,CAAA,GAAAL,CAAA,CAAAM,MAAA,CAAAC,WAAA,kBAAAF,CAAA,QAAAJ,CAAA,GAAAI,CAAA,CAAAG,IAAA,CAAAR,CAAA,EAAAI,CAAA,uCAAAH,CAAA,SAAAA,CAAA,YAAAQ,SAAA,yEAAAL,CAAA,GAAAD,MAAA,GAAAO,MAAA,EAAAV,CAAA;AAEjC,MAAMW,SAAS,SACZC,oBAAc,CAExB;EACE,OAAOC,SAASA,CAACC,SAAoB,EAAEC,IAAY,EAAE;IACnD,IAAIA,IAAI,YAAYJ,SAAS,EAAE;MAC7B,OAAOI,IAAI,CAACC,GAAG;IACjB;IACA,OAAOF,SAAS,CAACG,QAAQ,CAACF,IAAI,CAACG,CAAC,EAAEH,IAAI,CAACI,CAAC,EAAEJ,IAAI,CAACK,KAAK,EAAEL,IAAI,CAACM,MAAM,CAAC;EACpE;EAMAC,WAAWA,CAACR,SAAoB,EAAEE,GAAS,EAAE;IAC3C,KAAK,CAACF,SAAS,EAAEE,GAAG,EAAE,MAAM,CAAC;IAAC1B,eAAA,kBALtB,MAAM;MACd;IAAA,CACD;EAID;EAEAiC,OAAOA,CAACL,CAAS,EAAEC,CAAS,EAAEC,KAAa,EAAEC,MAAc,EAAQ;IACjE,IAAI,CAACL,GAAG,CAAC,CAAC,CAAC,GAAGE,CAAC;IACf,IAAI,CAACF,GAAG,CAAC,CAAC,CAAC,GAAGG,CAAC;IACf,IAAI,CAACH,GAAG,CAAC,CAAC,CAAC,GAAGE,CAAC,GAAGE,KAAK;IACvB,IAAI,CAACJ,GAAG,CAAC,CAAC,CAAC,GAAGG,CAAC,GAAGE,MAAM;EAC1B;EAEA,IAAIH,CAACA,CAAA,EAAG;IACN,OAAO,IAAI,CAACF,GAAG,CAAC,CAAC,CAAC;EACpB;EAEA,IAAIG,CAACA,CAAA,EAAG;IACN,OAAO,IAAI,CAACH,GAAG,CAAC,CAAC,CAAC;EACpB;EAEA,IAAII,KAAKA,CAAA,EAAG;IACV,OAAO,IAAI,CAACJ,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAACA,GAAG,CAAC,CAAC,CAAC;EAClC;EAEA,IAAIK,MAAMA,CAAA,EAAG;IACX,OAAO,IAAI,CAACL,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAACA,GAAG,CAAC,CAAC,CAAC;EAClC;AACF;AAACQ,OAAA,CAAAb,SAAA,GAAAA,SAAA"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import type { CanvasKit, RuntimeEffect } from "canvaskit-wasm";
|
2
|
+
import type { SkMatrix, SkShader } from "../types";
|
3
|
+
import type { SkRuntimeEffect } from "../types/RuntimeEffect/RuntimeEffect";
|
4
|
+
import { HostObject } from "./Host";
|
5
|
+
import { JsiSkShader } from "./JsiSkShader";
|
6
|
+
export declare class JsiSkRuntimeEffect extends HostObject<RuntimeEffect, "RuntimeEffect"> implements SkRuntimeEffect {
|
7
|
+
private sksl;
|
8
|
+
constructor(CanvasKit: CanvasKit, ref: RuntimeEffect, sksl: string);
|
9
|
+
dispose: () => void;
|
10
|
+
source(): string;
|
11
|
+
makeShader(uniforms: number[], localMatrix?: SkMatrix): JsiSkShader;
|
12
|
+
makeShaderWithChildren(uniforms: number[], children?: SkShader[], localMatrix?: SkMatrix): JsiSkShader;
|
13
|
+
getUniform(index: number): import("canvaskit-wasm").SkSLUniform;
|
14
|
+
getUniformCount(): number;
|
15
|
+
getUniformFloatCount(): number;
|
16
|
+
getUniformName(index: number): string;
|
17
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.JsiSkRuntimeEffect = void 0;
|
7
|
+
var _Host = require("./Host");
|
8
|
+
var _JsiSkMatrix = require("./JsiSkMatrix");
|
9
|
+
var _JsiSkShader = require("./JsiSkShader");
|
10
|
+
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; }
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
12
|
+
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); }
|
13
|
+
class JsiSkRuntimeEffect extends _Host.HostObject {
|
14
|
+
constructor(CanvasKit, ref, sksl) {
|
15
|
+
super(CanvasKit, ref, "RuntimeEffect");
|
16
|
+
this.sksl = sksl;
|
17
|
+
_defineProperty(this, "dispose", () => {
|
18
|
+
this.ref.delete();
|
19
|
+
});
|
20
|
+
}
|
21
|
+
source() {
|
22
|
+
return this.sksl;
|
23
|
+
}
|
24
|
+
makeShader(uniforms, localMatrix) {
|
25
|
+
return new _JsiSkShader.JsiSkShader(this.CanvasKit, this.ref.makeShader(uniforms, localMatrix !== undefined ? _JsiSkMatrix.JsiSkMatrix.fromValue(localMatrix) : localMatrix));
|
26
|
+
}
|
27
|
+
makeShaderWithChildren(uniforms, children, localMatrix) {
|
28
|
+
return new _JsiSkShader.JsiSkShader(this.CanvasKit, this.ref.makeShaderWithChildren(uniforms, children === null || children === void 0 ? void 0 : children.map(child => _JsiSkShader.JsiSkShader.fromValue(child)), localMatrix !== undefined ? _JsiSkMatrix.JsiSkMatrix.fromValue(localMatrix) : localMatrix));
|
29
|
+
}
|
30
|
+
getUniform(index) {
|
31
|
+
return this.ref.getUniform(index);
|
32
|
+
}
|
33
|
+
getUniformCount() {
|
34
|
+
return this.ref.getUniformCount();
|
35
|
+
}
|
36
|
+
getUniformFloatCount() {
|
37
|
+
return this.ref.getUniformFloatCount();
|
38
|
+
}
|
39
|
+
getUniformName(index) {
|
40
|
+
return this.ref.getUniformName(index);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
exports.JsiSkRuntimeEffect = JsiSkRuntimeEffect;
|
44
|
+
//# sourceMappingURL=JsiSkRuntimeEffect.js.map
|