@pompadour/react-native-skia 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE.md +7 -0
- package/README.md +9 -0
- package/android/CMakeLists.txt +242 -0
- package/android/README.md +14 -0
- package/android/build.gradle +352 -0
- package/android/cpp/jni/JniLoad.cpp +15 -0
- package/android/cpp/jni/JniPlatformContext.cpp +243 -0
- package/android/cpp/jni/JniSkiaManager.cpp +74 -0
- package/android/cpp/jni/include/JniPlatformContext.h +73 -0
- package/android/cpp/jni/include/JniSkiaBaseView.h +70 -0
- package/android/cpp/jni/include/JniSkiaDomView.h +89 -0
- package/android/cpp/jni/include/JniSkiaManager.h +76 -0
- package/android/cpp/jni/include/JniSkiaPictureView.h +92 -0
- package/android/cpp/rnskia-android/AHardwareBufferUtils.cpp +31 -0
- package/android/cpp/rnskia-android/AHardwareBufferUtils.h +13 -0
- package/android/cpp/rnskia-android/GrAHardwareBufferUtils.cpp +245 -0
- package/android/cpp/rnskia-android/GrAHardwareBufferUtils.h +33 -0
- package/android/cpp/rnskia-android/RNSkAndroidPlatformContext.h +152 -0
- package/android/cpp/rnskia-android/RNSkAndroidVideo.cpp +163 -0
- package/android/cpp/rnskia-android/RNSkAndroidVideo.h +41 -0
- package/android/cpp/rnskia-android/RNSkAndroidView.h +101 -0
- package/android/cpp/rnskia-android/RNSkOpenGLCanvasProvider.cpp +87 -0
- package/android/cpp/rnskia-android/RNSkOpenGLCanvasProvider.h +39 -0
- package/android/cpp/rnskia-android/SkiaOpenGLHelper.h +310 -0
- package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.cpp +221 -0
- package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.h +168 -0
- package/android/src/main/AndroidManifest.xml +6 -0
- package/android/src/main/java/com/shopify/reactnative/skia/PlatformContext.java +195 -0
- package/android/src/main/java/com/shopify/reactnative/skia/RNSkVideo.java +266 -0
- package/android/src/main/java/com/shopify/reactnative/skia/RNSkiaModule.java +87 -0
- package/android/src/main/java/com/shopify/reactnative/skia/RNSkiaPackage.java +77 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaBaseView.java +180 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaBaseViewManager.java +34 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaDomView.java +45 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaDomViewManager.java +32 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaManager.java +57 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaPictureView.java +44 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaPictureViewManager.java +33 -0
- package/android/src/main/java/com/shopify/reactnative/skia/ViewScreenshotService.java +194 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaDomViewManagerDelegate.java +34 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaDomViewManagerInterface.java +18 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaDrawViewManagerInterface.java +18 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaPictureViewManagerDelegate.java +34 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaPictureViewManagerInterface.java +18 -0
- package/android/src/paper/java/com/shopify/reactnative/skia/NativeSkiaModuleSpec.java +38 -0
- package/android/src/reactnative69/java/com/shopify/reactnative/skia/ReactNativeCompatible.java +11 -0
- package/android/src/reactnative74/java/com/shopify/reactnative/skia/ReactNativeCompatible.java +14 -0
- package/cpp/api/JsiNativeBuffer.h +43 -0
- package/cpp/api/JsiSkAnimatedImage.h +60 -0
- package/cpp/api/JsiSkAnimatedImageFactory.h +39 -0
- package/cpp/api/JsiSkApi.h +133 -0
- package/cpp/api/JsiSkCanvas.h +622 -0
- package/cpp/api/JsiSkColor.h +85 -0
- package/cpp/api/JsiSkColorFilter.h +30 -0
- package/cpp/api/JsiSkColorFilterFactory.h +101 -0
- package/cpp/api/JsiSkContourMeasure.h +79 -0
- package/cpp/api/JsiSkContourMeasureIter.h +68 -0
- package/cpp/api/JsiSkData.h +30 -0
- package/cpp/api/JsiSkDataFactory.h +97 -0
- package/cpp/api/JsiSkFont.h +317 -0
- package/cpp/api/JsiSkFontMgr.h +54 -0
- package/cpp/api/JsiSkFontMgrFactory.h +45 -0
- package/cpp/api/JsiSkFontStyle.h +67 -0
- package/cpp/api/JsiSkHostObjects.h +153 -0
- package/cpp/api/JsiSkImage.h +208 -0
- package/cpp/api/JsiSkImageFactory.h +91 -0
- package/cpp/api/JsiSkImageFilter.h +31 -0
- package/cpp/api/JsiSkImageFilterFactory.h +240 -0
- package/cpp/api/JsiSkImageInfo.h +79 -0
- package/cpp/api/JsiSkMaskFilter.h +31 -0
- package/cpp/api/JsiSkMaskFilterFactory.h +41 -0
- package/cpp/api/JsiSkMatrix.h +180 -0
- package/cpp/api/JsiSkPaint.h +220 -0
- package/cpp/api/JsiSkParagraph.h +150 -0
- package/cpp/api/JsiSkParagraphBuilder.h +130 -0
- package/cpp/api/JsiSkParagraphBuilderFactory.h +54 -0
- package/cpp/api/JsiSkParagraphStyle.h +125 -0
- package/cpp/api/JsiSkPath.h +639 -0
- package/cpp/api/JsiSkPathEffect.h +32 -0
- package/cpp/api/JsiSkPathEffectFactory.h +128 -0
- package/cpp/api/JsiSkPathFactory.h +173 -0
- package/cpp/api/JsiSkPicture.h +69 -0
- package/cpp/api/JsiSkPictureFactory.h +51 -0
- package/cpp/api/JsiSkPictureRecorder.h +65 -0
- package/cpp/api/JsiSkPoint.h +84 -0
- package/cpp/api/JsiSkRRect.h +129 -0
- package/cpp/api/JsiSkRSXform.h +128 -0
- package/cpp/api/JsiSkRect.h +123 -0
- package/cpp/api/JsiSkRuntimeEffect.h +220 -0
- package/cpp/api/JsiSkRuntimeEffectFactory.h +41 -0
- package/cpp/api/JsiSkRuntimeShaderBuilder.h +83 -0
- package/cpp/api/JsiSkSVG.h +50 -0
- package/cpp/api/JsiSkSVGFactory.h +49 -0
- package/cpp/api/JsiSkShader.h +32 -0
- package/cpp/api/JsiSkShaderFactory.h +226 -0
- package/cpp/api/JsiSkStrutStyle.h +103 -0
- package/cpp/api/JsiSkSurface.h +74 -0
- package/cpp/api/JsiSkSurfaceFactory.h +58 -0
- package/cpp/api/JsiSkTextBlob.h +31 -0
- package/cpp/api/JsiSkTextBlobFactory.h +110 -0
- package/cpp/api/JsiSkTextStyle.h +185 -0
- package/cpp/api/JsiSkTypeface.h +67 -0
- package/cpp/api/JsiSkTypefaceFactory.h +36 -0
- package/cpp/api/JsiSkTypefaceFontProvider.h +92 -0
- package/cpp/api/JsiSkTypefaceFontProviderFactory.h +32 -0
- package/cpp/api/JsiSkVertices.h +144 -0
- package/cpp/api/JsiVideo.h +119 -0
- package/cpp/api/third_party/CSSColorParser.cpp +181 -0
- package/cpp/api/third_party/CSSColorParser.h +210 -0
- package/cpp/api/third_party/base64.cpp +153 -0
- package/cpp/api/third_party/base64.h +50 -0
- package/cpp/jsi/JsiHostObject.cpp +150 -0
- package/cpp/jsi/JsiHostObject.h +391 -0
- package/cpp/jsi/JsiPromises.cpp +39 -0
- package/cpp/jsi/JsiPromises.h +50 -0
- package/cpp/jsi/JsiValue.cpp +346 -0
- package/cpp/jsi/JsiValue.h +222 -0
- package/cpp/jsi/JsiValueWrapper.h +164 -0
- package/cpp/jsi/RuntimeAwareCache.cpp +7 -0
- package/cpp/jsi/RuntimeAwareCache.h +101 -0
- package/cpp/jsi/RuntimeLifecycleMonitor.cpp +57 -0
- package/cpp/jsi/RuntimeLifecycleMonitor.h +32 -0
- package/cpp/rnskia/RNSkDispatchQueue.cpp +73 -0
- package/cpp/rnskia/RNSkDispatchQueue.h +49 -0
- package/cpp/rnskia/RNSkDomView.cpp +220 -0
- package/cpp/rnskia/RNSkDomView.h +140 -0
- package/cpp/rnskia/RNSkInfoParameter.h +92 -0
- package/cpp/rnskia/RNSkJsiViewApi.h +286 -0
- package/cpp/rnskia/RNSkManager.cpp +87 -0
- package/cpp/rnskia/RNSkManager.h +83 -0
- package/cpp/rnskia/RNSkPictureView.h +124 -0
- package/cpp/rnskia/RNSkPlatformContext.h +265 -0
- package/cpp/rnskia/RNSkVideo.h +28 -0
- package/cpp/rnskia/RNSkView.h +308 -0
- package/cpp/rnskia/dom/JsiDomApi.h +165 -0
- package/cpp/rnskia/dom/base/BaseNodeProp.h +72 -0
- package/cpp/rnskia/dom/base/ConcatablePaint.cpp +117 -0
- package/cpp/rnskia/dom/base/ConcatablePaint.h +49 -0
- package/cpp/rnskia/dom/base/Declaration.h +86 -0
- package/cpp/rnskia/dom/base/DeclarationContext.h +79 -0
- package/cpp/rnskia/dom/base/DerivedNodeProp.h +203 -0
- package/cpp/rnskia/dom/base/DrawingContext.cpp +55 -0
- package/cpp/rnskia/dom/base/DrawingContext.h +104 -0
- package/cpp/rnskia/dom/base/JsiDomDeclarationNode.h +119 -0
- package/cpp/rnskia/dom/base/JsiDomDrawingNode.h +71 -0
- package/cpp/rnskia/dom/base/JsiDomNode.h +572 -0
- package/cpp/rnskia/dom/base/JsiDomRenderNode.h +262 -0
- package/cpp/rnskia/dom/base/NodeProp.h +139 -0
- package/cpp/rnskia/dom/base/NodePropsContainer.h +158 -0
- package/cpp/rnskia/dom/nodes/JsiAtlasNode.h +59 -0
- package/cpp/rnskia/dom/nodes/JsiBackdropFilterNode.h +49 -0
- package/cpp/rnskia/dom/nodes/JsiBlendNode.h +94 -0
- package/cpp/rnskia/dom/nodes/JsiBlurMaskNode.h +75 -0
- package/cpp/rnskia/dom/nodes/JsiBoxNode.h +94 -0
- package/cpp/rnskia/dom/nodes/JsiBoxShadowNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiCircleNode.h +35 -0
- package/cpp/rnskia/dom/nodes/JsiColorFilterNodes.h +164 -0
- package/cpp/rnskia/dom/nodes/JsiDiffRectNode.h +37 -0
- package/cpp/rnskia/dom/nodes/JsiFillNode.h +22 -0
- package/cpp/rnskia/dom/nodes/JsiGlyphsNode.h +53 -0
- package/cpp/rnskia/dom/nodes/JsiGroupNode.h +25 -0
- package/cpp/rnskia/dom/nodes/JsiImageFilterNodes.h +361 -0
- package/cpp/rnskia/dom/nodes/JsiImageNode.h +38 -0
- package/cpp/rnskia/dom/nodes/JsiImageSvgNode.h +63 -0
- package/cpp/rnskia/dom/nodes/JsiLayerNode.h +74 -0
- package/cpp/rnskia/dom/nodes/JsiLineNode.h +38 -0
- package/cpp/rnskia/dom/nodes/JsiOvalNode.h +32 -0
- package/cpp/rnskia/dom/nodes/JsiPaintNode.h +119 -0
- package/cpp/rnskia/dom/nodes/JsiParagraphNode.h +62 -0
- package/cpp/rnskia/dom/nodes/JsiPatchNode.h +50 -0
- package/cpp/rnskia/dom/nodes/JsiPathEffectNodes.h +268 -0
- package/cpp/rnskia/dom/nodes/JsiPathNode.h +181 -0
- package/cpp/rnskia/dom/nodes/JsiPictureNode.h +31 -0
- package/cpp/rnskia/dom/nodes/JsiPointsNode.h +48 -0
- package/cpp/rnskia/dom/nodes/JsiRRectNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiRectNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiShaderNodes.h +463 -0
- package/cpp/rnskia/dom/nodes/JsiTextBlobNode.h +44 -0
- package/cpp/rnskia/dom/nodes/JsiTextNode.h +51 -0
- package/cpp/rnskia/dom/nodes/JsiTextPathNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiVerticesNode.h +41 -0
- package/cpp/rnskia/dom/props/BezierProps.h +65 -0
- package/cpp/rnskia/dom/props/BlendModeProp.h +103 -0
- package/cpp/rnskia/dom/props/BoxShadowProps.h +62 -0
- package/cpp/rnskia/dom/props/CircleProp.h +49 -0
- package/cpp/rnskia/dom/props/ClipProp.h +57 -0
- package/cpp/rnskia/dom/props/ColorProp.h +96 -0
- package/cpp/rnskia/dom/props/FontProp.h +42 -0
- package/cpp/rnskia/dom/props/GlyphsProp.h +55 -0
- package/cpp/rnskia/dom/props/LayerProp.h +52 -0
- package/cpp/rnskia/dom/props/MatrixProp.h +54 -0
- package/cpp/rnskia/dom/props/NumbersProp.h +67 -0
- package/cpp/rnskia/dom/props/PaintProps.h +133 -0
- package/cpp/rnskia/dom/props/ParagraphProp.h +45 -0
- package/cpp/rnskia/dom/props/PathProp.h +59 -0
- package/cpp/rnskia/dom/props/PictureProp.h +40 -0
- package/cpp/rnskia/dom/props/PointProp.h +65 -0
- package/cpp/rnskia/dom/props/PointsProp.h +81 -0
- package/cpp/rnskia/dom/props/RRectProp.h +222 -0
- package/cpp/rnskia/dom/props/RSXformProp.h +52 -0
- package/cpp/rnskia/dom/props/RadiusProp.h +43 -0
- package/cpp/rnskia/dom/props/RectProp.h +164 -0
- package/cpp/rnskia/dom/props/SkImageProps.h +196 -0
- package/cpp/rnskia/dom/props/StrokeProps.h +79 -0
- package/cpp/rnskia/dom/props/SvgProp.h +45 -0
- package/cpp/rnskia/dom/props/TextBlobProp.h +133 -0
- package/cpp/rnskia/dom/props/TileModeProp.h +52 -0
- package/cpp/rnskia/dom/props/TransformProp.h +147 -0
- package/cpp/rnskia/dom/props/TransformsProps.h +66 -0
- package/cpp/rnskia/dom/props/UniformsProp.h +159 -0
- package/cpp/rnskia/dom/props/VertexModeProp.h +49 -0
- package/cpp/rnskia/dom/props/VerticesProps.h +63 -0
- package/cpp/skia/include/android/AHardwareBufferUtils.h +23 -0
- package/cpp/skia/include/android/GrAHardwareBufferUtils.h +101 -0
- package/cpp/skia/include/android/SkAndroidFrameworkUtils.h +89 -0
- package/cpp/skia/include/android/SkAnimatedImage.h +179 -0
- package/cpp/skia/include/android/SkCanvasAndroid.h +20 -0
- package/cpp/skia/include/android/SkHeifDecoder.h +50 -0
- package/cpp/skia/include/android/SkImageAndroid.h +101 -0
- package/cpp/skia/include/android/SkSurfaceAndroid.h +50 -0
- package/cpp/skia/include/android/graphite/SurfaceAndroid.h +59 -0
- package/cpp/skia/include/codec/SkAndroidCodec.h +297 -0
- package/cpp/skia/include/codec/SkAvifDecoder.h +44 -0
- package/cpp/skia/include/codec/SkBmpDecoder.h +44 -0
- package/cpp/skia/include/codec/SkCodec.h +1061 -0
- package/cpp/skia/include/codec/SkCodecAnimation.h +61 -0
- package/cpp/skia/include/codec/SkEncodedImageFormat.h +33 -0
- package/cpp/skia/include/codec/SkEncodedOrigin.h +54 -0
- package/cpp/skia/include/codec/SkGifDecoder.h +44 -0
- package/cpp/skia/include/codec/SkIcoDecoder.h +44 -0
- package/cpp/skia/include/codec/SkJpegDecoder.h +44 -0
- package/cpp/skia/include/codec/SkJpegxlDecoder.h +44 -0
- package/cpp/skia/include/codec/SkPixmapUtils.h +31 -0
- package/cpp/skia/include/codec/SkPngChunkReader.h +45 -0
- package/cpp/skia/include/codec/SkPngDecoder.h +44 -0
- package/cpp/skia/include/codec/SkRawDecoder.h +50 -0
- package/cpp/skia/include/codec/SkWbmpDecoder.h +44 -0
- package/cpp/skia/include/codec/SkWebpDecoder.h +44 -0
- package/cpp/skia/include/config/SkUserConfig.h +121 -0
- package/cpp/skia/include/core/SkAlphaType.h +45 -0
- package/cpp/skia/include/core/SkAnnotation.h +52 -0
- package/cpp/skia/include/core/SkBBHFactory.h +67 -0
- package/cpp/skia/include/core/SkBitmap.h +1265 -0
- package/cpp/skia/include/core/SkBlendMode.h +112 -0
- package/cpp/skia/include/core/SkBlender.h +31 -0
- package/cpp/skia/include/core/SkBlurTypes.h +20 -0
- package/cpp/skia/include/core/SkCanvas.h +2629 -0
- package/cpp/skia/include/core/SkCanvasVirtualEnforcer.h +61 -0
- package/cpp/skia/include/core/SkCapabilities.h +39 -0
- package/cpp/skia/include/core/SkClipOp.h +19 -0
- package/cpp/skia/include/core/SkColor.h +447 -0
- package/cpp/skia/include/core/SkColorFilter.h +150 -0
- package/cpp/skia/include/core/SkColorPriv.h +167 -0
- package/cpp/skia/include/core/SkColorSpace.h +242 -0
- package/cpp/skia/include/core/SkColorTable.h +62 -0
- package/cpp/skia/include/core/SkColorType.h +69 -0
- package/cpp/skia/include/core/SkContourMeasure.h +139 -0
- package/cpp/skia/include/core/SkCoverageMode.h +28 -0
- package/cpp/skia/include/core/SkCubicMap.h +47 -0
- package/cpp/skia/include/core/SkData.h +191 -0
- package/cpp/skia/include/core/SkDataTable.h +122 -0
- package/cpp/skia/include/core/SkDocument.h +93 -0
- package/cpp/skia/include/core/SkDrawLooper.h +135 -0
- package/cpp/skia/include/core/SkDrawable.h +178 -0
- package/cpp/skia/include/core/SkExecutor.h +41 -0
- package/cpp/skia/include/core/SkFlattenable.h +115 -0
- package/cpp/skia/include/core/SkFont.h +539 -0
- package/cpp/skia/include/core/SkFontArguments.h +94 -0
- package/cpp/skia/include/core/SkFontMetrics.h +139 -0
- package/cpp/skia/include/core/SkFontMgr.h +143 -0
- package/cpp/skia/include/core/SkFontParameters.h +42 -0
- package/cpp/skia/include/core/SkFontStyle.h +84 -0
- package/cpp/skia/include/core/SkFontTypes.h +25 -0
- package/cpp/skia/include/core/SkGraphics.h +169 -0
- package/cpp/skia/include/core/SkImage.h +939 -0
- package/cpp/skia/include/core/SkImageFilter.h +119 -0
- package/cpp/skia/include/core/SkImageGenerator.h +148 -0
- package/cpp/skia/include/core/SkImageInfo.h +614 -0
- package/cpp/skia/include/core/SkM44.h +442 -0
- package/cpp/skia/include/core/SkMallocPixelRef.h +45 -0
- package/cpp/skia/include/core/SkMaskFilter.h +53 -0
- package/cpp/skia/include/core/SkMatrix.h +1996 -0
- package/cpp/skia/include/core/SkMesh.h +429 -0
- package/cpp/skia/include/core/SkMilestone.h +9 -0
- package/cpp/skia/include/core/SkOpenTypeSVGDecoder.h +30 -0
- package/cpp/skia/include/core/SkOverdrawCanvas.h +94 -0
- package/cpp/skia/include/core/SkPaint.h +695 -0
- package/cpp/skia/include/core/SkPath.h +1909 -0
- package/cpp/skia/include/core/SkPathBuilder.h +271 -0
- package/cpp/skia/include/core/SkPathEffect.h +113 -0
- package/cpp/skia/include/core/SkPathMeasure.h +94 -0
- package/cpp/skia/include/core/SkPathTypes.h +57 -0
- package/cpp/skia/include/core/SkPathUtils.h +42 -0
- package/cpp/skia/include/core/SkPicture.h +291 -0
- package/cpp/skia/include/core/SkPictureRecorder.h +115 -0
- package/cpp/skia/include/core/SkPixelRef.h +119 -0
- package/cpp/skia/include/core/SkPixmap.h +731 -0
- package/cpp/skia/include/core/SkPoint.h +10 -0
- package/cpp/skia/include/core/SkPoint3.h +159 -0
- package/cpp/skia/include/core/SkRRect.h +516 -0
- package/cpp/skia/include/core/SkRSXform.h +71 -0
- package/cpp/skia/include/core/SkRasterHandleAllocator.h +94 -0
- package/cpp/skia/include/core/SkRect.h +1385 -0
- package/cpp/skia/include/core/SkRefCnt.h +389 -0
- package/cpp/skia/include/core/SkRegion.h +684 -0
- package/cpp/skia/include/core/SkSamplingOptions.h +107 -0
- package/cpp/skia/include/core/SkScalar.h +173 -0
- package/cpp/skia/include/core/SkSerialProcs.h +117 -0
- package/cpp/skia/include/core/SkShader.h +95 -0
- package/cpp/skia/include/core/SkSize.h +92 -0
- package/cpp/skia/include/core/SkSpan.h +13 -0
- package/cpp/skia/include/core/SkStream.h +513 -0
- package/cpp/skia/include/core/SkString.h +293 -0
- package/cpp/skia/include/core/SkStrokeRec.h +154 -0
- package/cpp/skia/include/core/SkSurface.h +659 -0
- package/cpp/skia/include/core/SkSurfaceProps.h +111 -0
- package/cpp/skia/include/core/SkSwizzle.h +19 -0
- package/cpp/skia/include/core/SkTextBlob.h +519 -0
- package/cpp/skia/include/core/SkTextureCompressionType.h +30 -0
- package/cpp/skia/include/core/SkTileMode.h +41 -0
- package/cpp/skia/include/core/SkTiledImageUtils.h +125 -0
- package/cpp/skia/include/core/SkTraceMemoryDump.h +114 -0
- package/cpp/skia/include/core/SkTypeface.h +434 -0
- package/cpp/skia/include/core/SkTypes.h +199 -0
- package/cpp/skia/include/core/SkUnPreMultiply.h +56 -0
- package/cpp/skia/include/core/SkVertices.h +134 -0
- package/cpp/skia/include/core/SkYUVAInfo.h +308 -0
- package/cpp/skia/include/core/SkYUVAPixmaps.h +337 -0
- package/cpp/skia/include/docs/SkMultiPictureDocument.h +53 -0
- package/cpp/skia/include/docs/SkPDFDocument.h +227 -0
- package/cpp/skia/include/docs/SkXPSDocument.h +27 -0
- package/cpp/skia/include/effects/Sk1DPathEffect.h +40 -0
- package/cpp/skia/include/effects/Sk2DPathEffect.h +33 -0
- package/cpp/skia/include/effects/SkBlenders.h +27 -0
- package/cpp/skia/include/effects/SkBlurDrawLooper.h +26 -0
- package/cpp/skia/include/effects/SkBlurMaskFilter.h +35 -0
- package/cpp/skia/include/effects/SkColorMatrix.h +57 -0
- package/cpp/skia/include/effects/SkColorMatrixFilter.h +22 -0
- package/cpp/skia/include/effects/SkCornerPathEffect.h +32 -0
- package/cpp/skia/include/effects/SkDashPathEffect.h +43 -0
- package/cpp/skia/include/effects/SkDiscretePathEffect.h +37 -0
- package/cpp/skia/include/effects/SkGradientShader.h +354 -0
- package/cpp/skia/include/effects/SkHighContrastFilter.h +84 -0
- package/cpp/skia/include/effects/SkImageFilters.h +615 -0
- package/cpp/skia/include/effects/SkLayerDrawLooper.h +161 -0
- package/cpp/skia/include/effects/SkLumaColorFilter.h +37 -0
- package/cpp/skia/include/effects/SkOverdrawColorFilter.h +32 -0
- package/cpp/skia/include/effects/SkPerlinNoiseShader.h +53 -0
- package/cpp/skia/include/effects/SkRuntimeEffect.h +514 -0
- package/cpp/skia/include/effects/SkShaderMaskFilter.h +26 -0
- package/cpp/skia/include/effects/SkTableMaskFilter.h +41 -0
- package/cpp/skia/include/effects/SkTrimPathEffect.h +45 -0
- package/cpp/skia/include/encode/SkEncoder.h +63 -0
- package/cpp/skia/include/encode/SkICC.h +36 -0
- package/cpp/skia/include/encode/SkJpegEncoder.h +128 -0
- package/cpp/skia/include/encode/SkPngEncoder.h +117 -0
- package/cpp/skia/include/encode/SkWebpEncoder.h +92 -0
- package/cpp/skia/include/gpu/GpuTypes.h +85 -0
- package/cpp/skia/include/gpu/GrBackendSemaphore.h +126 -0
- package/cpp/skia/include/gpu/GrBackendSurface.h +472 -0
- package/cpp/skia/include/gpu/GrContextOptions.h +374 -0
- package/cpp/skia/include/gpu/GrContextThreadSafeProxy.h +185 -0
- package/cpp/skia/include/gpu/GrDirectContext.h +1017 -0
- package/cpp/skia/include/gpu/GrDriverBugWorkarounds.h +53 -0
- package/cpp/skia/include/gpu/GrDriverBugWorkaroundsAutogen.h +45 -0
- package/cpp/skia/include/gpu/GrRecordingContext.h +285 -0
- package/cpp/skia/include/gpu/GrTypes.h +244 -0
- package/cpp/skia/include/gpu/GrYUVABackendTextures.h +124 -0
- package/cpp/skia/include/gpu/MutableTextureState.h +68 -0
- package/cpp/skia/include/gpu/ShaderErrorHandler.h +46 -0
- package/cpp/skia/include/gpu/d3d/GrD3DBackendContext.h +35 -0
- package/cpp/skia/include/gpu/d3d/GrD3DTypes.h +248 -0
- package/cpp/skia/include/gpu/ganesh/GrExternalTextureGenerator.h +54 -0
- package/cpp/skia/include/gpu/ganesh/SkImageGanesh.h +361 -0
- package/cpp/skia/include/gpu/ganesh/SkMeshGanesh.h +57 -0
- package/cpp/skia/include/gpu/ganesh/SkSurfaceGanesh.h +218 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLBackendSurface.h +58 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLDirectContext.h +30 -0
- package/cpp/skia/include/gpu/ganesh/mtl/SkSurfaceMetal.h +73 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrBackendDrawableInfo.h +46 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSemaphore.h +20 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSurface.h +67 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkDirectContext.h +30 -0
- package/cpp/skia/include/gpu/gl/GrGLAssembleHelpers.h +15 -0
- package/cpp/skia/include/gpu/gl/GrGLAssembleInterface.h +44 -0
- package/cpp/skia/include/gpu/gl/GrGLConfig.h +79 -0
- package/cpp/skia/include/gpu/gl/GrGLConfig_chrome.h +14 -0
- package/cpp/skia/include/gpu/gl/GrGLExtensions.h +78 -0
- package/cpp/skia/include/gpu/gl/GrGLFunctions.h +307 -0
- package/cpp/skia/include/gpu/gl/GrGLInterface.h +338 -0
- package/cpp/skia/include/gpu/gl/GrGLTypes.h +219 -0
- package/cpp/skia/include/gpu/gl/egl/GrGLMakeEGLInterface.h +23 -0
- package/cpp/skia/include/gpu/gl/glx/GrGLMakeGLXInterface.h +23 -0
- package/cpp/skia/include/gpu/graphite/BackendSemaphore.h +78 -0
- package/cpp/skia/include/gpu/graphite/BackendTexture.h +164 -0
- package/cpp/skia/include/gpu/graphite/Context.h +281 -0
- package/cpp/skia/include/gpu/graphite/ContextOptions.h +102 -0
- package/cpp/skia/include/gpu/graphite/GraphiteTypes.h +129 -0
- package/cpp/skia/include/gpu/graphite/Image.h +352 -0
- package/cpp/skia/include/gpu/graphite/ImageProvider.h +68 -0
- package/cpp/skia/include/gpu/graphite/Recorder.h +251 -0
- package/cpp/skia/include/gpu/graphite/Recording.h +95 -0
- package/cpp/skia/include/gpu/graphite/Surface.h +86 -0
- package/cpp/skia/include/gpu/graphite/TextureInfo.h +168 -0
- package/cpp/skia/include/gpu/graphite/YUVABackendTextures.h +139 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnBackendContext.h +68 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnTypes.h +45 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnUtils.h +28 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlBackendContext.h +25 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteTypes.h +68 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteUtils.h +27 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteTypes.h +64 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteUtils.h +28 -0
- package/cpp/skia/include/gpu/mock/GrMockTypes.h +163 -0
- package/cpp/skia/include/gpu/mtl/GrMtlBackendContext.h +21 -0
- package/cpp/skia/include/gpu/mtl/GrMtlTypes.h +63 -0
- package/cpp/skia/include/gpu/mtl/MtlMemoryAllocator.h +39 -0
- package/cpp/skia/include/gpu/vk/GrVkBackendContext.h +84 -0
- package/cpp/skia/include/gpu/vk/GrVkExtensions.h +15 -0
- package/cpp/skia/include/gpu/vk/GrVkMemoryAllocator.h +15 -0
- package/cpp/skia/include/gpu/vk/GrVkTypes.h +107 -0
- package/cpp/skia/include/gpu/vk/VulkanBackendContext.h +52 -0
- package/cpp/skia/include/gpu/vk/VulkanExtensions.h +67 -0
- package/cpp/skia/include/gpu/vk/VulkanMemoryAllocator.h +114 -0
- package/cpp/skia/include/gpu/vk/VulkanMutableTextureState.h +26 -0
- package/cpp/skia/include/gpu/vk/VulkanTypes.h +113 -0
- package/cpp/skia/include/pathops/SkPathOps.h +113 -0
- package/cpp/skia/include/ports/SkCFObject.h +180 -0
- package/cpp/skia/include/ports/SkFontConfigInterface.h +112 -0
- package/cpp/skia/include/ports/SkFontMgr_FontConfigInterface.h +20 -0
- package/cpp/skia/include/ports/SkFontMgr_android.h +45 -0
- package/cpp/skia/include/ports/SkFontMgr_data.h +22 -0
- package/cpp/skia/include/ports/SkFontMgr_directory.h +21 -0
- package/cpp/skia/include/ports/SkFontMgr_empty.h +21 -0
- package/cpp/skia/include/ports/SkFontMgr_fontconfig.h +22 -0
- package/cpp/skia/include/ports/SkFontMgr_fuchsia.h +19 -0
- package/cpp/skia/include/ports/SkFontMgr_indirect.h +102 -0
- package/cpp/skia/include/ports/SkFontMgr_mac_ct.h +27 -0
- package/cpp/skia/include/ports/SkImageGeneratorCG.h +26 -0
- package/cpp/skia/include/ports/SkImageGeneratorNDK.h +40 -0
- package/cpp/skia/include/ports/SkImageGeneratorWIC.h +41 -0
- package/cpp/skia/include/ports/SkRemotableFontMgr.h +139 -0
- package/cpp/skia/include/ports/SkTypeface_fontations.h +21 -0
- package/cpp/skia/include/ports/SkTypeface_mac.h +44 -0
- package/cpp/skia/include/ports/SkTypeface_win.h +80 -0
- package/cpp/skia/include/private/SkColorData.h +385 -0
- package/cpp/skia/include/private/SkEncodedInfo.h +277 -0
- package/cpp/skia/include/private/SkExif.h +102 -0
- package/cpp/skia/include/private/SkGainmapInfo.h +100 -0
- package/cpp/skia/include/private/SkGainmapShader.h +54 -0
- package/cpp/skia/include/private/SkIDChangeListener.h +76 -0
- package/cpp/skia/include/private/SkJpegGainmapEncoder.h +48 -0
- package/cpp/skia/include/private/SkJpegMetadataDecoder.h +79 -0
- package/cpp/skia/include/private/SkPathRef.h +537 -0
- package/cpp/skia/include/private/SkSLSampleUsage.h +85 -0
- package/cpp/skia/include/private/SkWeakRefCnt.h +173 -0
- package/cpp/skia/include/private/SkXmp.h +53 -0
- package/cpp/skia/include/private/base/README.md +4 -0
- package/cpp/skia/include/private/base/SingleOwner.h +75 -0
- package/cpp/skia/include/private/base/SkAPI.h +52 -0
- package/cpp/skia/include/private/base/SkAlign.h +39 -0
- package/cpp/skia/include/private/base/SkAlignedStorage.h +32 -0
- package/cpp/skia/include/private/base/SkAnySubclass.h +73 -0
- package/cpp/skia/include/private/base/SkAssert.h +202 -0
- package/cpp/skia/include/private/base/SkAttributes.h +90 -0
- package/cpp/skia/include/private/base/SkCPUTypes.h +25 -0
- package/cpp/skia/include/private/base/SkContainers.h +46 -0
- package/cpp/skia/include/private/base/SkDebug.h +27 -0
- package/cpp/skia/include/private/base/SkDeque.h +138 -0
- package/cpp/skia/include/private/base/SkFeatures.h +144 -0
- package/cpp/skia/include/private/base/SkFixed.h +143 -0
- package/cpp/skia/include/private/base/SkFloatBits.h +90 -0
- package/cpp/skia/include/private/base/SkFloatingPoint.h +198 -0
- package/cpp/skia/include/private/base/SkLoadUserConfig.h +63 -0
- package/cpp/skia/include/private/base/SkMacros.h +94 -0
- package/cpp/skia/include/private/base/SkMalloc.h +144 -0
- package/cpp/skia/include/private/base/SkMath.h +77 -0
- package/cpp/skia/include/private/base/SkMutex.h +64 -0
- package/cpp/skia/include/private/base/SkNoncopyable.h +30 -0
- package/cpp/skia/include/private/base/SkOnce.h +55 -0
- package/cpp/skia/include/private/base/SkPoint_impl.h +569 -0
- package/cpp/skia/include/private/base/SkSafe32.h +49 -0
- package/cpp/skia/include/private/base/SkSemaphore.h +84 -0
- package/cpp/skia/include/private/base/SkSpan_impl.h +131 -0
- package/cpp/skia/include/private/base/SkTArray.h +740 -0
- package/cpp/skia/include/private/base/SkTDArray.h +235 -0
- package/cpp/skia/include/private/base/SkTFitsIn.h +105 -0
- package/cpp/skia/include/private/base/SkTLogic.h +56 -0
- package/cpp/skia/include/private/base/SkTPin.h +23 -0
- package/cpp/skia/include/private/base/SkTemplates.h +446 -0
- package/cpp/skia/include/private/base/SkThreadAnnotations.h +104 -0
- package/cpp/skia/include/private/base/SkThreadID.h +23 -0
- package/cpp/skia/include/private/base/SkTo.h +39 -0
- package/cpp/skia/include/private/base/SkTypeTraits.h +33 -0
- package/cpp/skia/include/private/chromium/GrDeferredDisplayList.h +120 -0
- package/cpp/skia/include/private/chromium/GrDeferredDisplayListRecorder.h +101 -0
- package/cpp/skia/include/private/chromium/GrPromiseImageTexture.h +43 -0
- package/cpp/skia/include/private/chromium/GrSurfaceCharacterization.h +211 -0
- package/cpp/skia/include/private/chromium/GrVkSecondaryCBDrawContext.h +131 -0
- package/cpp/skia/include/private/chromium/SkChromeRemoteGlyphCache.h +153 -0
- package/cpp/skia/include/private/chromium/SkDiscardableMemory.h +70 -0
- package/cpp/skia/include/private/chromium/SkImageChromium.h +117 -0
- package/cpp/skia/include/private/chromium/Slug.h +78 -0
- package/cpp/skia/include/private/gpu/ganesh/GrContext_Base.h +104 -0
- package/cpp/skia/include/private/gpu/ganesh/GrD3DTypesMinimal.h +74 -0
- package/cpp/skia/include/private/gpu/ganesh/GrImageContext.h +56 -0
- package/cpp/skia/include/private/gpu/ganesh/GrTextureGenerator.h +66 -0
- package/cpp/skia/include/private/gpu/ganesh/GrTypesPriv.h +1029 -0
- package/cpp/skia/include/private/gpu/graphite/ContextOptionsPriv.h +69 -0
- package/cpp/skia/include/private/gpu/graphite/DawnTypesPriv.h +54 -0
- package/cpp/skia/include/private/gpu/graphite/MtlGraphiteTypesPriv.h +95 -0
- package/cpp/skia/include/private/gpu/graphite/VulkanGraphiteTypesPriv.h +83 -0
- package/cpp/skia/include/private/gpu/vk/SkiaVulkan.h +36 -0
- package/cpp/skia/include/sksl/SkSLDebugTrace.h +28 -0
- package/cpp/skia/include/sksl/SkSLVersion.h +27 -0
- package/cpp/skia/include/svg/SkSVGCanvas.h +42 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_platform.h +84 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std.h +312 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_decode.h +77 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std.h +446 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_decode.h +67 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codecs_common.h +36 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan.h +99 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_android.h +153 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_core.h +18448 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ios.h +48 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_macos.h +48 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_win32.h +342 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xcb.h +56 -0
- package/cpp/skia/include/utils/SkCamera.h +109 -0
- package/cpp/skia/include/utils/SkCanvasStateUtils.h +81 -0
- package/cpp/skia/include/utils/SkCustomTypeface.h +69 -0
- package/cpp/skia/include/utils/SkEventTracer.h +90 -0
- package/cpp/skia/include/utils/SkNWayCanvas.h +123 -0
- package/cpp/skia/include/utils/SkNoDrawCanvas.h +78 -0
- package/cpp/skia/include/utils/SkNullCanvas.h +22 -0
- package/cpp/skia/include/utils/SkOrderedFontMgr.h +66 -0
- package/cpp/skia/include/utils/SkPaintFilterCanvas.h +140 -0
- package/cpp/skia/include/utils/SkParse.h +37 -0
- package/cpp/skia/include/utils/SkParsePath.h +25 -0
- package/cpp/skia/include/utils/SkShadowUtils.h +102 -0
- package/cpp/skia/include/utils/SkTextUtils.h +43 -0
- package/cpp/skia/include/utils/SkTraceEventPhase.h +19 -0
- package/cpp/skia/include/utils/mac/SkCGUtils.h +90 -0
- package/cpp/skia/modules/skcms/skcms.h +10 -0
- package/cpp/skia/modules/skcms/src/Transform_inl.h +1555 -0
- package/cpp/skia/modules/skcms/src/skcms_Transform.h +161 -0
- package/cpp/skia/modules/skcms/src/skcms_internals.h +136 -0
- package/cpp/skia/modules/skcms/src/skcms_public.h +404 -0
- package/cpp/skia/modules/skparagraph/include/DartTypes.h +153 -0
- package/cpp/skia/modules/skparagraph/include/FontArguments.h +46 -0
- package/cpp/skia/modules/skparagraph/include/FontCollection.h +86 -0
- package/cpp/skia/modules/skparagraph/include/Metrics.h +98 -0
- package/cpp/skia/modules/skparagraph/include/Paragraph.h +289 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphBuilder.h +86 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphCache.h +67 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphPainter.h +63 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphStyle.h +147 -0
- package/cpp/skia/modules/skparagraph/include/TextShadow.h +30 -0
- package/cpp/skia/modules/skparagraph/include/TextStyle.h +380 -0
- package/cpp/skia/modules/skparagraph/include/TypefaceFontProvider.h +81 -0
- package/cpp/skia/modules/skresources/include/SkResources.h +289 -0
- package/cpp/skia/modules/skunicode/include/SkUnicode.h +324 -0
- package/cpp/skia/modules/svg/include/SkSVGAttribute.h +113 -0
- package/cpp/skia/modules/svg/include/SkSVGAttributeParser.h +164 -0
- package/cpp/skia/modules/svg/include/SkSVGCircle.h +43 -0
- package/cpp/skia/modules/svg/include/SkSVGClipPath.h +35 -0
- package/cpp/skia/modules/svg/include/SkSVGContainer.h +36 -0
- package/cpp/skia/modules/svg/include/SkSVGDOM.h +103 -0
- package/cpp/skia/modules/svg/include/SkSVGDefs.h +23 -0
- package/cpp/skia/modules/svg/include/SkSVGEllipse.h +41 -0
- package/cpp/skia/modules/svg/include/SkSVGFe.h +85 -0
- package/cpp/skia/modules/svg/include/SkSVGFeBlend.h +45 -0
- package/cpp/skia/modules/svg/include/SkSVGFeColorMatrix.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGFeComposite.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGFeDisplacementMap.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGFeFlood.h +32 -0
- package/cpp/skia/modules/svg/include/SkSVGFeGaussianBlur.h +41 -0
- package/cpp/skia/modules/svg/include/SkSVGFeImage.h +35 -0
- package/cpp/skia/modules/svg/include/SkSVGFeLightSource.h +89 -0
- package/cpp/skia/modules/svg/include/SkSVGFeLighting.h +121 -0
- package/cpp/skia/modules/svg/include/SkSVGFeMorphology.h +47 -0
- package/cpp/skia/modules/svg/include/SkSVGFeOffset.h +35 -0
- package/cpp/skia/modules/svg/include/SkSVGFeTurbulence.h +40 -0
- package/cpp/skia/modules/svg/include/SkSVGFilter.h +39 -0
- package/cpp/skia/modules/svg/include/SkSVGFilterContext.h +69 -0
- package/cpp/skia/modules/svg/include/SkSVGG.h +23 -0
- package/cpp/skia/modules/svg/include/SkSVGGradient.h +48 -0
- package/cpp/skia/modules/svg/include/SkSVGHiddenContainer.h +23 -0
- package/cpp/skia/modules/svg/include/SkSVGIDMapper.h +19 -0
- package/cpp/skia/modules/svg/include/SkSVGImage.h +58 -0
- package/cpp/skia/modules/svg/include/SkSVGLine.h +42 -0
- package/cpp/skia/modules/svg/include/SkSVGLinearGradient.h +37 -0
- package/cpp/skia/modules/svg/include/SkSVGMask.h +43 -0
- package/cpp/skia/modules/svg/include/SkSVGNode.h +223 -0
- package/cpp/skia/modules/svg/include/SkSVGOpenTypeSVGDecoder.h +32 -0
- package/cpp/skia/modules/svg/include/SkSVGPath.h +36 -0
- package/cpp/skia/modules/svg/include/SkSVGPattern.h +55 -0
- package/cpp/skia/modules/svg/include/SkSVGPoly.h +45 -0
- package/cpp/skia/modules/svg/include/SkSVGRadialGradient.h +38 -0
- package/cpp/skia/modules/svg/include/SkSVGRect.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGRenderContext.h +191 -0
- package/cpp/skia/modules/svg/include/SkSVGSVG.h +54 -0
- package/cpp/skia/modules/svg/include/SkSVGShape.h +33 -0
- package/cpp/skia/modules/svg/include/SkSVGStop.h +34 -0
- package/cpp/skia/modules/svg/include/SkSVGText.h +122 -0
- package/cpp/skia/modules/svg/include/SkSVGTransformableNode.h +36 -0
- package/cpp/skia/modules/svg/include/SkSVGTypes.h +731 -0
- package/cpp/skia/modules/svg/include/SkSVGUse.h +42 -0
- package/cpp/skia/modules/svg/include/SkSVGValue.h +85 -0
- package/cpp/skia/src/base/SkTInternalLList.h +304 -0
- package/cpp/skia/src/base/SkUTF.h +102 -0
- package/cpp/skia/src/core/SkChecksum.h +118 -0
- package/cpp/skia/src/core/SkLRUCache.h +130 -0
- package/cpp/skia/src/core/SkPathEnums.h +25 -0
- package/cpp/skia/src/core/SkPathPriv.h +540 -0
- package/cpp/skia/src/core/SkTHash.h +617 -0
- package/cpp/skia/src/gpu/ganesh/gl/GrGLDefines.h +1158 -0
- package/cpp/utils/RNSkLog.h +82 -0
- package/cpp/utils/RNSkMeasureTime.h +32 -0
- package/cpp/utils/RNSkTimingInfo.h +107 -0
- package/cpp/utils/RNSkTypedArray.h +41 -0
- package/ios/RNSkia-iOS/DisplayLink.h +17 -0
- package/ios/RNSkia-iOS/DisplayLink.mm +34 -0
- package/ios/RNSkia-iOS/RNSkMetalCanvasProvider.h +39 -0
- package/ios/RNSkia-iOS/RNSkMetalCanvasProvider.mm +114 -0
- package/ios/RNSkia-iOS/RNSkiOSPlatformContext.h +94 -0
- package/ios/RNSkia-iOS/RNSkiOSPlatformContext.mm +198 -0
- package/ios/RNSkia-iOS/RNSkiOSVideo.h +51 -0
- package/ios/RNSkia-iOS/RNSkiOSVideo.mm +137 -0
- package/ios/RNSkia-iOS/RNSkiOSView.h +37 -0
- package/ios/RNSkia-iOS/RNSkiOSView.mm +37 -0
- package/ios/RNSkia-iOS/SkiaCVPixelBufferUtils.h +119 -0
- package/ios/RNSkia-iOS/SkiaCVPixelBufferUtils.mm +332 -0
- package/ios/RNSkia-iOS/SkiaDomView.h +7 -0
- package/ios/RNSkia-iOS/SkiaDomView.mm +64 -0
- package/ios/RNSkia-iOS/SkiaDomViewManager.h +8 -0
- package/ios/RNSkia-iOS/SkiaDomViewManager.mm +51 -0
- package/ios/RNSkia-iOS/SkiaManager.h +19 -0
- package/ios/RNSkia-iOS/SkiaManager.mm +48 -0
- package/ios/RNSkia-iOS/SkiaMetalSurfaceFactory.h +36 -0
- package/ios/RNSkia-iOS/SkiaMetalSurfaceFactory.mm +138 -0
- package/ios/RNSkia-iOS/SkiaPictureView.h +7 -0
- package/ios/RNSkia-iOS/SkiaPictureView.mm +66 -0
- package/ios/RNSkia-iOS/SkiaPictureViewManager.h +8 -0
- package/ios/RNSkia-iOS/SkiaPictureViewManager.mm +51 -0
- package/ios/RNSkia-iOS/SkiaUIView.h +40 -0
- package/ios/RNSkia-iOS/SkiaUIView.mm +231 -0
- package/ios/RNSkia-iOS/ViewScreenshotService.h +21 -0
- package/ios/RNSkia-iOS/ViewScreenshotService.mm +92 -0
- package/ios/RNSkiaModule.h +20 -0
- package/ios/RNSkiaModule.mm +53 -0
- package/ios/Rnskia.xcodeproj/project.pbxproj +281 -0
- package/ios/Rnskia.xcworkspace/contents.xcworkspacedata +7 -0
- package/jestEnv.mjs +23 -0
- package/jestSetup.js +18 -0
- package/jestSetup.mjs +22 -0
- package/lib/commonjs/Platform/IPlatform.d.ts +10 -0
- package/lib/commonjs/Platform/IPlatform.js +6 -0
- package/lib/commonjs/Platform/IPlatform.js.map +1 -0
- package/lib/commonjs/Platform/Platform.d.ts +2 -0
- package/lib/commonjs/Platform/Platform.js +18 -0
- package/lib/commonjs/Platform/Platform.js.map +1 -0
- package/lib/commonjs/Platform/Platform.web.d.ts +2 -0
- package/lib/commonjs/Platform/Platform.web.js +154 -0
- package/lib/commonjs/Platform/Platform.web.js.map +1 -0
- package/lib/commonjs/Platform/index.d.ts +1 -0
- package/lib/commonjs/Platform/index.js +17 -0
- package/lib/commonjs/Platform/index.js.map +1 -0
- package/lib/commonjs/animation/functions/index.d.ts +4 -0
- package/lib/commonjs/animation/functions/index.js +50 -0
- package/lib/commonjs/animation/functions/index.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolate.d.ts +17 -0
- package/lib/commonjs/animation/functions/interpolate.js +132 -0
- package/lib/commonjs/animation/functions/interpolate.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/commonjs/animation/functions/interpolateColors.js +35 -0
- package/lib/commonjs/animation/functions/interpolateColors.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolatePaths.d.ts +19 -0
- package/lib/commonjs/animation/functions/interpolatePaths.js +68 -0
- package/lib/commonjs/animation/functions/interpolatePaths.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolateVector.d.ts +10 -0
- package/lib/commonjs/animation/functions/interpolateVector.js +23 -0
- package/lib/commonjs/animation/functions/interpolateVector.js.map +1 -0
- package/lib/commonjs/animation/index.d.ts +1 -0
- package/lib/commonjs/animation/index.js +17 -0
- package/lib/commonjs/animation/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/DrawingNode.d.ts +14 -0
- package/lib/commonjs/dom/nodes/DrawingNode.js +69 -0
- package/lib/commonjs/dom/nodes/DrawingNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/GroupNode.d.ts +7 -0
- package/lib/commonjs/dom/nodes/GroupNode.js +22 -0
- package/lib/commonjs/dom/nodes/GroupNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/JsiSkDOM.d.ts +68 -0
- package/lib/commonjs/dom/nodes/JsiSkDOM.js +208 -0
- package/lib/commonjs/dom/nodes/JsiSkDOM.js.map +1 -0
- package/lib/commonjs/dom/nodes/LayerNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/LayerNode.js +39 -0
- package/lib/commonjs/dom/nodes/LayerNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/Node.d.ts +34 -0
- package/lib/commonjs/dom/nodes/Node.js +102 -0
- package/lib/commonjs/dom/nodes/Node.js.map +1 -0
- package/lib/commonjs/dom/nodes/PaintNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/PaintNode.js +90 -0
- package/lib/commonjs/dom/nodes/PaintNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/RenderNode.d.ts +26 -0
- package/lib/commonjs/dom/nodes/RenderNode.js +132 -0
- package/lib/commonjs/dom/nodes/RenderNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.d.ts +7 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.js +29 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Enum.js +9 -0
- package/lib/commonjs/dom/nodes/datatypes/Enum.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Fitting.d.ts +33 -0
- package/lib/commonjs/dom/nodes/datatypes/Fitting.js +141 -0
- package/lib/commonjs/dom/nodes/datatypes/Fitting.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Gradient.d.ts +252 -0
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js +54 -0
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Path.d.ts +4 -0
- package/lib/commonjs/dom/nodes/datatypes/Path.js +20 -0
- package/lib/commonjs/dom/nodes/datatypes/Path.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Radius.d.ts +3 -0
- package/lib/commonjs/dom/nodes/datatypes/Radius.js +14 -0
- package/lib/commonjs/dom/nodes/datatypes/Radius.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.d.ts +5 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.js +40 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.d.ts +3 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.js +33 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/commonjs/dom/nodes/datatypes/index.js +94 -0
- package/lib/commonjs/dom/nodes/datatypes/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.js +36 -0
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.js +42 -0
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/commonjs/dom/nodes/drawings/Box.js +82 -0
- package/lib/commonjs/dom/nodes/drawings/Box.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/CircleNode.js +32 -0
- package/lib/commonjs/dom/nodes/drawings/CircleNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/FillNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/FillNode.js +24 -0
- package/lib/commonjs/dom/nodes/drawings/FillNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/ImageNode.d.ts +25 -0
- package/lib/commonjs/dom/nodes/drawings/ImageNode.js +71 -0
- package/lib/commonjs/dom/nodes/drawings/ImageNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.d.ts +13 -0
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.js +57 -0
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/LineNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/LineNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/LineNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/OvalNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/OvalNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.js +32 -0
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PatchNode.d.ts +18 -0
- package/lib/commonjs/dom/nodes/drawings/PatchNode.js +53 -0
- package/lib/commonjs/dom/nodes/drawings/PatchNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/PathNode.js +55 -0
- package/lib/commonjs/dom/nodes/drawings/PathNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/PictureNode.js +26 -0
- package/lib/commonjs/dom/nodes/drawings/PictureNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PointsNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/PointsNode.js +30 -0
- package/lib/commonjs/dom/nodes/drawings/PointsNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js +32 -0
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/RectNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/RectNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/Text.d.ts +30 -0
- package/lib/commonjs/dom/nodes/drawings/Text.js +159 -0
- package/lib/commonjs/dom/nodes/drawings/Text.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.js +43 -0
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/commonjs/dom/nodes/drawings/index.js +204 -0
- package/lib/commonjs/dom/nodes/drawings/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/index.d.ts +3 -0
- package/lib/commonjs/dom/nodes/index.js +39 -0
- package/lib/commonjs/dom/nodes/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/BlendNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/paint/BlendNode.js +37 -0
- package/lib/commonjs/dom/nodes/paint/BlendNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/ColorFilters.d.ts +35 -0
- package/lib/commonjs/dom/nodes/paint/ColorFilters.js +102 -0
- package/lib/commonjs/dom/nodes/paint/ColorFilters.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/ImageFilters.d.ts +42 -0
- package/lib/commonjs/dom/nodes/paint/ImageFilters.js +183 -0
- package/lib/commonjs/dom/nodes/paint/ImageFilters.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/MaskFilters.d.ts +8 -0
- package/lib/commonjs/dom/nodes/paint/MaskFilters.js +26 -0
- package/lib/commonjs/dom/nodes/paint/MaskFilters.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/PathEffects.d.ts +39 -0
- package/lib/commonjs/dom/nodes/paint/PathEffects.js +136 -0
- package/lib/commonjs/dom/nodes/paint/PathEffects.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/Shaders.d.ts +43 -0
- package/lib/commonjs/dom/nodes/paint/Shaders.js +209 -0
- package/lib/commonjs/dom/nodes/paint/Shaders.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/index.d.ts +6 -0
- package/lib/commonjs/dom/nodes/paint/index.js +72 -0
- package/lib/commonjs/dom/nodes/paint/index.js.map +1 -0
- package/lib/commonjs/dom/types/ColorFilters.d.ts +12 -0
- package/lib/commonjs/dom/types/ColorFilters.js +6 -0
- package/lib/commonjs/dom/types/ColorFilters.js.map +1 -0
- package/lib/commonjs/dom/types/Common.d.ts +57 -0
- package/lib/commonjs/dom/types/Common.js +6 -0
- package/lib/commonjs/dom/types/Common.js.map +1 -0
- package/lib/commonjs/dom/types/DeclarationContext.d.ts +29 -0
- package/lib/commonjs/dom/types/DeclarationContext.js +91 -0
- package/lib/commonjs/dom/types/DeclarationContext.js.map +1 -0
- package/lib/commonjs/dom/types/DrawingContext.d.ts +22 -0
- package/lib/commonjs/dom/types/DrawingContext.js +263 -0
- package/lib/commonjs/dom/types/DrawingContext.js.map +1 -0
- package/lib/commonjs/dom/types/Drawings.d.ts +111 -0
- package/lib/commonjs/dom/types/Drawings.js +6 -0
- package/lib/commonjs/dom/types/Drawings.js.map +1 -0
- package/lib/commonjs/dom/types/ImageFilters.d.ts +37 -0
- package/lib/commonjs/dom/types/ImageFilters.js +6 -0
- package/lib/commonjs/dom/types/ImageFilters.js.map +1 -0
- package/lib/commonjs/dom/types/MaskFilters.d.ts +7 -0
- package/lib/commonjs/dom/types/MaskFilters.js +6 -0
- package/lib/commonjs/dom/types/MaskFilters.js.map +1 -0
- package/lib/commonjs/dom/types/Node.d.ts +22 -0
- package/lib/commonjs/dom/types/Node.js +6 -0
- package/lib/commonjs/dom/types/Node.js.map +1 -0
- package/lib/commonjs/dom/types/NodeType.d.ts +59 -0
- package/lib/commonjs/dom/types/NodeType.js +67 -0
- package/lib/commonjs/dom/types/NodeType.js.map +1 -0
- package/lib/commonjs/dom/types/Paragraph.d.ts +8 -0
- package/lib/commonjs/dom/types/Paragraph.js +6 -0
- package/lib/commonjs/dom/types/Paragraph.js.map +1 -0
- package/lib/commonjs/dom/types/PathEffects.d.ts +28 -0
- package/lib/commonjs/dom/types/PathEffects.js +6 -0
- package/lib/commonjs/dom/types/PathEffects.js.map +1 -0
- package/lib/commonjs/dom/types/Shaders.d.ts +59 -0
- package/lib/commonjs/dom/types/Shaders.js +6 -0
- package/lib/commonjs/dom/types/Shaders.js.map +1 -0
- package/lib/commonjs/dom/types/SkDOM.d.ts +73 -0
- package/lib/commonjs/dom/types/SkDOM.js +6 -0
- package/lib/commonjs/dom/types/SkDOM.js.map +1 -0
- package/lib/commonjs/dom/types/index.d.ts +13 -0
- package/lib/commonjs/dom/types/index.js +149 -0
- package/lib/commonjs/dom/types/index.js.map +1 -0
- package/lib/commonjs/external/ModuleProxy.d.ts +10 -0
- package/lib/commonjs/external/ModuleProxy.js +36 -0
- package/lib/commonjs/external/ModuleProxy.js.map +1 -0
- package/lib/commonjs/external/index.d.ts +1 -0
- package/lib/commonjs/external/index.js +17 -0
- package/lib/commonjs/external/index.js.map +1 -0
- package/lib/commonjs/external/reanimated/ReanimatedProxy.d.ts +3 -0
- package/lib/commonjs/external/reanimated/ReanimatedProxy.js +18 -0
- package/lib/commonjs/external/reanimated/ReanimatedProxy.js.map +1 -0
- package/lib/commonjs/external/reanimated/buffers.d.ts +7 -0
- package/lib/commonjs/external/reanimated/buffers.js +51 -0
- package/lib/commonjs/external/reanimated/buffers.js.map +1 -0
- package/lib/commonjs/external/reanimated/index.d.ts +7 -0
- package/lib/commonjs/external/reanimated/index.js +83 -0
- package/lib/commonjs/external/reanimated/index.js.map +1 -0
- package/lib/commonjs/external/reanimated/interpolators.d.ts +10 -0
- package/lib/commonjs/external/reanimated/interpolators.js +75 -0
- package/lib/commonjs/external/reanimated/interpolators.js.map +1 -0
- package/lib/commonjs/external/reanimated/renderHelpers.d.ts +6 -0
- package/lib/commonjs/external/reanimated/renderHelpers.js +127 -0
- package/lib/commonjs/external/reanimated/renderHelpers.js.map +1 -0
- package/lib/commonjs/external/reanimated/textures.d.ts +8 -0
- package/lib/commonjs/external/reanimated/textures.js +85 -0
- package/lib/commonjs/external/reanimated/textures.js.map +1 -0
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.d.ts +3 -0
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js +59 -0
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js.map +1 -0
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.d.ts +1 -0
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js +24 -0
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js.map +1 -0
- package/lib/commonjs/external/reanimated/useVideo.d.ts +21 -0
- package/lib/commonjs/external/reanimated/useVideo.js +148 -0
- package/lib/commonjs/external/reanimated/useVideo.js.map +1 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.d.ts +4 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.js +31 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.js.map +1 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.web.d.ts +4 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.web.js +20 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.web.js.map +1 -0
- package/lib/commonjs/headless/index.d.ts +8 -0
- package/lib/commonjs/headless/index.js +62 -0
- package/lib/commonjs/headless/index.js.map +1 -0
- package/lib/commonjs/index.d.ts +11 -0
- package/lib/commonjs/index.js +125 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/mock/index.d.ts +2 -0
- package/lib/commonjs/mock/index.js +59 -0
- package/lib/commonjs/mock/index.js.map +1 -0
- package/lib/commonjs/renderer/Canvas.d.ts +11 -0
- package/lib/commonjs/renderer/Canvas.js +116 -0
- package/lib/commonjs/renderer/Canvas.js.map +1 -0
- package/lib/commonjs/renderer/Container.d.ts +11 -0
- package/lib/commonjs/renderer/Container.js +30 -0
- package/lib/commonjs/renderer/Container.js.map +1 -0
- package/lib/commonjs/renderer/DrawingContext.d.ts +7 -0
- package/lib/commonjs/renderer/DrawingContext.js +6 -0
- package/lib/commonjs/renderer/DrawingContext.js.map +1 -0
- package/lib/commonjs/renderer/HostComponents.d.ts +132 -0
- package/lib/commonjs/renderer/HostComponents.js +144 -0
- package/lib/commonjs/renderer/HostComponents.js.map +1 -0
- package/lib/commonjs/renderer/HostConfig.d.ts +19 -0
- package/lib/commonjs/renderer/HostConfig.js +149 -0
- package/lib/commonjs/renderer/HostConfig.js.map +1 -0
- package/lib/commonjs/renderer/Offscreen.d.ts +6 -0
- package/lib/commonjs/renderer/Offscreen.js +50 -0
- package/lib/commonjs/renderer/Offscreen.js.map +1 -0
- package/lib/commonjs/renderer/Reconciler.d.ts +10 -0
- package/lib/commonjs/renderer/Reconciler.js +43 -0
- package/lib/commonjs/renderer/Reconciler.js.map +1 -0
- package/lib/commonjs/renderer/components/Blend.d.ts +4 -0
- package/lib/commonjs/renderer/components/Blend.js +13 -0
- package/lib/commonjs/renderer/components/Blend.js.map +1 -0
- package/lib/commonjs/renderer/components/Group.d.ts +8 -0
- package/lib/commonjs/renderer/components/Group.js +23 -0
- package/lib/commonjs/renderer/components/Group.js.map +1 -0
- package/lib/commonjs/renderer/components/Mask.d.ts +10 -0
- package/lib/commonjs/renderer/components/Mask.js +33 -0
- package/lib/commonjs/renderer/components/Mask.js.map +1 -0
- package/lib/commonjs/renderer/components/Paint.d.ts +4 -0
- package/lib/commonjs/renderer/components/Paint.js +13 -0
- package/lib/commonjs/renderer/components/Paint.js.map +1 -0
- package/lib/commonjs/renderer/components/Picture.d.ts +4 -0
- package/lib/commonjs/renderer/components/Picture.js +13 -0
- package/lib/commonjs/renderer/components/Picture.js.map +1 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.d.ts +9 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js +25 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js.map +1 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.d.ts +8 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js +18 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js.map +1 -0
- package/lib/commonjs/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/commonjs/renderer/components/backdrop/index.js +28 -0
- package/lib/commonjs/renderer/components/backdrop/index.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/Lerp.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/Matrix.d.ts +5 -0
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js +15 -0
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/commonjs/renderer/components/colorFilters/index.js +72 -0
- package/lib/commonjs/renderer/components/colorFilters/index.js.map +1 -0
- package/lib/commonjs/renderer/components/image/Image.d.ts +4 -0
- package/lib/commonjs/renderer/components/image/Image.js +13 -0
- package/lib/commonjs/renderer/components/image/Image.js.map +1 -0
- package/lib/commonjs/renderer/components/image/ImageSVG.d.ts +4 -0
- package/lib/commonjs/renderer/components/image/ImageSVG.js +13 -0
- package/lib/commonjs/renderer/components/image/ImageSVG.js.map +1 -0
- package/lib/commonjs/renderer/components/image/ImageShader.d.ts +4 -0
- package/lib/commonjs/renderer/components/image/ImageShader.js +29 -0
- package/lib/commonjs/renderer/components/image/ImageShader.js.map +1 -0
- package/lib/commonjs/renderer/components/image/index.d.ts +3 -0
- package/lib/commonjs/renderer/components/image/index.js +39 -0
- package/lib/commonjs/renderer/components/image/index.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Blur.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Blur.js +19 -0
- package/lib/commonjs/renderer/components/imageFilters/Blur.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js +13 -0
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Morphology.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js +19 -0
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Offset.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Offset.js +21 -0
- package/lib/commonjs/renderer/components/imageFilters/Offset.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js +13 -0
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Shadow.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js +13 -0
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/commonjs/renderer/components/imageFilters/index.js +72 -0
- package/lib/commonjs/renderer/components/imageFilters/index.js.map +1 -0
- package/lib/commonjs/renderer/components/index.d.ts +16 -0
- package/lib/commonjs/renderer/components/index.js +182 -0
- package/lib/commonjs/renderer/components/index.js.map +1 -0
- package/lib/commonjs/renderer/components/maskFilters/Blur.d.ts +4 -0
- package/lib/commonjs/renderer/components/maskFilters/Blur.js +21 -0
- package/lib/commonjs/renderer/components/maskFilters/Blur.js.map +1 -0
- package/lib/commonjs/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/commonjs/renderer/components/maskFilters/index.js +17 -0
- package/lib/commonjs/renderer/components/maskFilters/index.js.map +1 -0
- package/lib/commonjs/renderer/components/paragraph/Paragraph.d.ts +4 -0
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js +13 -0
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js.map +1 -0
- package/lib/commonjs/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/commonjs/renderer/components/paragraph/index.js +17 -0
- package/lib/commonjs/renderer/components/paragraph/index.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Corner.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Corner.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Corner.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Dash.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Dash.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Dash.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Discrete.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js +19 -0
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Line2D.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Path1D.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Path2D.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Sum.d.ts +3 -0
- package/lib/commonjs/renderer/components/pathEffects/Sum.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Sum.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/commonjs/renderer/components/pathEffects/index.js +83 -0
- package/lib/commonjs/renderer/components/pathEffects/index.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/Color.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/Color.js +13 -0
- package/lib/commonjs/renderer/components/shaders/Color.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/FractalNoise.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js +23 -0
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/LinearGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/RadialGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/Shader.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/Shader.js +19 -0
- package/lib/commonjs/renderer/components/shaders/Shader.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/ShaderLib.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/ShaderLib.js +51 -0
- package/lib/commonjs/renderer/components/shaders/ShaderLib.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/SweepGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/Turbulence.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/Turbulence.js +23 -0
- package/lib/commonjs/renderer/components/shaders/Turbulence.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/index.d.ts +9 -0
- package/lib/commonjs/renderer/components/shaders/index.js +105 -0
- package/lib/commonjs/renderer/components/shaders/index.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Atlas.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Atlas.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Atlas.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Box.d.ts +5 -0
- package/lib/commonjs/renderer/components/shapes/Box.js +17 -0
- package/lib/commonjs/renderer/components/shapes/Box.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Circle.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Circle.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Circle.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/DiffRect.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/DiffRect.js +13 -0
- package/lib/commonjs/renderer/components/shapes/DiffRect.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Fill.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Fill.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Fill.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/FitBox.d.ts +13 -0
- package/lib/commonjs/renderer/components/shapes/FitBox.js +58 -0
- package/lib/commonjs/renderer/components/shapes/FitBox.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Line.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Line.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Line.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Oval.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Oval.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Oval.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Patch.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Patch.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Patch.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Path.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Path.js +21 -0
- package/lib/commonjs/renderer/components/shapes/Path.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Points.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Points.js +19 -0
- package/lib/commonjs/renderer/components/shapes/Points.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Rect.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Rect.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Rect.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/RoundedRect.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js +13 -0
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Vertices.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Vertices.js +19 -0
- package/lib/commonjs/renderer/components/shapes/Vertices.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/index.d.ts +14 -0
- package/lib/commonjs/renderer/components/shapes/index.js +160 -0
- package/lib/commonjs/renderer/components/shapes/index.js.map +1 -0
- package/lib/commonjs/renderer/components/text/Glyphs.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/Glyphs.js +21 -0
- package/lib/commonjs/renderer/components/text/Glyphs.js.map +1 -0
- package/lib/commonjs/renderer/components/text/Text.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/Text.js +21 -0
- package/lib/commonjs/renderer/components/text/Text.js.map +1 -0
- package/lib/commonjs/renderer/components/text/TextBlob.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/TextBlob.js +21 -0
- package/lib/commonjs/renderer/components/text/TextBlob.js.map +1 -0
- package/lib/commonjs/renderer/components/text/TextPath.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/TextPath.js +19 -0
- package/lib/commonjs/renderer/components/text/TextPath.js.map +1 -0
- package/lib/commonjs/renderer/components/text/index.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/index.js +50 -0
- package/lib/commonjs/renderer/components/text/index.js.map +1 -0
- package/lib/commonjs/renderer/index.d.ts +1 -0
- package/lib/commonjs/renderer/index.js +17 -0
- package/lib/commonjs/renderer/index.js.map +1 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.d.ts +13 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.js +2 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.js.map +1 -0
- package/lib/commonjs/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/commonjs/renderer/processors/Animations/index.js +17 -0
- package/lib/commonjs/renderer/processors/Animations/index.js.map +1 -0
- package/lib/commonjs/renderer/processors/index.d.ts +2 -0
- package/lib/commonjs/renderer/processors/index.js +28 -0
- package/lib/commonjs/renderer/processors/index.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/Coordinates.d.ts +29 -0
- package/lib/commonjs/renderer/processors/math/Coordinates.js +55 -0
- package/lib/commonjs/renderer/processors/math/Coordinates.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/Math.d.ts +16 -0
- package/lib/commonjs/renderer/processors/math/Math.js +39 -0
- package/lib/commonjs/renderer/processors/math/Math.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/commonjs/renderer/processors/math/Transforms.js +21 -0
- package/lib/commonjs/renderer/processors/math/Transforms.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/index.d.ts +3 -0
- package/lib/commonjs/renderer/processors/math/index.js +39 -0
- package/lib/commonjs/renderer/processors/math/index.js.map +1 -0
- package/lib/commonjs/renderer/typeddash.d.ts +3 -0
- package/lib/commonjs/renderer/typeddash.js +34 -0
- package/lib/commonjs/renderer/typeddash.js.map +1 -0
- package/lib/commonjs/skia/NativeSetup.d.ts +1 -0
- package/lib/commonjs/skia/NativeSetup.js +17 -0
- package/lib/commonjs/skia/NativeSetup.js.map +1 -0
- package/lib/commonjs/skia/Skia.d.ts +8 -0
- package/lib/commonjs/skia/Skia.js +14 -0
- package/lib/commonjs/skia/Skia.js.map +1 -0
- package/lib/commonjs/skia/Skia.web.d.ts +1 -0
- package/lib/commonjs/skia/Skia.web.js +9 -0
- package/lib/commonjs/skia/Skia.web.js.map +1 -0
- package/lib/commonjs/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/commonjs/skia/core/AnimatedImage.js +16 -0
- package/lib/commonjs/skia/core/AnimatedImage.js.map +1 -0
- package/lib/commonjs/skia/core/Data.d.ts +5 -0
- package/lib/commonjs/skia/core/Data.js +82 -0
- package/lib/commonjs/skia/core/Data.js.map +1 -0
- package/lib/commonjs/skia/core/Font.d.ts +18 -0
- package/lib/commonjs/skia/core/Font.js +100 -0
- package/lib/commonjs/skia/core/Font.js.map +1 -0
- package/lib/commonjs/skia/core/Image.d.ts +17 -0
- package/lib/commonjs/skia/core/Image.js +44 -0
- package/lib/commonjs/skia/core/Image.js.map +1 -0
- package/lib/commonjs/skia/core/Matrix.d.ts +2 -0
- package/lib/commonjs/skia/core/Matrix.js +15 -0
- package/lib/commonjs/skia/core/Matrix.js.map +1 -0
- package/lib/commonjs/skia/core/Picture.d.ts +8 -0
- package/lib/commonjs/skia/core/Picture.js +28 -0
- package/lib/commonjs/skia/core/Picture.js.map +1 -0
- package/lib/commonjs/skia/core/RRect.d.ts +2 -0
- package/lib/commonjs/skia/core/RRect.js +14 -0
- package/lib/commonjs/skia/core/RRect.js.map +1 -0
- package/lib/commonjs/skia/core/Rect.d.ts +8 -0
- package/lib/commonjs/skia/core/Rect.js +56 -0
- package/lib/commonjs/skia/core/Rect.js.map +1 -0
- package/lib/commonjs/skia/core/SVG.d.ts +2 -0
- package/lib/commonjs/skia/core/SVG.js +12 -0
- package/lib/commonjs/skia/core/SVG.js.map +1 -0
- package/lib/commonjs/skia/core/SVG.web.d.ts +2 -0
- package/lib/commonjs/skia/core/SVG.web.js +22 -0
- package/lib/commonjs/skia/core/SVG.web.js.map +1 -0
- package/lib/commonjs/skia/core/Typeface.d.ts +5 -0
- package/lib/commonjs/skia/core/Typeface.js +16 -0
- package/lib/commonjs/skia/core/Typeface.js.map +1 -0
- package/lib/commonjs/skia/core/Vector.d.ts +7 -0
- package/lib/commonjs/skia/core/Vector.js +39 -0
- package/lib/commonjs/skia/core/Vector.js.map +1 -0
- package/lib/commonjs/skia/core/index.d.ts +11 -0
- package/lib/commonjs/skia/core/index.js +127 -0
- package/lib/commonjs/skia/core/index.js.map +1 -0
- package/lib/commonjs/skia/index.d.ts +3 -0
- package/lib/commonjs/skia/index.js +40 -0
- package/lib/commonjs/skia/index.js.map +1 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.d.ts +24 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.js +6 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.js.map +1 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +13 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.js +6 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.js.map +1 -0
- package/lib/commonjs/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/commonjs/skia/types/AnimatedImage/index.js +28 -0
- package/lib/commonjs/skia/types/AnimatedImage/index.js.map +1 -0
- package/lib/commonjs/skia/types/Canvas.d.ts +404 -0
- package/lib/commonjs/skia/types/Canvas.js +17 -0
- package/lib/commonjs/skia/types/Canvas.js.map +1 -0
- package/lib/commonjs/skia/types/Color.d.ts +2 -0
- package/lib/commonjs/skia/types/Color.js +2 -0
- package/lib/commonjs/skia/types/Color.js.map +1 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.d.ts +3 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.js +9 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.js.map +1 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.d.ts +43 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.js +6 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/commonjs/skia/types/ColorFilter/index.js +28 -0
- package/lib/commonjs/skia/types/ColorFilter/index.js.map +1 -0
- package/lib/commonjs/skia/types/ContourMeasure.d.ts +41 -0
- package/lib/commonjs/skia/types/ContourMeasure.js +6 -0
- package/lib/commonjs/skia/types/ContourMeasure.js.map +1 -0
- package/lib/commonjs/skia/types/Data/Data.d.ts +12 -0
- package/lib/commonjs/skia/types/Data/Data.js +9 -0
- package/lib/commonjs/skia/types/Data/Data.js.map +1 -0
- package/lib/commonjs/skia/types/Data/DataFactory.d.ts +18 -0
- package/lib/commonjs/skia/types/Data/DataFactory.js +6 -0
- package/lib/commonjs/skia/types/Data/DataFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Data/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Data/index.js +28 -0
- package/lib/commonjs/skia/types/Data/index.js.map +1 -0
- package/lib/commonjs/skia/types/Font/Font.d.ts +189 -0
- package/lib/commonjs/skia/types/Font/Font.js +63 -0
- package/lib/commonjs/skia/types/Font/Font.js.map +1 -0
- package/lib/commonjs/skia/types/Font/FontMgr.d.ts +8 -0
- package/lib/commonjs/skia/types/Font/FontMgr.js +6 -0
- package/lib/commonjs/skia/types/Font/FontMgr.js.map +1 -0
- package/lib/commonjs/skia/types/Font/FontMgrFactory.d.ts +4 -0
- package/lib/commonjs/skia/types/Font/FontMgrFactory.js +6 -0
- package/lib/commonjs/skia/types/Font/FontMgrFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Font/index.d.ts +3 -0
- package/lib/commonjs/skia/types/Font/index.js +39 -0
- package/lib/commonjs/skia/types/Font/index.js.map +1 -0
- package/lib/commonjs/skia/types/Image/Image.d.ts +102 -0
- package/lib/commonjs/skia/types/Image/Image.js +24 -0
- package/lib/commonjs/skia/types/Image/Image.js.map +1 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.d.ts +80 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.js +34 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Image/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Image/index.js +28 -0
- package/lib/commonjs/skia/types/Image/index.js.map +1 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.d.ts +23 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js +16 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js.map +1 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.d.ts +130 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js +14 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/commonjs/skia/types/ImageFilter/index.js +28 -0
- package/lib/commonjs/skia/types/ImageFilter/index.js.map +1 -0
- package/lib/commonjs/skia/types/JsiInstance.d.ts +4 -0
- package/lib/commonjs/skia/types/JsiInstance.js +2 -0
- package/lib/commonjs/skia/types/JsiInstance.js.map +1 -0
- package/lib/commonjs/skia/types/MaskFilter.d.ts +21 -0
- package/lib/commonjs/skia/types/MaskFilter.js +20 -0
- package/lib/commonjs/skia/types/MaskFilter.js.map +1 -0
- package/lib/commonjs/skia/types/Matrix.d.ts +23 -0
- package/lib/commonjs/skia/types/Matrix.js +22 -0
- package/lib/commonjs/skia/types/Matrix.js.map +1 -0
- package/lib/commonjs/skia/types/Matrix4.d.ts +103 -0
- package/lib/commonjs/skia/types/Matrix4.js +295 -0
- package/lib/commonjs/skia/types/Matrix4.js.map +1 -0
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.d.ts +20 -0
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.js +15 -0
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -0
- package/lib/commonjs/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/commonjs/skia/types/NativeBuffer/index.js +17 -0
- package/lib/commonjs/skia/types/NativeBuffer/index.js.map +1 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.d.ts +58 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.js +66 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.js.map +1 -0
- package/lib/commonjs/skia/types/Paint/Paint.d.ts +141 -0
- package/lib/commonjs/skia/types/Paint/Paint.js +26 -0
- package/lib/commonjs/skia/types/Paint/Paint.js.map +1 -0
- package/lib/commonjs/skia/types/Paint/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Paint/index.js +28 -0
- package/lib/commonjs/skia/types/Paint/index.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/Paragraph.d.ts +79 -0
- package/lib/commonjs/skia/types/Paragraph/Paragraph.js +6 -0
- package/lib/commonjs/skia/types/Paragraph/Paragraph.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.d.ts +60 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.js +16 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.d.ts +41 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.js +28 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/TextStyle.d.ts +62 -0
- package/lib/commonjs/skia/types/Paragraph/TextStyle.js +27 -0
- package/lib/commonjs/skia/types/Paragraph/TextStyle.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.d.ts +10 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.js +6 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +4 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.js +6 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/commonjs/skia/types/Paragraph/index.js +72 -0
- package/lib/commonjs/skia/types/Paragraph/index.js.map +1 -0
- package/lib/commonjs/skia/types/Path/Path.d.ts +475 -0
- package/lib/commonjs/skia/types/Path/Path.js +36 -0
- package/lib/commonjs/skia/types/Path/Path.js.map +1 -0
- package/lib/commonjs/skia/types/Path/PathFactory.d.ts +29 -0
- package/lib/commonjs/skia/types/Path/PathFactory.js +6 -0
- package/lib/commonjs/skia/types/Path/PathFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Path/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Path/index.js +28 -0
- package/lib/commonjs/skia/types/Path/index.js.map +1 -0
- package/lib/commonjs/skia/types/PathEffect.d.ts +75 -0
- package/lib/commonjs/skia/types/PathEffect.js +15 -0
- package/lib/commonjs/skia/types/PathEffect.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/Picture.d.ts +27 -0
- package/lib/commonjs/skia/types/Picture/Picture.js +6 -0
- package/lib/commonjs/skia/types/Picture/Picture.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/PictureFactory.d.ts +8 -0
- package/lib/commonjs/skia/types/Picture/PictureFactory.js +6 -0
- package/lib/commonjs/skia/types/Picture/PictureFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/PictureRecorder.d.ts +15 -0
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js +6 -0
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/index.d.ts +3 -0
- package/lib/commonjs/skia/types/Picture/index.js +39 -0
- package/lib/commonjs/skia/types/Picture/index.js.map +1 -0
- package/lib/commonjs/skia/types/Point.d.ts +10 -0
- package/lib/commonjs/skia/types/Point.js +13 -0
- package/lib/commonjs/skia/types/Point.js.map +1 -0
- package/lib/commonjs/skia/types/RRect.d.ts +16 -0
- package/lib/commonjs/skia/types/RRect.js +12 -0
- package/lib/commonjs/skia/types/RRect.js.map +1 -0
- package/lib/commonjs/skia/types/RSXform.d.ts +8 -0
- package/lib/commonjs/skia/types/RSXform.js +6 -0
- package/lib/commonjs/skia/types/RSXform.js.map +1 -0
- package/lib/commonjs/skia/types/Rect.d.ts +11 -0
- package/lib/commonjs/skia/types/Rect.js +17 -0
- package/lib/commonjs/skia/types/Rect.js.map +1 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.d.ts +52 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.js +6 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.js.map +1 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +10 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.js +6 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +1 -0
- package/lib/commonjs/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/commonjs/skia/types/RuntimeEffect/index.js +28 -0
- package/lib/commonjs/skia/types/RuntimeEffect/index.js.map +1 -0
- package/lib/commonjs/skia/types/SVG/SVG.d.ts +5 -0
- package/lib/commonjs/skia/types/SVG/SVG.js +6 -0
- package/lib/commonjs/skia/types/SVG/SVG.js.map +1 -0
- package/lib/commonjs/skia/types/SVG/SVGFactory.d.ts +6 -0
- package/lib/commonjs/skia/types/SVG/SVGFactory.js +6 -0
- package/lib/commonjs/skia/types/SVG/SVGFactory.js.map +1 -0
- package/lib/commonjs/skia/types/SVG/index.d.ts +2 -0
- package/lib/commonjs/skia/types/SVG/index.js +28 -0
- package/lib/commonjs/skia/types/SVG/index.js.map +1 -0
- package/lib/commonjs/skia/types/Shader/Shader.d.ts +10 -0
- package/lib/commonjs/skia/types/Shader/Shader.js +47 -0
- package/lib/commonjs/skia/types/Shader/Shader.js.map +1 -0
- package/lib/commonjs/skia/types/Shader/ShaderFactory.d.ts +104 -0
- package/lib/commonjs/skia/types/Shader/ShaderFactory.js +6 -0
- package/lib/commonjs/skia/types/Shader/ShaderFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Shader/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Shader/index.js +28 -0
- package/lib/commonjs/skia/types/Shader/index.js.map +1 -0
- package/lib/commonjs/skia/types/Size.d.ts +4 -0
- package/lib/commonjs/skia/types/Size.js +2 -0
- package/lib/commonjs/skia/types/Size.js.map +1 -0
- package/lib/commonjs/skia/types/Skia.d.ts +78 -0
- package/lib/commonjs/skia/types/Skia.js +6 -0
- package/lib/commonjs/skia/types/Skia.js.map +1 -0
- package/lib/commonjs/skia/types/Surface/Surface.d.ts +37 -0
- package/lib/commonjs/skia/types/Surface/Surface.js +6 -0
- package/lib/commonjs/skia/types/Surface/Surface.js.map +1 -0
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.d.ts +17 -0
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js +6 -0
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Surface/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Surface/index.js +28 -0
- package/lib/commonjs/skia/types/Surface/index.js.map +1 -0
- package/lib/commonjs/skia/types/TextBlob.d.ts +44 -0
- package/lib/commonjs/skia/types/TextBlob.js +6 -0
- package/lib/commonjs/skia/types/TextBlob.js.map +1 -0
- package/lib/commonjs/skia/types/Typeface/Typeface.d.ts +11 -0
- package/lib/commonjs/skia/types/Typeface/Typeface.js +6 -0
- package/lib/commonjs/skia/types/Typeface/Typeface.js.map +1 -0
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.d.ts +5 -0
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.js +6 -0
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Typeface/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Typeface/index.js +28 -0
- package/lib/commonjs/skia/types/Typeface/index.js.map +1 -0
- package/lib/commonjs/skia/types/Vertices/Vertices.d.ts +17 -0
- package/lib/commonjs/skia/types/Vertices/Vertices.js +13 -0
- package/lib/commonjs/skia/types/Vertices/Vertices.js.map +1 -0
- package/lib/commonjs/skia/types/Vertices/index.d.ts +1 -0
- package/lib/commonjs/skia/types/Vertices/index.js +17 -0
- package/lib/commonjs/skia/types/Vertices/index.js.map +1 -0
- package/lib/commonjs/skia/types/Video/Video.d.ts +17 -0
- package/lib/commonjs/skia/types/Video/Video.js +6 -0
- package/lib/commonjs/skia/types/Video/Video.js.map +1 -0
- package/lib/commonjs/skia/types/Video/index.d.ts +1 -0
- package/lib/commonjs/skia/types/Video/index.js +17 -0
- package/lib/commonjs/skia/types/Video/index.js.map +1 -0
- package/lib/commonjs/skia/types/index.d.ts +33 -0
- package/lib/commonjs/skia/types/index.js +369 -0
- package/lib/commonjs/skia/types/index.js.map +1 -0
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.d.ts +9 -0
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.js +30 -0
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.js.map +1 -0
- package/lib/commonjs/skia/web/Host.d.ts +20 -0
- package/lib/commonjs/skia/web/Host.js +45 -0
- package/lib/commonjs/skia/web/Host.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.d.ts +11 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js +34 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.js +23 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkCanvas.d.ts +47 -0
- package/lib/commonjs/skia/web/JsiSkCanvas.js +177 -0
- package/lib/commonjs/skia/web/JsiSkCanvas.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/commonjs/skia/web/JsiSkColor.js +305 -0
- package/lib/commonjs/skia/web/JsiSkColor.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.js +20 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.d.ts +14 -0
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.js +36 -0
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js +35 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js +28 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkData.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkData.js +20 -0
- package/lib/commonjs/skia/web/JsiSkData.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkDataFactory.d.ts +19 -0
- package/lib/commonjs/skia/web/JsiSkDataFactory.js +33 -0
- package/lib/commonjs/skia/web/JsiSkDataFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkFont.d.ts +35 -0
- package/lib/commonjs/skia/web/JsiSkFont.js +99 -0
- package/lib/commonjs/skia/web/JsiSkFont.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkFontMgr.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkFontMgr.js +26 -0
- package/lib/commonjs/skia/web/JsiSkFontMgr.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImage.d.ts +17 -0
- package/lib/commonjs/skia/web/JsiSkImage.js +121 -0
- package/lib/commonjs/skia/web/JsiSkImage.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.js +68 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.js +20 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.d.ts +19 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js +82 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js +20 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.js +18 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.d.ts +20 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.js +73 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js +29 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPaint.d.ts +30 -0
- package/lib/commonjs/skia/web/JsiSkPaint.js +96 -0
- package/lib/commonjs/skia/web/JsiSkPaint.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.d.ts +19 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.js +77 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.d.ts +15 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js +63 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.js +27 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.d.ts +5 -0
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js +54 -0
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPath.d.ts +58 -0
- package/lib/commonjs/skia/web/JsiSkPath.js +263 -0
- package/lib/commonjs/skia/web/JsiSkPath.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.js +20 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.d.ts +15 -0
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js +59 -0
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.js +42 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPicture.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkPicture.js +29 -0
- package/lib/commonjs/skia/web/JsiSkPicture.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPictureFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkPictureFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkPictureFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js +29 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPoint.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkPoint.js +32 -0
- package/lib/commonjs/skia/web/JsiSkPoint.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRRect.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkRRect.js +50 -0
- package/lib/commonjs/skia/web/JsiSkRRect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.d.ts +14 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.js +44 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRect.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkRect.js +44 -0
- package/lib/commonjs/skia/web/JsiSkRect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.d.ts +17 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js +44 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSVG.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkSVG.js +28 -0
- package/lib/commonjs/skia/web/JsiSkSVG.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSVGFactory.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkSVGFactory.js +56 -0
- package/lib/commonjs/skia/web/JsiSkSVGFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkShader.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkShader.js +20 -0
- package/lib/commonjs/skia/web/JsiSkShader.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkShaderFactory.d.ts +16 -0
- package/lib/commonjs/skia/web/JsiSkShaderFactory.js +41 -0
- package/lib/commonjs/skia/web/JsiSkShaderFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSurface.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkSurface.js +39 -0
- package/lib/commonjs/skia/web/JsiSkSurface.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js +39 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.js +20 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.js +30 -0
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTextStyle.d.ts +5 -0
- package/lib/commonjs/skia/web/JsiSkTextStyle.js +51 -0
- package/lib/commonjs/skia/web/JsiSkTextStyle.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypeface.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkTypeface.js +31 -0
- package/lib/commonjs/skia/web/JsiSkTypeface.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js +76 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.js +19 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkVertices.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkVertices.js +27 -0
- package/lib/commonjs/skia/web/JsiSkVertices.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.d.ts +4 -0
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.js +30 -0
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkia.d.ts +3 -0
- package/lib/commonjs/skia/web/JsiSkia.js +88 -0
- package/lib/commonjs/skia/web/JsiSkia.js.map +1 -0
- package/lib/commonjs/skia/web/JsiVideo.d.ts +24 -0
- package/lib/commonjs/skia/web/JsiVideo.js +83 -0
- package/lib/commonjs/skia/web/JsiVideo.js.map +1 -0
- package/lib/commonjs/skia/web/index.d.ts +1 -0
- package/lib/commonjs/skia/web/index.js +17 -0
- package/lib/commonjs/skia/web/index.js.map +1 -0
- package/lib/commonjs/specs/NativeSkiaModule.d.ts +6 -0
- package/lib/commonjs/specs/NativeSkiaModule.js +10 -0
- package/lib/commonjs/specs/NativeSkiaModule.js.map +1 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.js +2 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.js.map +1 -0
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.d.ts +8 -0
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js +11 -0
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js.map +1 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.d.ts +8 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js +11 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js.map +1 -0
- package/lib/commonjs/views/SkiaBaseWebView.d.ts +60 -0
- package/lib/commonjs/views/SkiaBaseWebView.js +185 -0
- package/lib/commonjs/views/SkiaBaseWebView.js.map +1 -0
- package/lib/commonjs/views/SkiaDomView.d.ts +30 -0
- package/lib/commonjs/views/SkiaDomView.js +123 -0
- package/lib/commonjs/views/SkiaDomView.js.map +1 -0
- package/lib/commonjs/views/SkiaDomView.web.d.ts +7 -0
- package/lib/commonjs/views/SkiaDomView.web.js +37 -0
- package/lib/commonjs/views/SkiaDomView.web.js.map +1 -0
- package/lib/commonjs/views/SkiaJSDomView.d.ts +31 -0
- package/lib/commonjs/views/SkiaJSDomView.js +130 -0
- package/lib/commonjs/views/SkiaJSDomView.js.map +1 -0
- package/lib/commonjs/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/commonjs/views/SkiaJSDomView.web.js +13 -0
- package/lib/commonjs/views/SkiaJSDomView.web.js.map +1 -0
- package/lib/commonjs/views/SkiaPictureView.d.ts +20 -0
- package/lib/commonjs/views/SkiaPictureView.js +90 -0
- package/lib/commonjs/views/SkiaPictureView.js.map +1 -0
- package/lib/commonjs/views/SkiaPictureView.web.d.ts +7 -0
- package/lib/commonjs/views/SkiaPictureView.web.js +19 -0
- package/lib/commonjs/views/SkiaPictureView.web.js.map +1 -0
- package/lib/commonjs/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/commonjs/views/SkiaViewNativeId.js +10 -0
- package/lib/commonjs/views/SkiaViewNativeId.js.map +1 -0
- package/lib/commonjs/views/api.d.ts +5 -0
- package/lib/commonjs/views/api.js +11 -0
- package/lib/commonjs/views/api.js.map +1 -0
- package/lib/commonjs/views/index.d.ts +4 -0
- package/lib/commonjs/views/index.js +50 -0
- package/lib/commonjs/views/index.js.map +1 -0
- package/lib/commonjs/views/types.d.ts +72 -0
- package/lib/commonjs/views/types.js +14 -0
- package/lib/commonjs/views/types.js.map +1 -0
- package/lib/commonjs/views/useTouchHandler.d.ts +22 -0
- package/lib/commonjs/views/useTouchHandler.js +83 -0
- package/lib/commonjs/views/useTouchHandler.js.map +1 -0
- package/lib/commonjs/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/commonjs/web/LoadSkiaWeb.js +28 -0
- package/lib/commonjs/web/LoadSkiaWeb.js.map +1 -0
- package/lib/commonjs/web/WithSkiaWeb.d.ts +12 -0
- package/lib/commonjs/web/WithSkiaWeb.js +33 -0
- package/lib/commonjs/web/WithSkiaWeb.js.map +1 -0
- package/lib/commonjs/web/index.d.ts +2 -0
- package/lib/commonjs/web/index.js +28 -0
- package/lib/commonjs/web/index.js.map +1 -0
- package/lib/module/Platform/IPlatform.d.ts +10 -0
- package/lib/module/Platform/IPlatform.js +2 -0
- package/lib/module/Platform/IPlatform.js.map +1 -0
- package/lib/module/Platform/Platform.d.ts +2 -0
- package/lib/module/Platform/Platform.js +12 -0
- package/lib/module/Platform/Platform.js.map +1 -0
- package/lib/module/Platform/Platform.web.d.ts +2 -0
- package/lib/module/Platform/Platform.web.js +146 -0
- package/lib/module/Platform/Platform.web.js.map +1 -0
- package/lib/module/Platform/index.d.ts +1 -0
- package/lib/module/Platform/index.js +2 -0
- package/lib/module/Platform/index.js.map +1 -0
- package/lib/module/animation/functions/index.d.ts +4 -0
- package/lib/module/animation/functions/index.js +5 -0
- package/lib/module/animation/functions/index.js.map +1 -0
- package/lib/module/animation/functions/interpolate.d.ts +17 -0
- package/lib/module/animation/functions/interpolate.js +124 -0
- package/lib/module/animation/functions/interpolate.js.map +1 -0
- package/lib/module/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/module/animation/functions/interpolateColors.js +27 -0
- package/lib/module/animation/functions/interpolateColors.js.map +1 -0
- package/lib/module/animation/functions/interpolatePaths.d.ts +19 -0
- package/lib/module/animation/functions/interpolatePaths.js +61 -0
- package/lib/module/animation/functions/interpolatePaths.js.map +1 -0
- package/lib/module/animation/functions/interpolateVector.d.ts +10 -0
- package/lib/module/animation/functions/interpolateVector.js +15 -0
- package/lib/module/animation/functions/interpolateVector.js.map +1 -0
- package/lib/module/animation/index.d.ts +1 -0
- package/lib/module/animation/index.js +2 -0
- package/lib/module/animation/index.js.map +1 -0
- package/lib/module/dom/nodes/DrawingNode.d.ts +14 -0
- package/lib/module/dom/nodes/DrawingNode.js +62 -0
- package/lib/module/dom/nodes/DrawingNode.js.map +1 -0
- package/lib/module/dom/nodes/GroupNode.d.ts +7 -0
- package/lib/module/dom/nodes/GroupNode.js +15 -0
- package/lib/module/dom/nodes/GroupNode.js.map +1 -0
- package/lib/module/dom/nodes/JsiSkDOM.d.ts +68 -0
- package/lib/module/dom/nodes/JsiSkDOM.js +201 -0
- package/lib/module/dom/nodes/JsiSkDOM.js.map +1 -0
- package/lib/module/dom/nodes/LayerNode.d.ts +8 -0
- package/lib/module/dom/nodes/LayerNode.js +32 -0
- package/lib/module/dom/nodes/LayerNode.js.map +1 -0
- package/lib/module/dom/nodes/Node.d.ts +34 -0
- package/lib/module/dom/nodes/Node.js +94 -0
- package/lib/module/dom/nodes/Node.js.map +1 -0
- package/lib/module/dom/nodes/PaintNode.d.ts +8 -0
- package/lib/module/dom/nodes/PaintNode.js +83 -0
- package/lib/module/dom/nodes/PaintNode.js.map +1 -0
- package/lib/module/dom/nodes/RenderNode.d.ts +26 -0
- package/lib/module/dom/nodes/RenderNode.js +125 -0
- package/lib/module/dom/nodes/RenderNode.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Circle.d.ts +7 -0
- package/lib/module/dom/nodes/datatypes/Circle.js +21 -0
- package/lib/module/dom/nodes/datatypes/Circle.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/module/dom/nodes/datatypes/Enum.js +2 -0
- package/lib/module/dom/nodes/datatypes/Enum.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Fitting.d.ts +33 -0
- package/lib/module/dom/nodes/datatypes/Fitting.js +132 -0
- package/lib/module/dom/nodes/datatypes/Fitting.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Gradient.d.ts +252 -0
- package/lib/module/dom/nodes/datatypes/Gradient.js +45 -0
- package/lib/module/dom/nodes/datatypes/Gradient.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Path.d.ts +4 -0
- package/lib/module/dom/nodes/datatypes/Path.js +12 -0
- package/lib/module/dom/nodes/datatypes/Path.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Radius.d.ts +3 -0
- package/lib/module/dom/nodes/datatypes/Radius.js +7 -0
- package/lib/module/dom/nodes/datatypes/Radius.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Rect.d.ts +5 -0
- package/lib/module/dom/nodes/datatypes/Rect.js +31 -0
- package/lib/module/dom/nodes/datatypes/Rect.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Transform.d.ts +3 -0
- package/lib/module/dom/nodes/datatypes/Transform.js +26 -0
- package/lib/module/dom/nodes/datatypes/Transform.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/module/dom/nodes/datatypes/index.js +9 -0
- package/lib/module/dom/nodes/datatypes/index.js.map +1 -0
- package/lib/module/dom/nodes/drawings/AtlasNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/AtlasNode.js +29 -0
- package/lib/module/dom/nodes/drawings/AtlasNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.js +35 -0
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/module/dom/nodes/drawings/Box.js +74 -0
- package/lib/module/dom/nodes/drawings/Box.js.map +1 -0
- package/lib/module/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/CircleNode.js +25 -0
- package/lib/module/dom/nodes/drawings/CircleNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/DiffRectNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/DiffRectNode.js +21 -0
- package/lib/module/dom/nodes/drawings/DiffRectNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/FillNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/FillNode.js +17 -0
- package/lib/module/dom/nodes/drawings/FillNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/ImageNode.d.ts +25 -0
- package/lib/module/dom/nodes/drawings/ImageNode.js +64 -0
- package/lib/module/dom/nodes/drawings/ImageNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/ImageSVG.d.ts +13 -0
- package/lib/module/dom/nodes/drawings/ImageSVG.js +50 -0
- package/lib/module/dom/nodes/drawings/ImageSVG.js.map +1 -0
- package/lib/module/dom/nodes/drawings/LineNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/LineNode.js +21 -0
- package/lib/module/dom/nodes/drawings/LineNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/OvalNode.js +21 -0
- package/lib/module/dom/nodes/drawings/OvalNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/ParagraphNode.js +25 -0
- package/lib/module/dom/nodes/drawings/ParagraphNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PatchNode.d.ts +18 -0
- package/lib/module/dom/nodes/drawings/PatchNode.js +46 -0
- package/lib/module/dom/nodes/drawings/PatchNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/PathNode.js +48 -0
- package/lib/module/dom/nodes/drawings/PathNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/PictureNode.js +19 -0
- package/lib/module/dom/nodes/drawings/PictureNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PointsNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/PointsNode.js +23 -0
- package/lib/module/dom/nodes/drawings/PointsNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/module/dom/nodes/drawings/RRectNode.js +25 -0
- package/lib/module/dom/nodes/drawings/RRectNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/RectNode.js +21 -0
- package/lib/module/dom/nodes/drawings/RectNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/Text.d.ts +30 -0
- package/lib/module/dom/nodes/drawings/Text.js +149 -0
- package/lib/module/dom/nodes/drawings/Text.js.map +1 -0
- package/lib/module/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/VerticesNode.js +36 -0
- package/lib/module/dom/nodes/drawings/VerticesNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/module/dom/nodes/drawings/index.js +19 -0
- package/lib/module/dom/nodes/drawings/index.js.map +1 -0
- package/lib/module/dom/nodes/index.d.ts +3 -0
- package/lib/module/dom/nodes/index.js +4 -0
- package/lib/module/dom/nodes/index.js.map +1 -0
- package/lib/module/dom/nodes/paint/BlendNode.d.ts +8 -0
- package/lib/module/dom/nodes/paint/BlendNode.js +30 -0
- package/lib/module/dom/nodes/paint/BlendNode.js.map +1 -0
- package/lib/module/dom/nodes/paint/ColorFilters.d.ts +35 -0
- package/lib/module/dom/nodes/paint/ColorFilters.js +89 -0
- package/lib/module/dom/nodes/paint/ColorFilters.js.map +1 -0
- package/lib/module/dom/nodes/paint/ImageFilters.d.ts +42 -0
- package/lib/module/dom/nodes/paint/ImageFilters.js +169 -0
- package/lib/module/dom/nodes/paint/ImageFilters.js.map +1 -0
- package/lib/module/dom/nodes/paint/MaskFilters.d.ts +8 -0
- package/lib/module/dom/nodes/paint/MaskFilters.js +19 -0
- package/lib/module/dom/nodes/paint/MaskFilters.js.map +1 -0
- package/lib/module/dom/nodes/paint/PathEffects.d.ts +39 -0
- package/lib/module/dom/nodes/paint/PathEffects.js +123 -0
- package/lib/module/dom/nodes/paint/PathEffects.js.map +1 -0
- package/lib/module/dom/nodes/paint/Shaders.d.ts +43 -0
- package/lib/module/dom/nodes/paint/Shaders.js +193 -0
- package/lib/module/dom/nodes/paint/Shaders.js.map +1 -0
- package/lib/module/dom/nodes/paint/index.d.ts +6 -0
- package/lib/module/dom/nodes/paint/index.js +7 -0
- package/lib/module/dom/nodes/paint/index.js.map +1 -0
- package/lib/module/dom/types/ColorFilters.d.ts +12 -0
- package/lib/module/dom/types/ColorFilters.js +2 -0
- package/lib/module/dom/types/ColorFilters.js.map +1 -0
- package/lib/module/dom/types/Common.d.ts +57 -0
- package/lib/module/dom/types/Common.js +2 -0
- package/lib/module/dom/types/Common.js.map +1 -0
- package/lib/module/dom/types/DeclarationContext.d.ts +29 -0
- package/lib/module/dom/types/DeclarationContext.js +83 -0
- package/lib/module/dom/types/DeclarationContext.js.map +1 -0
- package/lib/module/dom/types/DrawingContext.d.ts +22 -0
- package/lib/module/dom/types/DrawingContext.js +256 -0
- package/lib/module/dom/types/DrawingContext.js.map +1 -0
- package/lib/module/dom/types/Drawings.d.ts +111 -0
- package/lib/module/dom/types/Drawings.js +2 -0
- package/lib/module/dom/types/Drawings.js.map +1 -0
- package/lib/module/dom/types/ImageFilters.d.ts +37 -0
- package/lib/module/dom/types/ImageFilters.js +2 -0
- package/lib/module/dom/types/ImageFilters.js.map +1 -0
- package/lib/module/dom/types/MaskFilters.d.ts +7 -0
- package/lib/module/dom/types/MaskFilters.js +2 -0
- package/lib/module/dom/types/MaskFilters.js.map +1 -0
- package/lib/module/dom/types/Node.d.ts +22 -0
- package/lib/module/dom/types/Node.js +2 -0
- package/lib/module/dom/types/Node.js.map +1 -0
- package/lib/module/dom/types/NodeType.d.ts +59 -0
- package/lib/module/dom/types/NodeType.js +61 -0
- package/lib/module/dom/types/NodeType.js.map +1 -0
- package/lib/module/dom/types/Paragraph.d.ts +8 -0
- package/lib/module/dom/types/Paragraph.js +2 -0
- package/lib/module/dom/types/Paragraph.js.map +1 -0
- package/lib/module/dom/types/PathEffects.d.ts +28 -0
- package/lib/module/dom/types/PathEffects.js +2 -0
- package/lib/module/dom/types/PathEffects.js.map +1 -0
- package/lib/module/dom/types/Shaders.d.ts +59 -0
- package/lib/module/dom/types/Shaders.js +2 -0
- package/lib/module/dom/types/Shaders.js.map +1 -0
- package/lib/module/dom/types/SkDOM.d.ts +73 -0
- package/lib/module/dom/types/SkDOM.js +2 -0
- package/lib/module/dom/types/SkDOM.js.map +1 -0
- package/lib/module/dom/types/index.d.ts +13 -0
- package/lib/module/dom/types/index.js +14 -0
- package/lib/module/dom/types/index.js.map +1 -0
- package/lib/module/external/ModuleProxy.d.ts +10 -0
- package/lib/module/external/ModuleProxy.js +28 -0
- package/lib/module/external/ModuleProxy.js.map +1 -0
- package/lib/module/external/index.d.ts +1 -0
- package/lib/module/external/index.js +2 -0
- package/lib/module/external/index.js.map +1 -0
- package/lib/module/external/reanimated/ReanimatedProxy.d.ts +3 -0
- package/lib/module/external/reanimated/ReanimatedProxy.js +12 -0
- package/lib/module/external/reanimated/ReanimatedProxy.js.map +1 -0
- package/lib/module/external/reanimated/buffers.d.ts +7 -0
- package/lib/module/external/reanimated/buffers.js +40 -0
- package/lib/module/external/reanimated/buffers.js.map +1 -0
- package/lib/module/external/reanimated/index.d.ts +7 -0
- package/lib/module/external/reanimated/index.js +8 -0
- package/lib/module/external/reanimated/index.js.map +1 -0
- package/lib/module/external/reanimated/interpolators.d.ts +10 -0
- package/lib/module/external/reanimated/interpolators.js +64 -0
- package/lib/module/external/reanimated/interpolators.js.map +1 -0
- package/lib/module/external/reanimated/renderHelpers.d.ts +6 -0
- package/lib/module/external/reanimated/renderHelpers.js +117 -0
- package/lib/module/external/reanimated/renderHelpers.js.map +1 -0
- package/lib/module/external/reanimated/textures.d.ts +8 -0
- package/lib/module/external/reanimated/textures.js +73 -0
- package/lib/module/external/reanimated/textures.js.map +1 -0
- package/lib/module/external/reanimated/useAnimatedImageValue.d.ts +3 -0
- package/lib/module/external/reanimated/useAnimatedImageValue.js +51 -0
- package/lib/module/external/reanimated/useAnimatedImageValue.js.map +1 -0
- package/lib/module/external/reanimated/useDerivedValueOnJS.d.ts +1 -0
- package/lib/module/external/reanimated/useDerivedValueOnJS.js +16 -0
- package/lib/module/external/reanimated/useDerivedValueOnJS.js.map +1 -0
- package/lib/module/external/reanimated/useVideo.d.ts +21 -0
- package/lib/module/external/reanimated/useVideo.js +140 -0
- package/lib/module/external/reanimated/useVideo.js.map +1 -0
- package/lib/module/external/reanimated/useVideoLoading.d.ts +4 -0
- package/lib/module/external/reanimated/useVideoLoading.js +23 -0
- package/lib/module/external/reanimated/useVideoLoading.js.map +1 -0
- package/lib/module/external/reanimated/useVideoLoading.web.d.ts +4 -0
- package/lib/module/external/reanimated/useVideoLoading.web.js +13 -0
- package/lib/module/external/reanimated/useVideoLoading.web.js.map +1 -0
- package/lib/module/headless/index.d.ts +8 -0
- package/lib/module/headless/index.js +37 -0
- package/lib/module/headless/index.js.map +1 -0
- package/lib/module/index.d.ts +11 -0
- package/lib/module/index.js +12 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/mock/index.d.ts +2 -0
- package/lib/module/mock/index.js +53 -0
- package/lib/module/mock/index.js.map +1 -0
- package/lib/module/renderer/Canvas.d.ts +11 -0
- package/lib/module/renderer/Canvas.js +107 -0
- package/lib/module/renderer/Canvas.js.map +1 -0
- package/lib/module/renderer/Container.d.ts +11 -0
- package/lib/module/renderer/Container.js +23 -0
- package/lib/module/renderer/Container.js.map +1 -0
- package/lib/module/renderer/DrawingContext.d.ts +7 -0
- package/lib/module/renderer/DrawingContext.js +2 -0
- package/lib/module/renderer/DrawingContext.js.map +1 -0
- package/lib/module/renderer/HostComponents.d.ts +132 -0
- package/lib/module/renderer/HostComponents.js +137 -0
- package/lib/module/renderer/HostComponents.js.map +1 -0
- package/lib/module/renderer/HostConfig.d.ts +19 -0
- package/lib/module/renderer/HostConfig.js +142 -0
- package/lib/module/renderer/HostConfig.js.map +1 -0
- package/lib/module/renderer/Offscreen.d.ts +6 -0
- package/lib/module/renderer/Offscreen.js +41 -0
- package/lib/module/renderer/Offscreen.js.map +1 -0
- package/lib/module/renderer/Reconciler.d.ts +10 -0
- package/lib/module/renderer/Reconciler.js +35 -0
- package/lib/module/renderer/Reconciler.js.map +1 -0
- package/lib/module/renderer/components/Blend.d.ts +4 -0
- package/lib/module/renderer/components/Blend.js +5 -0
- package/lib/module/renderer/components/Blend.js.map +1 -0
- package/lib/module/renderer/components/Group.d.ts +8 -0
- package/lib/module/renderer/components/Group.js +14 -0
- package/lib/module/renderer/components/Group.js.map +1 -0
- package/lib/module/renderer/components/Mask.d.ts +10 -0
- package/lib/module/renderer/components/Mask.js +25 -0
- package/lib/module/renderer/components/Mask.js.map +1 -0
- package/lib/module/renderer/components/Paint.d.ts +4 -0
- package/lib/module/renderer/components/Paint.js +5 -0
- package/lib/module/renderer/components/Paint.js.map +1 -0
- package/lib/module/renderer/components/Picture.d.ts +4 -0
- package/lib/module/renderer/components/Picture.js +5 -0
- package/lib/module/renderer/components/Picture.js.map +1 -0
- package/lib/module/renderer/components/backdrop/BackdropBlur.d.ts +9 -0
- package/lib/module/renderer/components/backdrop/BackdropBlur.js +17 -0
- package/lib/module/renderer/components/backdrop/BackdropBlur.js.map +1 -0
- package/lib/module/renderer/components/backdrop/BackdropFilter.d.ts +8 -0
- package/lib/module/renderer/components/backdrop/BackdropFilter.js +10 -0
- package/lib/module/renderer/components/backdrop/BackdropFilter.js.map +1 -0
- package/lib/module/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/module/renderer/components/backdrop/index.js +3 -0
- package/lib/module/renderer/components/backdrop/index.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/BlendColor.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/BlendColor.js +5 -0
- package/lib/module/renderer/components/colorFilters/BlendColor.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/Lerp.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/Lerp.js +5 -0
- package/lib/module/renderer/components/colorFilters/Lerp.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.js +5 -0
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.js +5 -0
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/Matrix.d.ts +5 -0
- package/lib/module/renderer/components/colorFilters/Matrix.js +6 -0
- package/lib/module/renderer/components/colorFilters/Matrix.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.js +5 -0
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/module/renderer/components/colorFilters/index.js +7 -0
- package/lib/module/renderer/components/colorFilters/index.js.map +1 -0
- package/lib/module/renderer/components/image/Image.d.ts +4 -0
- package/lib/module/renderer/components/image/Image.js +5 -0
- package/lib/module/renderer/components/image/Image.js.map +1 -0
- package/lib/module/renderer/components/image/ImageSVG.d.ts +4 -0
- package/lib/module/renderer/components/image/ImageSVG.js +5 -0
- package/lib/module/renderer/components/image/ImageSVG.js.map +1 -0
- package/lib/module/renderer/components/image/ImageShader.d.ts +4 -0
- package/lib/module/renderer/components/image/ImageShader.js +21 -0
- package/lib/module/renderer/components/image/ImageShader.js.map +1 -0
- package/lib/module/renderer/components/image/index.d.ts +3 -0
- package/lib/module/renderer/components/image/index.js +4 -0
- package/lib/module/renderer/components/image/index.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Blur.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Blur.js +11 -0
- package/lib/module/renderer/components/imageFilters/Blur.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/DisplacementMap.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/DisplacementMap.js +5 -0
- package/lib/module/renderer/components/imageFilters/DisplacementMap.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Morphology.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Morphology.js +11 -0
- package/lib/module/renderer/components/imageFilters/Morphology.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Offset.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Offset.js +13 -0
- package/lib/module/renderer/components/imageFilters/Offset.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/RuntimeShader.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/RuntimeShader.js +5 -0
- package/lib/module/renderer/components/imageFilters/RuntimeShader.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Shadow.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Shadow.js +5 -0
- package/lib/module/renderer/components/imageFilters/Shadow.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/module/renderer/components/imageFilters/index.js +7 -0
- package/lib/module/renderer/components/imageFilters/index.js.map +1 -0
- package/lib/module/renderer/components/index.d.ts +16 -0
- package/lib/module/renderer/components/index.js +17 -0
- package/lib/module/renderer/components/index.js.map +1 -0
- package/lib/module/renderer/components/maskFilters/Blur.d.ts +4 -0
- package/lib/module/renderer/components/maskFilters/Blur.js +13 -0
- package/lib/module/renderer/components/maskFilters/Blur.js.map +1 -0
- package/lib/module/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/module/renderer/components/maskFilters/index.js +2 -0
- package/lib/module/renderer/components/maskFilters/index.js.map +1 -0
- package/lib/module/renderer/components/paragraph/Paragraph.d.ts +4 -0
- package/lib/module/renderer/components/paragraph/Paragraph.js +5 -0
- package/lib/module/renderer/components/paragraph/Paragraph.js.map +1 -0
- package/lib/module/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/module/renderer/components/paragraph/index.js +2 -0
- package/lib/module/renderer/components/paragraph/index.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Corner.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Corner.js +5 -0
- package/lib/module/renderer/components/pathEffects/Corner.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Dash.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Dash.js +5 -0
- package/lib/module/renderer/components/pathEffects/Dash.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Discrete.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Discrete.js +11 -0
- package/lib/module/renderer/components/pathEffects/Discrete.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Line2D.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Line2D.js +5 -0
- package/lib/module/renderer/components/pathEffects/Line2D.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Path1D.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Path1D.js +5 -0
- package/lib/module/renderer/components/pathEffects/Path1D.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Path2D.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Path2D.js +5 -0
- package/lib/module/renderer/components/pathEffects/Path2D.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Sum.d.ts +3 -0
- package/lib/module/renderer/components/pathEffects/Sum.js +5 -0
- package/lib/module/renderer/components/pathEffects/Sum.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/module/renderer/components/pathEffects/index.js +8 -0
- package/lib/module/renderer/components/pathEffects/index.js.map +1 -0
- package/lib/module/renderer/components/shaders/Color.d.ts +4 -0
- package/lib/module/renderer/components/shaders/Color.js +5 -0
- package/lib/module/renderer/components/shaders/Color.js.map +1 -0
- package/lib/module/renderer/components/shaders/FractalNoise.d.ts +4 -0
- package/lib/module/renderer/components/shaders/FractalNoise.js +15 -0
- package/lib/module/renderer/components/shaders/FractalNoise.js.map +1 -0
- package/lib/module/renderer/components/shaders/LinearGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/LinearGradient.js +5 -0
- package/lib/module/renderer/components/shaders/LinearGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/RadialGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/RadialGradient.js +5 -0
- package/lib/module/renderer/components/shaders/RadialGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/Shader.d.ts +4 -0
- package/lib/module/renderer/components/shaders/Shader.js +11 -0
- package/lib/module/renderer/components/shaders/Shader.js.map +1 -0
- package/lib/module/renderer/components/shaders/ShaderLib.d.ts +4 -0
- package/lib/module/renderer/components/shaders/ShaderLib.js +45 -0
- package/lib/module/renderer/components/shaders/ShaderLib.js.map +1 -0
- package/lib/module/renderer/components/shaders/SweepGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/SweepGradient.js +5 -0
- package/lib/module/renderer/components/shaders/SweepGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/Turbulence.d.ts +4 -0
- package/lib/module/renderer/components/shaders/Turbulence.js +15 -0
- package/lib/module/renderer/components/shaders/Turbulence.js.map +1 -0
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.js +5 -0
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/index.d.ts +9 -0
- package/lib/module/renderer/components/shaders/index.js +10 -0
- package/lib/module/renderer/components/shaders/index.js.map +1 -0
- package/lib/module/renderer/components/shapes/Atlas.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Atlas.js +5 -0
- package/lib/module/renderer/components/shapes/Atlas.js.map +1 -0
- package/lib/module/renderer/components/shapes/Box.d.ts +5 -0
- package/lib/module/renderer/components/shapes/Box.js +8 -0
- package/lib/module/renderer/components/shapes/Box.js.map +1 -0
- package/lib/module/renderer/components/shapes/Circle.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Circle.js +5 -0
- package/lib/module/renderer/components/shapes/Circle.js.map +1 -0
- package/lib/module/renderer/components/shapes/DiffRect.d.ts +4 -0
- package/lib/module/renderer/components/shapes/DiffRect.js +5 -0
- package/lib/module/renderer/components/shapes/DiffRect.js.map +1 -0
- package/lib/module/renderer/components/shapes/Fill.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Fill.js +5 -0
- package/lib/module/renderer/components/shapes/Fill.js.map +1 -0
- package/lib/module/renderer/components/shapes/FitBox.d.ts +13 -0
- package/lib/module/renderer/components/shapes/FitBox.js +48 -0
- package/lib/module/renderer/components/shapes/FitBox.js.map +1 -0
- package/lib/module/renderer/components/shapes/Line.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Line.js +5 -0
- package/lib/module/renderer/components/shapes/Line.js.map +1 -0
- package/lib/module/renderer/components/shapes/Oval.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Oval.js +5 -0
- package/lib/module/renderer/components/shapes/Oval.js.map +1 -0
- package/lib/module/renderer/components/shapes/Patch.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Patch.js +5 -0
- package/lib/module/renderer/components/shapes/Patch.js.map +1 -0
- package/lib/module/renderer/components/shapes/Path.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Path.js +13 -0
- package/lib/module/renderer/components/shapes/Path.js.map +1 -0
- package/lib/module/renderer/components/shapes/Points.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Points.js +11 -0
- package/lib/module/renderer/components/shapes/Points.js.map +1 -0
- package/lib/module/renderer/components/shapes/Rect.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Rect.js +5 -0
- package/lib/module/renderer/components/shapes/Rect.js.map +1 -0
- package/lib/module/renderer/components/shapes/RoundedRect.d.ts +4 -0
- package/lib/module/renderer/components/shapes/RoundedRect.js +5 -0
- package/lib/module/renderer/components/shapes/RoundedRect.js.map +1 -0
- package/lib/module/renderer/components/shapes/Vertices.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Vertices.js +11 -0
- package/lib/module/renderer/components/shapes/Vertices.js.map +1 -0
- package/lib/module/renderer/components/shapes/index.d.ts +14 -0
- package/lib/module/renderer/components/shapes/index.js +15 -0
- package/lib/module/renderer/components/shapes/index.js.map +1 -0
- package/lib/module/renderer/components/text/Glyphs.d.ts +4 -0
- package/lib/module/renderer/components/text/Glyphs.js +13 -0
- package/lib/module/renderer/components/text/Glyphs.js.map +1 -0
- package/lib/module/renderer/components/text/Text.d.ts +4 -0
- package/lib/module/renderer/components/text/Text.js +13 -0
- package/lib/module/renderer/components/text/Text.js.map +1 -0
- package/lib/module/renderer/components/text/TextBlob.d.ts +4 -0
- package/lib/module/renderer/components/text/TextBlob.js +13 -0
- package/lib/module/renderer/components/text/TextBlob.js.map +1 -0
- package/lib/module/renderer/components/text/TextPath.d.ts +4 -0
- package/lib/module/renderer/components/text/TextPath.js +11 -0
- package/lib/module/renderer/components/text/TextPath.js.map +1 -0
- package/lib/module/renderer/components/text/index.d.ts +4 -0
- package/lib/module/renderer/components/text/index.js +5 -0
- package/lib/module/renderer/components/text/index.js.map +1 -0
- package/lib/module/renderer/index.d.ts +1 -0
- package/lib/module/renderer/index.js +2 -0
- package/lib/module/renderer/index.js.map +1 -0
- package/lib/module/renderer/processors/Animations/Animations.d.ts +13 -0
- package/lib/module/renderer/processors/Animations/Animations.js +2 -0
- package/lib/module/renderer/processors/Animations/Animations.js.map +1 -0
- package/lib/module/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/module/renderer/processors/Animations/index.js +2 -0
- package/lib/module/renderer/processors/Animations/index.js.map +1 -0
- package/lib/module/renderer/processors/index.d.ts +2 -0
- package/lib/module/renderer/processors/index.js +3 -0
- package/lib/module/renderer/processors/index.js.map +1 -0
- package/lib/module/renderer/processors/math/Coordinates.d.ts +29 -0
- package/lib/module/renderer/processors/math/Coordinates.js +43 -0
- package/lib/module/renderer/processors/math/Coordinates.js.map +1 -0
- package/lib/module/renderer/processors/math/Math.d.ts +16 -0
- package/lib/module/renderer/processors/math/Math.js +30 -0
- package/lib/module/renderer/processors/math/Math.js.map +1 -0
- package/lib/module/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/module/renderer/processors/math/Transforms.js +14 -0
- package/lib/module/renderer/processors/math/Transforms.js.map +1 -0
- package/lib/module/renderer/processors/math/index.d.ts +3 -0
- package/lib/module/renderer/processors/math/index.js +4 -0
- package/lib/module/renderer/processors/math/index.js.map +1 -0
- package/lib/module/renderer/typeddash.d.ts +3 -0
- package/lib/module/renderer/typeddash.js +25 -0
- package/lib/module/renderer/typeddash.js.map +1 -0
- package/lib/module/skia/NativeSetup.d.ts +1 -0
- package/lib/module/skia/NativeSetup.js +14 -0
- package/lib/module/skia/NativeSetup.js.map +1 -0
- package/lib/module/skia/Skia.d.ts +8 -0
- package/lib/module/skia/Skia.js +8 -0
- package/lib/module/skia/Skia.js.map +1 -0
- package/lib/module/skia/Skia.web.d.ts +1 -0
- package/lib/module/skia/Skia.web.js +3 -0
- package/lib/module/skia/Skia.web.js.map +1 -0
- package/lib/module/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/module/skia/core/AnimatedImage.js +9 -0
- package/lib/module/skia/core/AnimatedImage.js.map +1 -0
- package/lib/module/skia/core/Data.d.ts +5 -0
- package/lib/module/skia/core/Data.js +72 -0
- package/lib/module/skia/core/Data.js.map +1 -0
- package/lib/module/skia/core/Font.d.ts +18 -0
- package/lib/module/skia/core/Font.js +89 -0
- package/lib/module/skia/core/Font.js.map +1 -0
- package/lib/module/skia/core/Image.d.ts +17 -0
- package/lib/module/skia/core/Image.js +36 -0
- package/lib/module/skia/core/Image.js.map +1 -0
- package/lib/module/skia/core/Matrix.d.ts +2 -0
- package/lib/module/skia/core/Matrix.js +8 -0
- package/lib/module/skia/core/Matrix.js.map +1 -0
- package/lib/module/skia/core/Picture.d.ts +8 -0
- package/lib/module/skia/core/Picture.js +22 -0
- package/lib/module/skia/core/Picture.js.map +1 -0
- package/lib/module/skia/core/RRect.d.ts +2 -0
- package/lib/module/skia/core/RRect.js +7 -0
- package/lib/module/skia/core/RRect.js.map +1 -0
- package/lib/module/skia/core/Rect.d.ts +8 -0
- package/lib/module/skia/core/Rect.js +43 -0
- package/lib/module/skia/core/Rect.js.map +1 -0
- package/lib/module/skia/core/SVG.d.ts +2 -0
- package/lib/module/skia/core/SVG.js +5 -0
- package/lib/module/skia/core/SVG.js.map +1 -0
- package/lib/module/skia/core/SVG.web.d.ts +2 -0
- package/lib/module/skia/core/SVG.web.js +15 -0
- package/lib/module/skia/core/SVG.web.js.map +1 -0
- package/lib/module/skia/core/Typeface.d.ts +5 -0
- package/lib/module/skia/core/Typeface.js +9 -0
- package/lib/module/skia/core/Typeface.js.map +1 -0
- package/lib/module/skia/core/Vector.d.ts +7 -0
- package/lib/module/skia/core/Vector.js +28 -0
- package/lib/module/skia/core/Vector.js.map +1 -0
- package/lib/module/skia/core/index.d.ts +11 -0
- package/lib/module/skia/core/index.js +12 -0
- package/lib/module/skia/core/index.js.map +1 -0
- package/lib/module/skia/index.d.ts +3 -0
- package/lib/module/skia/index.js +4 -0
- package/lib/module/skia/index.js.map +1 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.d.ts +24 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.js +2 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.js.map +1 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +13 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.js +2 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.js.map +1 -0
- package/lib/module/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/module/skia/types/AnimatedImage/index.js +3 -0
- package/lib/module/skia/types/AnimatedImage/index.js.map +1 -0
- package/lib/module/skia/types/Canvas.d.ts +404 -0
- package/lib/module/skia/types/Canvas.js +11 -0
- package/lib/module/skia/types/Canvas.js.map +1 -0
- package/lib/module/skia/types/Color.d.ts +2 -0
- package/lib/module/skia/types/Color.js +2 -0
- package/lib/module/skia/types/Color.js.map +1 -0
- package/lib/module/skia/types/ColorFilter/ColorFilter.d.ts +3 -0
- package/lib/module/skia/types/ColorFilter/ColorFilter.js +2 -0
- package/lib/module/skia/types/ColorFilter/ColorFilter.js.map +1 -0
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.d.ts +43 -0
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.js +2 -0
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.js.map +1 -0
- package/lib/module/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/module/skia/types/ColorFilter/index.js +3 -0
- package/lib/module/skia/types/ColorFilter/index.js.map +1 -0
- package/lib/module/skia/types/ContourMeasure.d.ts +41 -0
- package/lib/module/skia/types/ContourMeasure.js +2 -0
- package/lib/module/skia/types/ContourMeasure.js.map +1 -0
- package/lib/module/skia/types/Data/Data.d.ts +12 -0
- package/lib/module/skia/types/Data/Data.js +2 -0
- package/lib/module/skia/types/Data/Data.js.map +1 -0
- package/lib/module/skia/types/Data/DataFactory.d.ts +18 -0
- package/lib/module/skia/types/Data/DataFactory.js +2 -0
- package/lib/module/skia/types/Data/DataFactory.js.map +1 -0
- package/lib/module/skia/types/Data/index.d.ts +2 -0
- package/lib/module/skia/types/Data/index.js +3 -0
- package/lib/module/skia/types/Data/index.js.map +1 -0
- package/lib/module/skia/types/Font/Font.d.ts +189 -0
- package/lib/module/skia/types/Font/Font.js +57 -0
- package/lib/module/skia/types/Font/Font.js.map +1 -0
- package/lib/module/skia/types/Font/FontMgr.d.ts +8 -0
- package/lib/module/skia/types/Font/FontMgr.js +2 -0
- package/lib/module/skia/types/Font/FontMgr.js.map +1 -0
- package/lib/module/skia/types/Font/FontMgrFactory.d.ts +4 -0
- package/lib/module/skia/types/Font/FontMgrFactory.js +2 -0
- package/lib/module/skia/types/Font/FontMgrFactory.js.map +1 -0
- package/lib/module/skia/types/Font/index.d.ts +3 -0
- package/lib/module/skia/types/Font/index.js +4 -0
- package/lib/module/skia/types/Font/index.js.map +1 -0
- package/lib/module/skia/types/Image/Image.d.ts +102 -0
- package/lib/module/skia/types/Image/Image.js +18 -0
- package/lib/module/skia/types/Image/Image.js.map +1 -0
- package/lib/module/skia/types/Image/ImageFactory.d.ts +80 -0
- package/lib/module/skia/types/Image/ImageFactory.js +28 -0
- package/lib/module/skia/types/Image/ImageFactory.js.map +1 -0
- package/lib/module/skia/types/Image/index.d.ts +2 -0
- package/lib/module/skia/types/Image/index.js +3 -0
- package/lib/module/skia/types/Image/index.js.map +1 -0
- package/lib/module/skia/types/ImageFilter/ImageFilter.d.ts +23 -0
- package/lib/module/skia/types/ImageFilter/ImageFilter.js +9 -0
- package/lib/module/skia/types/ImageFilter/ImageFilter.js.map +1 -0
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.d.ts +130 -0
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js +8 -0
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -0
- package/lib/module/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/module/skia/types/ImageFilter/index.js +3 -0
- package/lib/module/skia/types/ImageFilter/index.js.map +1 -0
- package/lib/module/skia/types/JsiInstance.d.ts +4 -0
- package/lib/module/skia/types/JsiInstance.js +2 -0
- package/lib/module/skia/types/JsiInstance.js.map +1 -0
- package/lib/module/skia/types/MaskFilter.d.ts +21 -0
- package/lib/module/skia/types/MaskFilter.js +13 -0
- package/lib/module/skia/types/MaskFilter.js.map +1 -0
- package/lib/module/skia/types/Matrix.d.ts +23 -0
- package/lib/module/skia/types/Matrix.js +13 -0
- package/lib/module/skia/types/Matrix.js.map +1 -0
- package/lib/module/skia/types/Matrix4.d.ts +103 -0
- package/lib/module/skia/types/Matrix4.js +274 -0
- package/lib/module/skia/types/Matrix4.js.map +1 -0
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.d.ts +20 -0
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.js +5 -0
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -0
- package/lib/module/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/module/skia/types/NativeBuffer/index.js +2 -0
- package/lib/module/skia/types/NativeBuffer/index.js.map +1 -0
- package/lib/module/skia/types/Paint/BlendMode.d.ts +58 -0
- package/lib/module/skia/types/Paint/BlendMode.js +60 -0
- package/lib/module/skia/types/Paint/BlendMode.js.map +1 -0
- package/lib/module/skia/types/Paint/Paint.d.ts +141 -0
- package/lib/module/skia/types/Paint/Paint.js +19 -0
- package/lib/module/skia/types/Paint/Paint.js.map +1 -0
- package/lib/module/skia/types/Paint/index.d.ts +2 -0
- package/lib/module/skia/types/Paint/index.js +3 -0
- package/lib/module/skia/types/Paint/index.js.map +1 -0
- package/lib/module/skia/types/Paragraph/Paragraph.d.ts +79 -0
- package/lib/module/skia/types/Paragraph/Paragraph.js +2 -0
- package/lib/module/skia/types/Paragraph/Paragraph.js.map +1 -0
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.d.ts +60 -0
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.js +10 -0
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.js.map +1 -0
- package/lib/module/skia/types/Paragraph/ParagraphStyle.d.ts +41 -0
- package/lib/module/skia/types/Paragraph/ParagraphStyle.js +22 -0
- package/lib/module/skia/types/Paragraph/ParagraphStyle.js.map +1 -0
- package/lib/module/skia/types/Paragraph/TextStyle.d.ts +62 -0
- package/lib/module/skia/types/Paragraph/TextStyle.js +21 -0
- package/lib/module/skia/types/Paragraph/TextStyle.js.map +1 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.d.ts +10 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.js +2 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.js.map +1 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +4 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.js +2 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +1 -0
- package/lib/module/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/module/skia/types/Paragraph/index.js +7 -0
- package/lib/module/skia/types/Paragraph/index.js.map +1 -0
- package/lib/module/skia/types/Path/Path.d.ts +475 -0
- package/lib/module/skia/types/Path/Path.js +30 -0
- package/lib/module/skia/types/Path/Path.js.map +1 -0
- package/lib/module/skia/types/Path/PathFactory.d.ts +29 -0
- package/lib/module/skia/types/Path/PathFactory.js +2 -0
- package/lib/module/skia/types/Path/PathFactory.js.map +1 -0
- package/lib/module/skia/types/Path/index.d.ts +2 -0
- package/lib/module/skia/types/Path/index.js +3 -0
- package/lib/module/skia/types/Path/index.js.map +1 -0
- package/lib/module/skia/types/PathEffect.d.ts +75 -0
- package/lib/module/skia/types/PathEffect.js +8 -0
- package/lib/module/skia/types/PathEffect.js.map +1 -0
- package/lib/module/skia/types/Picture/Picture.d.ts +27 -0
- package/lib/module/skia/types/Picture/Picture.js +2 -0
- package/lib/module/skia/types/Picture/Picture.js.map +1 -0
- package/lib/module/skia/types/Picture/PictureFactory.d.ts +8 -0
- package/lib/module/skia/types/Picture/PictureFactory.js +2 -0
- package/lib/module/skia/types/Picture/PictureFactory.js.map +1 -0
- package/lib/module/skia/types/Picture/PictureRecorder.d.ts +15 -0
- package/lib/module/skia/types/Picture/PictureRecorder.js +2 -0
- package/lib/module/skia/types/Picture/PictureRecorder.js.map +1 -0
- package/lib/module/skia/types/Picture/index.d.ts +3 -0
- package/lib/module/skia/types/Picture/index.js +4 -0
- package/lib/module/skia/types/Picture/index.js.map +1 -0
- package/lib/module/skia/types/Point.d.ts +10 -0
- package/lib/module/skia/types/Point.js +7 -0
- package/lib/module/skia/types/Point.js.map +1 -0
- package/lib/module/skia/types/RRect.d.ts +16 -0
- package/lib/module/skia/types/RRect.js +5 -0
- package/lib/module/skia/types/RRect.js.map +1 -0
- package/lib/module/skia/types/RSXform.d.ts +8 -0
- package/lib/module/skia/types/RSXform.js +2 -0
- package/lib/module/skia/types/RSXform.js.map +1 -0
- package/lib/module/skia/types/Rect.d.ts +11 -0
- package/lib/module/skia/types/Rect.js +10 -0
- package/lib/module/skia/types/Rect.js.map +1 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.d.ts +52 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.js +2 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.js.map +1 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +10 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.js +2 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +1 -0
- package/lib/module/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/module/skia/types/RuntimeEffect/index.js +3 -0
- package/lib/module/skia/types/RuntimeEffect/index.js.map +1 -0
- package/lib/module/skia/types/SVG/SVG.d.ts +5 -0
- package/lib/module/skia/types/SVG/SVG.js +2 -0
- package/lib/module/skia/types/SVG/SVG.js.map +1 -0
- package/lib/module/skia/types/SVG/SVGFactory.d.ts +6 -0
- package/lib/module/skia/types/SVG/SVGFactory.js +2 -0
- package/lib/module/skia/types/SVG/SVGFactory.js.map +1 -0
- package/lib/module/skia/types/SVG/index.d.ts +2 -0
- package/lib/module/skia/types/SVG/index.js +3 -0
- package/lib/module/skia/types/SVG/index.js.map +1 -0
- package/lib/module/skia/types/Shader/Shader.d.ts +10 -0
- package/lib/module/skia/types/Shader/Shader.js +39 -0
- package/lib/module/skia/types/Shader/Shader.js.map +1 -0
- package/lib/module/skia/types/Shader/ShaderFactory.d.ts +104 -0
- package/lib/module/skia/types/Shader/ShaderFactory.js +2 -0
- package/lib/module/skia/types/Shader/ShaderFactory.js.map +1 -0
- package/lib/module/skia/types/Shader/index.d.ts +2 -0
- package/lib/module/skia/types/Shader/index.js +3 -0
- package/lib/module/skia/types/Shader/index.js.map +1 -0
- package/lib/module/skia/types/Size.d.ts +4 -0
- package/lib/module/skia/types/Size.js +2 -0
- package/lib/module/skia/types/Size.js.map +1 -0
- package/lib/module/skia/types/Skia.d.ts +78 -0
- package/lib/module/skia/types/Skia.js +2 -0
- package/lib/module/skia/types/Skia.js.map +1 -0
- package/lib/module/skia/types/Surface/Surface.d.ts +37 -0
- package/lib/module/skia/types/Surface/Surface.js +2 -0
- package/lib/module/skia/types/Surface/Surface.js.map +1 -0
- package/lib/module/skia/types/Surface/SurfaceFactory.d.ts +17 -0
- package/lib/module/skia/types/Surface/SurfaceFactory.js +2 -0
- package/lib/module/skia/types/Surface/SurfaceFactory.js.map +1 -0
- package/lib/module/skia/types/Surface/index.d.ts +2 -0
- package/lib/module/skia/types/Surface/index.js +3 -0
- package/lib/module/skia/types/Surface/index.js.map +1 -0
- package/lib/module/skia/types/TextBlob.d.ts +44 -0
- package/lib/module/skia/types/TextBlob.js +2 -0
- package/lib/module/skia/types/TextBlob.js.map +1 -0
- package/lib/module/skia/types/Typeface/Typeface.d.ts +11 -0
- package/lib/module/skia/types/Typeface/Typeface.js +2 -0
- package/lib/module/skia/types/Typeface/Typeface.js.map +1 -0
- package/lib/module/skia/types/Typeface/TypefaceFactory.d.ts +5 -0
- package/lib/module/skia/types/Typeface/TypefaceFactory.js +2 -0
- package/lib/module/skia/types/Typeface/TypefaceFactory.js.map +1 -0
- package/lib/module/skia/types/Typeface/index.d.ts +2 -0
- package/lib/module/skia/types/Typeface/index.js +3 -0
- package/lib/module/skia/types/Typeface/index.js.map +1 -0
- package/lib/module/skia/types/Vertices/Vertices.d.ts +17 -0
- package/lib/module/skia/types/Vertices/Vertices.js +7 -0
- package/lib/module/skia/types/Vertices/Vertices.js.map +1 -0
- package/lib/module/skia/types/Vertices/index.d.ts +1 -0
- package/lib/module/skia/types/Vertices/index.js +2 -0
- package/lib/module/skia/types/Vertices/index.js.map +1 -0
- package/lib/module/skia/types/Video/Video.d.ts +17 -0
- package/lib/module/skia/types/Video/Video.js +2 -0
- package/lib/module/skia/types/Video/Video.js.map +1 -0
- package/lib/module/skia/types/Video/index.d.ts +1 -0
- package/lib/module/skia/types/Video/index.js +2 -0
- package/lib/module/skia/types/Video/index.js.map +1 -0
- package/lib/module/skia/types/index.d.ts +33 -0
- package/lib/module/skia/types/index.js +34 -0
- package/lib/module/skia/types/index.js.map +1 -0
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.d.ts +9 -0
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.js +23 -0
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.js.map +1 -0
- package/lib/module/skia/web/Host.d.ts +20 -0
- package/lib/module/skia/web/Host.js +33 -0
- package/lib/module/skia/web/Host.js.map +1 -0
- package/lib/module/skia/web/JsiSkAnimatedImage.d.ts +11 -0
- package/lib/module/skia/web/JsiSkAnimatedImage.js +27 -0
- package/lib/module/skia/web/JsiSkAnimatedImage.js.map +1 -0
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.js +16 -0
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkCanvas.d.ts +47 -0
- package/lib/module/skia/web/JsiSkCanvas.js +170 -0
- package/lib/module/skia/web/JsiSkCanvas.js.map +1 -0
- package/lib/module/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/module/skia/web/JsiSkColor.js +298 -0
- package/lib/module/skia/web/JsiSkColor.js.map +1 -0
- package/lib/module/skia/web/JsiSkColorFilter.d.ts +7 -0
- package/lib/module/skia/web/JsiSkColorFilter.js +13 -0
- package/lib/module/skia/web/JsiSkColorFilter.js.map +1 -0
- package/lib/module/skia/web/JsiSkColorFilterFactory.d.ts +14 -0
- package/lib/module/skia/web/JsiSkColorFilterFactory.js +29 -0
- package/lib/module/skia/web/JsiSkColorFilterFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkContourMeasure.d.ts +13 -0
- package/lib/module/skia/web/JsiSkContourMeasure.js +28 -0
- package/lib/module/skia/web/JsiSkContourMeasure.js.map +1 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.d.ts +9 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.js +21 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.js.map +1 -0
- package/lib/module/skia/web/JsiSkData.d.ts +9 -0
- package/lib/module/skia/web/JsiSkData.js +13 -0
- package/lib/module/skia/web/JsiSkData.js.map +1 -0
- package/lib/module/skia/web/JsiSkDataFactory.d.ts +19 -0
- package/lib/module/skia/web/JsiSkDataFactory.js +26 -0
- package/lib/module/skia/web/JsiSkDataFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkFont.d.ts +35 -0
- package/lib/module/skia/web/JsiSkFont.js +92 -0
- package/lib/module/skia/web/JsiSkFont.js.map +1 -0
- package/lib/module/skia/web/JsiSkFontMgr.d.ts +10 -0
- package/lib/module/skia/web/JsiSkFontMgr.js +19 -0
- package/lib/module/skia/web/JsiSkFontMgr.js.map +1 -0
- package/lib/module/skia/web/JsiSkFontMgrFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkFontMgrFactory.js +15 -0
- package/lib/module/skia/web/JsiSkFontMgrFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkImage.d.ts +17 -0
- package/lib/module/skia/web/JsiSkImage.js +114 -0
- package/lib/module/skia/web/JsiSkImage.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFactory.d.ts +12 -0
- package/lib/module/skia/web/JsiSkImageFactory.js +61 -0
- package/lib/module/skia/web/JsiSkImageFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFilter.d.ts +7 -0
- package/lib/module/skia/web/JsiSkImageFilter.js +13 -0
- package/lib/module/skia/web/JsiSkImageFilter.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.d.ts +19 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.js +75 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkMaskFilter.d.ts +7 -0
- package/lib/module/skia/web/JsiSkMaskFilter.js +13 -0
- package/lib/module/skia/web/JsiSkMaskFilter.js.map +1 -0
- package/lib/module/skia/web/JsiSkMaskFilterFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkMaskFilterFactory.js +11 -0
- package/lib/module/skia/web/JsiSkMaskFilterFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkMatrix.d.ts +20 -0
- package/lib/module/skia/web/JsiSkMatrix.js +66 -0
- package/lib/module/skia/web/JsiSkMatrix.js.map +1 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js +22 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPaint.d.ts +30 -0
- package/lib/module/skia/web/JsiSkPaint.js +89 -0
- package/lib/module/skia/web/JsiSkPaint.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraph.d.ts +19 -0
- package/lib/module/skia/web/JsiSkParagraph.js +70 -0
- package/lib/module/skia/web/JsiSkParagraph.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.d.ts +15 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.js +56 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.js +20 -0
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraphStyle.d.ts +5 -0
- package/lib/module/skia/web/JsiSkParagraphStyle.js +47 -0
- package/lib/module/skia/web/JsiSkParagraphStyle.js.map +1 -0
- package/lib/module/skia/web/JsiSkPath.d.ts +58 -0
- package/lib/module/skia/web/JsiSkPath.js +256 -0
- package/lib/module/skia/web/JsiSkPath.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathEffect.d.ts +7 -0
- package/lib/module/skia/web/JsiSkPathEffect.js +13 -0
- package/lib/module/skia/web/JsiSkPathEffect.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathEffectFactory.d.ts +15 -0
- package/lib/module/skia/web/JsiSkPathEffectFactory.js +52 -0
- package/lib/module/skia/web/JsiSkPathEffectFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathFactory.d.ts +13 -0
- package/lib/module/skia/web/JsiSkPathFactory.js +35 -0
- package/lib/module/skia/web/JsiSkPathFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPicture.d.ts +10 -0
- package/lib/module/skia/web/JsiSkPicture.js +24 -0
- package/lib/module/skia/web/JsiSkPicture.js.map +1 -0
- package/lib/module/skia/web/JsiSkPictureFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkPictureFactory.js +15 -0
- package/lib/module/skia/web/JsiSkPictureFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.d.ts +12 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.js +22 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.js.map +1 -0
- package/lib/module/skia/web/JsiSkPoint.d.ts +10 -0
- package/lib/module/skia/web/JsiSkPoint.js +25 -0
- package/lib/module/skia/web/JsiSkPoint.js.map +1 -0
- package/lib/module/skia/web/JsiSkRRect.d.ts +12 -0
- package/lib/module/skia/web/JsiSkRRect.js +43 -0
- package/lib/module/skia/web/JsiSkRRect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRSXform.d.ts +14 -0
- package/lib/module/skia/web/JsiSkRSXform.js +37 -0
- package/lib/module/skia/web/JsiSkRSXform.js.map +1 -0
- package/lib/module/skia/web/JsiSkRect.d.ts +13 -0
- package/lib/module/skia/web/JsiSkRect.js +37 -0
- package/lib/module/skia/web/JsiSkRect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.d.ts +17 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.js +37 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.js +15 -0
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkSVG.d.ts +9 -0
- package/lib/module/skia/web/JsiSkSVG.js +21 -0
- package/lib/module/skia/web/JsiSkSVG.js.map +1 -0
- package/lib/module/skia/web/JsiSkSVGFactory.d.ts +10 -0
- package/lib/module/skia/web/JsiSkSVGFactory.js +49 -0
- package/lib/module/skia/web/JsiSkSVGFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkShader.d.ts +7 -0
- package/lib/module/skia/web/JsiSkShader.js +13 -0
- package/lib/module/skia/web/JsiSkShader.js.map +1 -0
- package/lib/module/skia/web/JsiSkShaderFactory.d.ts +16 -0
- package/lib/module/skia/web/JsiSkShaderFactory.js +34 -0
- package/lib/module/skia/web/JsiSkShaderFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkSurface.d.ts +12 -0
- package/lib/module/skia/web/JsiSkSurface.js +32 -0
- package/lib/module/skia/web/JsiSkSurface.js.map +1 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.js +32 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkTextBlob.d.ts +7 -0
- package/lib/module/skia/web/JsiSkTextBlob.js +13 -0
- package/lib/module/skia/web/JsiSkTextBlob.js.map +1 -0
- package/lib/module/skia/web/JsiSkTextBlobFactory.d.ts +13 -0
- package/lib/module/skia/web/JsiSkTextBlobFactory.js +23 -0
- package/lib/module/skia/web/JsiSkTextBlobFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkTextStyle.d.ts +5 -0
- package/lib/module/skia/web/JsiSkTextStyle.js +44 -0
- package/lib/module/skia/web/JsiSkTextStyle.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypeface.d.ts +10 -0
- package/lib/module/skia/web/JsiSkTypeface.js +24 -0
- package/lib/module/skia/web/JsiSkTypeface.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypefaceFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkTypefaceFactory.js +15 -0
- package/lib/module/skia/web/JsiSkTypefaceFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.d.ts +13 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js +69 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +7 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.js +12 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkVertices.d.ts +10 -0
- package/lib/module/skia/web/JsiSkVertices.js +20 -0
- package/lib/module/skia/web/JsiSkVertices.js.map +1 -0
- package/lib/module/skia/web/JsiSkVerticesFactory.d.ts +4 -0
- package/lib/module/skia/web/JsiSkVerticesFactory.js +23 -0
- package/lib/module/skia/web/JsiSkVerticesFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkia.d.ts +3 -0
- package/lib/module/skia/web/JsiSkia.js +81 -0
- package/lib/module/skia/web/JsiSkia.js.map +1 -0
- package/lib/module/skia/web/JsiVideo.d.ts +24 -0
- package/lib/module/skia/web/JsiVideo.js +75 -0
- package/lib/module/skia/web/JsiVideo.js.map +1 -0
- package/lib/module/skia/web/index.d.ts +1 -0
- package/lib/module/skia/web/index.js +2 -0
- package/lib/module/skia/web/index.js.map +1 -0
- package/lib/module/specs/NativeSkiaModule.d.ts +6 -0
- package/lib/module/specs/NativeSkiaModule.js +4 -0
- package/lib/module/specs/NativeSkiaModule.js.map +1 -0
- package/lib/module/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/module/specs/NativeSkiaModule.web.js +2 -0
- package/lib/module/specs/NativeSkiaModule.web.js.map +1 -0
- package/lib/module/specs/SkiaDomViewNativeComponent.d.ts +8 -0
- package/lib/module/specs/SkiaDomViewNativeComponent.js +4 -0
- package/lib/module/specs/SkiaDomViewNativeComponent.js.map +1 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.d.ts +8 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.js +4 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.js.map +1 -0
- package/lib/module/views/SkiaBaseWebView.d.ts +60 -0
- package/lib/module/views/SkiaBaseWebView.js +178 -0
- package/lib/module/views/SkiaBaseWebView.js.map +1 -0
- package/lib/module/views/SkiaDomView.d.ts +30 -0
- package/lib/module/views/SkiaDomView.js +115 -0
- package/lib/module/views/SkiaDomView.js.map +1 -0
- package/lib/module/views/SkiaDomView.web.d.ts +7 -0
- package/lib/module/views/SkiaDomView.web.js +30 -0
- package/lib/module/views/SkiaDomView.web.js.map +1 -0
- package/lib/module/views/SkiaJSDomView.d.ts +31 -0
- package/lib/module/views/SkiaJSDomView.js +122 -0
- package/lib/module/views/SkiaJSDomView.js.map +1 -0
- package/lib/module/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/module/views/SkiaJSDomView.web.js +2 -0
- package/lib/module/views/SkiaJSDomView.web.js.map +1 -0
- package/lib/module/views/SkiaPictureView.d.ts +20 -0
- package/lib/module/views/SkiaPictureView.js +82 -0
- package/lib/module/views/SkiaPictureView.js.map +1 -0
- package/lib/module/views/SkiaPictureView.web.d.ts +7 -0
- package/lib/module/views/SkiaPictureView.web.js +12 -0
- package/lib/module/views/SkiaPictureView.web.js.map +1 -0
- package/lib/module/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/module/views/SkiaViewNativeId.js +4 -0
- package/lib/module/views/SkiaViewNativeId.js.map +1 -0
- package/lib/module/views/api.d.ts +5 -0
- package/lib/module/views/api.js +4 -0
- package/lib/module/views/api.js.map +1 -0
- package/lib/module/views/index.d.ts +4 -0
- package/lib/module/views/index.js +5 -0
- package/lib/module/views/index.js.map +1 -0
- package/lib/module/views/types.d.ts +72 -0
- package/lib/module/views/types.js +8 -0
- package/lib/module/views/types.js.map +1 -0
- package/lib/module/views/useTouchHandler.d.ts +22 -0
- package/lib/module/views/useTouchHandler.js +75 -0
- package/lib/module/views/useTouchHandler.js.map +1 -0
- package/lib/module/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/module/web/LoadSkiaWeb.js +19 -0
- package/lib/module/web/LoadSkiaWeb.js.map +1 -0
- package/lib/module/web/WithSkiaWeb.d.ts +12 -0
- package/lib/module/web/WithSkiaWeb.js +24 -0
- package/lib/module/web/WithSkiaWeb.js.map +1 -0
- package/lib/module/web/index.d.ts +2 -0
- package/lib/module/web/index.js +3 -0
- package/lib/module/web/index.js.map +1 -0
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/jestEnv.d.mts +5 -0
- package/lib/typescript/jestSetup.d.mts +1 -0
- package/lib/typescript/jestSetup.d.ts +1 -0
- package/lib/typescript/src/Platform/IPlatform.d.ts +10 -0
- package/lib/typescript/src/Platform/Platform.d.ts +2 -0
- package/lib/typescript/src/Platform/Platform.web.d.ts +2 -0
- package/lib/typescript/src/Platform/index.d.ts +1 -0
- package/lib/typescript/src/animation/functions/index.d.ts +4 -0
- package/lib/typescript/src/animation/functions/interpolate.d.ts +17 -0
- package/lib/typescript/src/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/typescript/src/animation/functions/interpolatePaths.d.ts +19 -0
- package/lib/typescript/src/animation/functions/interpolateVector.d.ts +10 -0
- package/lib/typescript/src/animation/index.d.ts +1 -0
- package/lib/typescript/src/dom/nodes/DrawingNode.d.ts +14 -0
- package/lib/typescript/src/dom/nodes/GroupNode.d.ts +7 -0
- package/lib/typescript/src/dom/nodes/JsiSkDOM.d.ts +68 -0
- package/lib/typescript/src/dom/nodes/LayerNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/Node.d.ts +34 -0
- package/lib/typescript/src/dom/nodes/PaintNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/RenderNode.d.ts +26 -0
- package/lib/typescript/src/dom/nodes/datatypes/Circle.d.ts +7 -0
- package/lib/typescript/src/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/typescript/src/dom/nodes/datatypes/Fitting.d.ts +33 -0
- package/lib/typescript/src/dom/nodes/datatypes/Gradient.d.ts +252 -0
- package/lib/typescript/src/dom/nodes/datatypes/Path.d.ts +4 -0
- package/lib/typescript/src/dom/nodes/datatypes/Radius.d.ts +3 -0
- package/lib/typescript/src/dom/nodes/datatypes/Rect.d.ts +5 -0
- package/lib/typescript/src/dom/nodes/datatypes/Transform.d.ts +3 -0
- package/lib/typescript/src/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/AtlasNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/BackdropFilterNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/typescript/src/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/DiffRectNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/FillNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/ImageNode.d.ts +25 -0
- package/lib/typescript/src/dom/nodes/drawings/ImageSVG.d.ts +13 -0
- package/lib/typescript/src/dom/nodes/drawings/LineNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/PatchNode.d.ts +18 -0
- package/lib/typescript/src/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/PointsNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/typescript/src/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/Text.d.ts +30 -0
- package/lib/typescript/src/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/typescript/src/dom/nodes/index.d.ts +3 -0
- package/lib/typescript/src/dom/nodes/paint/BlendNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/paint/ColorFilters.d.ts +35 -0
- package/lib/typescript/src/dom/nodes/paint/ImageFilters.d.ts +42 -0
- package/lib/typescript/src/dom/nodes/paint/MaskFilters.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/paint/PathEffects.d.ts +39 -0
- package/lib/typescript/src/dom/nodes/paint/Shaders.d.ts +43 -0
- package/lib/typescript/src/dom/nodes/paint/index.d.ts +6 -0
- package/lib/typescript/src/dom/types/ColorFilters.d.ts +12 -0
- package/lib/typescript/src/dom/types/Common.d.ts +57 -0
- package/lib/typescript/src/dom/types/DeclarationContext.d.ts +29 -0
- package/lib/typescript/src/dom/types/DrawingContext.d.ts +22 -0
- package/lib/typescript/src/dom/types/Drawings.d.ts +111 -0
- package/lib/typescript/src/dom/types/ImageFilters.d.ts +37 -0
- package/lib/typescript/src/dom/types/MaskFilters.d.ts +7 -0
- package/lib/typescript/src/dom/types/Node.d.ts +22 -0
- package/lib/typescript/src/dom/types/NodeType.d.ts +59 -0
- package/lib/typescript/src/dom/types/Paragraph.d.ts +8 -0
- package/lib/typescript/src/dom/types/PathEffects.d.ts +28 -0
- package/lib/typescript/src/dom/types/Shaders.d.ts +59 -0
- package/lib/typescript/src/dom/types/SkDOM.d.ts +73 -0
- package/lib/typescript/src/dom/types/index.d.ts +13 -0
- package/lib/typescript/src/external/ModuleProxy.d.ts +10 -0
- package/lib/typescript/src/external/index.d.ts +1 -0
- package/lib/typescript/src/external/reanimated/ReanimatedProxy.d.ts +3 -0
- package/lib/typescript/src/external/reanimated/buffers.d.ts +7 -0
- package/lib/typescript/src/external/reanimated/index.d.ts +7 -0
- package/lib/typescript/src/external/reanimated/interpolators.d.ts +10 -0
- package/lib/typescript/src/external/reanimated/renderHelpers.d.ts +6 -0
- package/lib/typescript/src/external/reanimated/textures.d.ts +8 -0
- package/lib/typescript/src/external/reanimated/useAnimatedImageValue.d.ts +3 -0
- package/lib/typescript/src/external/reanimated/useDerivedValueOnJS.d.ts +1 -0
- package/lib/typescript/src/external/reanimated/useVideo.d.ts +21 -0
- package/lib/typescript/src/external/reanimated/useVideoLoading.d.ts +4 -0
- package/lib/typescript/src/external/reanimated/useVideoLoading.web.d.ts +4 -0
- package/lib/typescript/src/headless/index.d.ts +8 -0
- package/lib/typescript/src/index.d.ts +11 -0
- package/lib/typescript/src/mock/index.d.ts +2 -0
- package/lib/typescript/src/renderer/Canvas.d.ts +11 -0
- package/lib/typescript/src/renderer/Container.d.ts +11 -0
- package/lib/typescript/src/renderer/DrawingContext.d.ts +7 -0
- package/lib/typescript/src/renderer/HostComponents.d.ts +132 -0
- package/lib/typescript/src/renderer/HostConfig.d.ts +19 -0
- package/lib/typescript/src/renderer/Offscreen.d.ts +6 -0
- package/lib/typescript/src/renderer/Reconciler.d.ts +10 -0
- package/lib/typescript/src/renderer/components/Blend.d.ts +4 -0
- package/lib/typescript/src/renderer/components/Group.d.ts +8 -0
- package/lib/typescript/src/renderer/components/Mask.d.ts +10 -0
- package/lib/typescript/src/renderer/components/Paint.d.ts +4 -0
- package/lib/typescript/src/renderer/components/Picture.d.ts +4 -0
- package/lib/typescript/src/renderer/components/backdrop/BackdropBlur.d.ts +9 -0
- package/lib/typescript/src/renderer/components/backdrop/BackdropFilter.d.ts +8 -0
- package/lib/typescript/src/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/typescript/src/renderer/components/colorFilters/BlendColor.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/Lerp.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/LumaColorFilter.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/Matrix.d.ts +5 -0
- package/lib/typescript/src/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/typescript/src/renderer/components/image/Image.d.ts +4 -0
- package/lib/typescript/src/renderer/components/image/ImageSVG.d.ts +4 -0
- package/lib/typescript/src/renderer/components/image/ImageShader.d.ts +4 -0
- package/lib/typescript/src/renderer/components/image/index.d.ts +3 -0
- package/lib/typescript/src/renderer/components/imageFilters/Blur.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/DisplacementMap.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/Morphology.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/Offset.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/RuntimeShader.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/Shadow.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/typescript/src/renderer/components/index.d.ts +16 -0
- package/lib/typescript/src/renderer/components/maskFilters/Blur.d.ts +4 -0
- package/lib/typescript/src/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/typescript/src/renderer/components/paragraph/Paragraph.d.ts +4 -0
- package/lib/typescript/src/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/typescript/src/renderer/components/pathEffects/Corner.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Dash.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Discrete.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Line2D.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Path1D.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Path2D.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Sum.d.ts +3 -0
- package/lib/typescript/src/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/typescript/src/renderer/components/shaders/Color.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/FractalNoise.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/LinearGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/RadialGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/Shader.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/ShaderLib.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/SweepGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/Turbulence.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/TwoPointConicalGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/index.d.ts +9 -0
- package/lib/typescript/src/renderer/components/shapes/Atlas.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Box.d.ts +5 -0
- package/lib/typescript/src/renderer/components/shapes/Circle.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/DiffRect.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Fill.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/FitBox.d.ts +13 -0
- package/lib/typescript/src/renderer/components/shapes/Line.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Oval.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Patch.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Path.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Points.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Rect.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/RoundedRect.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Vertices.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/index.d.ts +14 -0
- package/lib/typescript/src/renderer/components/text/Glyphs.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/Text.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/TextBlob.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/TextPath.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/index.d.ts +4 -0
- package/lib/typescript/src/renderer/index.d.ts +1 -0
- package/lib/typescript/src/renderer/processors/Animations/Animations.d.ts +13 -0
- package/lib/typescript/src/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/typescript/src/renderer/processors/index.d.ts +2 -0
- package/lib/typescript/src/renderer/processors/math/Coordinates.d.ts +29 -0
- package/lib/typescript/src/renderer/processors/math/Math.d.ts +16 -0
- package/lib/typescript/src/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/typescript/src/renderer/processors/math/index.d.ts +3 -0
- package/lib/typescript/src/renderer/typeddash.d.ts +3 -0
- package/lib/typescript/src/skia/NativeSetup.d.ts +1 -0
- package/lib/typescript/src/skia/Skia.d.ts +8 -0
- package/lib/typescript/src/skia/Skia.web.d.ts +1 -0
- package/lib/typescript/src/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/typescript/src/skia/core/Data.d.ts +5 -0
- package/lib/typescript/src/skia/core/Font.d.ts +18 -0
- package/lib/typescript/src/skia/core/Image.d.ts +17 -0
- package/lib/typescript/src/skia/core/Matrix.d.ts +2 -0
- package/lib/typescript/src/skia/core/Picture.d.ts +8 -0
- package/lib/typescript/src/skia/core/RRect.d.ts +2 -0
- package/lib/typescript/src/skia/core/Rect.d.ts +8 -0
- package/lib/typescript/src/skia/core/SVG.d.ts +2 -0
- package/lib/typescript/src/skia/core/SVG.web.d.ts +2 -0
- package/lib/typescript/src/skia/core/Typeface.d.ts +5 -0
- package/lib/typescript/src/skia/core/Vector.d.ts +7 -0
- package/lib/typescript/src/skia/core/index.d.ts +11 -0
- package/lib/typescript/src/skia/index.d.ts +3 -0
- package/lib/typescript/src/skia/types/AnimatedImage/AnimatedImage.d.ts +24 -0
- package/lib/typescript/src/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +13 -0
- package/lib/typescript/src/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Canvas.d.ts +404 -0
- package/lib/typescript/src/skia/types/Color.d.ts +2 -0
- package/lib/typescript/src/skia/types/ColorFilter/ColorFilter.d.ts +3 -0
- package/lib/typescript/src/skia/types/ColorFilter/ColorFilterFactory.d.ts +43 -0
- package/lib/typescript/src/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/ContourMeasure.d.ts +41 -0
- package/lib/typescript/src/skia/types/Data/Data.d.ts +12 -0
- package/lib/typescript/src/skia/types/Data/DataFactory.d.ts +18 -0
- package/lib/typescript/src/skia/types/Data/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Font/Font.d.ts +189 -0
- package/lib/typescript/src/skia/types/Font/FontMgr.d.ts +8 -0
- package/lib/typescript/src/skia/types/Font/FontMgrFactory.d.ts +4 -0
- package/lib/typescript/src/skia/types/Font/index.d.ts +3 -0
- package/lib/typescript/src/skia/types/Image/Image.d.ts +102 -0
- package/lib/typescript/src/skia/types/Image/ImageFactory.d.ts +80 -0
- package/lib/typescript/src/skia/types/Image/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/ImageFilter/ImageFilter.d.ts +23 -0
- package/lib/typescript/src/skia/types/ImageFilter/ImageFilterFactory.d.ts +130 -0
- package/lib/typescript/src/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/JsiInstance.d.ts +4 -0
- package/lib/typescript/src/skia/types/MaskFilter.d.ts +21 -0
- package/lib/typescript/src/skia/types/Matrix.d.ts +23 -0
- package/lib/typescript/src/skia/types/Matrix4.d.ts +103 -0
- package/lib/typescript/src/skia/types/NativeBuffer/NativeBufferFactory.d.ts +20 -0
- package/lib/typescript/src/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/Paint/BlendMode.d.ts +58 -0
- package/lib/typescript/src/skia/types/Paint/Paint.d.ts +141 -0
- package/lib/typescript/src/skia/types/Paint/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Paragraph/Paragraph.d.ts +79 -0
- package/lib/typescript/src/skia/types/Paragraph/ParagraphBuilder.d.ts +60 -0
- package/lib/typescript/src/skia/types/Paragraph/ParagraphStyle.d.ts +41 -0
- package/lib/typescript/src/skia/types/Paragraph/TextStyle.d.ts +62 -0
- package/lib/typescript/src/skia/types/Paragraph/TypefaceFontProvider.d.ts +10 -0
- package/lib/typescript/src/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +4 -0
- package/lib/typescript/src/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/typescript/src/skia/types/Path/Path.d.ts +475 -0
- package/lib/typescript/src/skia/types/Path/PathFactory.d.ts +29 -0
- package/lib/typescript/src/skia/types/Path/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/PathEffect.d.ts +75 -0
- package/lib/typescript/src/skia/types/Picture/Picture.d.ts +27 -0
- package/lib/typescript/src/skia/types/Picture/PictureFactory.d.ts +8 -0
- package/lib/typescript/src/skia/types/Picture/PictureRecorder.d.ts +15 -0
- package/lib/typescript/src/skia/types/Picture/index.d.ts +3 -0
- package/lib/typescript/src/skia/types/Point.d.ts +10 -0
- package/lib/typescript/src/skia/types/RRect.d.ts +16 -0
- package/lib/typescript/src/skia/types/RSXform.d.ts +8 -0
- package/lib/typescript/src/skia/types/Rect.d.ts +11 -0
- package/lib/typescript/src/skia/types/RuntimeEffect/RuntimeEffect.d.ts +52 -0
- package/lib/typescript/src/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +10 -0
- package/lib/typescript/src/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/SVG/SVG.d.ts +5 -0
- package/lib/typescript/src/skia/types/SVG/SVGFactory.d.ts +6 -0
- package/lib/typescript/src/skia/types/SVG/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Shader/Shader.d.ts +10 -0
- package/lib/typescript/src/skia/types/Shader/ShaderFactory.d.ts +104 -0
- package/lib/typescript/src/skia/types/Shader/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Size.d.ts +4 -0
- package/lib/typescript/src/skia/types/Skia.d.ts +78 -0
- package/lib/typescript/src/skia/types/Surface/Surface.d.ts +37 -0
- package/lib/typescript/src/skia/types/Surface/SurfaceFactory.d.ts +17 -0
- package/lib/typescript/src/skia/types/Surface/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/TextBlob.d.ts +44 -0
- package/lib/typescript/src/skia/types/Typeface/Typeface.d.ts +11 -0
- package/lib/typescript/src/skia/types/Typeface/TypefaceFactory.d.ts +5 -0
- package/lib/typescript/src/skia/types/Typeface/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Vertices/Vertices.d.ts +17 -0
- package/lib/typescript/src/skia/types/Vertices/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/Video/Video.d.ts +17 -0
- package/lib/typescript/src/skia/types/Video/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/index.d.ts +33 -0
- package/lib/typescript/src/skia/web/CanvasKitWebGLBufferImpl.d.ts +9 -0
- package/lib/typescript/src/skia/web/Host.d.ts +20 -0
- package/lib/typescript/src/skia/web/JsiSkAnimatedImage.d.ts +11 -0
- package/lib/typescript/src/skia/web/JsiSkAnimatedImageFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkCanvas.d.ts +47 -0
- package/lib/typescript/src/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/typescript/src/skia/web/JsiSkColorFilter.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkColorFilterFactory.d.ts +14 -0
- package/lib/typescript/src/skia/web/JsiSkContourMeasure.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkContourMeasureIter.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkData.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkDataFactory.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkFont.d.ts +35 -0
- package/lib/typescript/src/skia/web/JsiSkFontMgr.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkFontMgrFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkImage.d.ts +17 -0
- package/lib/typescript/src/skia/web/JsiSkImageFactory.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkImageFilter.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkImageFilterFactory.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkMaskFilter.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkMaskFilterFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkMatrix.d.ts +20 -0
- package/lib/typescript/src/skia/web/JsiSkNativeBufferFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkPaint.d.ts +30 -0
- package/lib/typescript/src/skia/web/JsiSkParagraph.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkParagraphBuilder.d.ts +15 -0
- package/lib/typescript/src/skia/web/JsiSkParagraphBuilderFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkParagraphStyle.d.ts +5 -0
- package/lib/typescript/src/skia/web/JsiSkPath.d.ts +58 -0
- package/lib/typescript/src/skia/web/JsiSkPathEffect.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkPathEffectFactory.d.ts +15 -0
- package/lib/typescript/src/skia/web/JsiSkPathFactory.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkPicture.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkPictureFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkPictureRecorder.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkPoint.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkRRect.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkRSXform.d.ts +14 -0
- package/lib/typescript/src/skia/web/JsiSkRect.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkRuntimeEffect.d.ts +17 -0
- package/lib/typescript/src/skia/web/JsiSkRuntimeEffectFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkSVG.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkSVGFactory.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkShader.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkShaderFactory.d.ts +16 -0
- package/lib/typescript/src/skia/web/JsiSkSurface.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkSurfaceFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkTextBlob.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkTextBlobFactory.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkTextStyle.d.ts +5 -0
- package/lib/typescript/src/skia/web/JsiSkTypeface.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFontProvider.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkVertices.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkVerticesFactory.d.ts +4 -0
- package/lib/typescript/src/skia/web/JsiSkia.d.ts +3 -0
- package/lib/typescript/src/skia/web/JsiVideo.d.ts +24 -0
- package/lib/typescript/src/skia/web/index.d.ts +1 -0
- package/lib/typescript/src/specs/NativeSkiaModule.d.ts +6 -0
- package/lib/typescript/src/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/typescript/src/specs/SkiaDomViewNativeComponent.d.ts +8 -0
- package/lib/typescript/src/specs/SkiaPictureViewNativeComponent.d.ts +8 -0
- package/lib/typescript/src/views/SkiaBaseWebView.d.ts +60 -0
- package/lib/typescript/src/views/SkiaDomView.d.ts +30 -0
- package/lib/typescript/src/views/SkiaDomView.web.d.ts +7 -0
- package/lib/typescript/src/views/SkiaJSDomView.d.ts +31 -0
- package/lib/typescript/src/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/typescript/src/views/SkiaPictureView.d.ts +20 -0
- package/lib/typescript/src/views/SkiaPictureView.web.d.ts +7 -0
- package/lib/typescript/src/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/typescript/src/views/api.d.ts +5 -0
- package/lib/typescript/src/views/index.d.ts +4 -0
- package/lib/typescript/src/views/types.d.ts +72 -0
- package/lib/typescript/src/views/useTouchHandler.d.ts +22 -0
- package/lib/typescript/src/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/typescript/src/web/WithSkiaWeb.d.ts +12 -0
- package/lib/typescript/src/web/index.d.ts +2 -0
- package/libs/android/arm64-v8a/libskia.a +0 -0
- package/libs/android/arm64-v8a/libskottie.a +0 -0
- package/libs/android/arm64-v8a/libskparagraph.a +0 -0
- package/libs/android/arm64-v8a/libsksg.a +0 -0
- package/libs/android/arm64-v8a/libskshaper.a +0 -0
- package/libs/android/arm64-v8a/libskunicode.a +0 -0
- package/libs/android/arm64-v8a/libsvg.a +0 -0
- package/libs/android/armeabi-v7a/libskia.a +0 -0
- package/libs/android/armeabi-v7a/libskottie.a +0 -0
- package/libs/android/armeabi-v7a/libskparagraph.a +0 -0
- package/libs/android/armeabi-v7a/libsksg.a +0 -0
- package/libs/android/armeabi-v7a/libskshaper.a +0 -0
- package/libs/android/armeabi-v7a/libskunicode.a +0 -0
- package/libs/android/armeabi-v7a/libsvg.a +0 -0
- package/libs/android/x86/libskia.a +0 -0
- package/libs/android/x86/libskottie.a +0 -0
- package/libs/android/x86/libskparagraph.a +0 -0
- package/libs/android/x86/libsksg.a +0 -0
- package/libs/android/x86/libskshaper.a +0 -0
- package/libs/android/x86/libskunicode.a +0 -0
- package/libs/android/x86/libsvg.a +0 -0
- package/libs/android/x86_64/libskia.a +0 -0
- package/libs/android/x86_64/libskottie.a +0 -0
- package/libs/android/x86_64/libskparagraph.a +0 -0
- package/libs/android/x86_64/libsksg.a +0 -0
- package/libs/android/x86_64/libskshaper.a +0 -0
- package/libs/android/x86_64/libskunicode.a +0 -0
- package/libs/android/x86_64/libsvg.a +0 -0
- package/libs/ios/libskia.xcframework/Info.plist +46 -0
- package/libs/ios/libskia.xcframework/ios-arm64_arm64e/libskia.a +0 -0
- package/libs/ios/libskia.xcframework/ios-arm64_arm64e_x86_64-simulator/libskia.a +0 -0
- package/libs/ios/libskottie.xcframework/Info.plist +46 -0
- package/libs/ios/libskottie.xcframework/ios-arm64_arm64e/libskottie.a +0 -0
- package/libs/ios/libskottie.xcframework/ios-arm64_arm64e_x86_64-simulator/libskottie.a +0 -0
- package/libs/ios/libskparagraph.xcframework/Info.plist +46 -0
- package/libs/ios/libskparagraph.xcframework/ios-arm64_arm64e/libskparagraph.a +0 -0
- package/libs/ios/libskparagraph.xcframework/ios-arm64_arm64e_x86_64-simulator/libskparagraph.a +0 -0
- package/libs/ios/libsksg.xcframework/Info.plist +46 -0
- package/libs/ios/libsksg.xcframework/ios-arm64_arm64e/libsksg.a +0 -0
- package/libs/ios/libsksg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsksg.a +0 -0
- package/libs/ios/libskshaper.xcframework/Info.plist +46 -0
- package/libs/ios/libskshaper.xcframework/ios-arm64_arm64e/libskshaper.a +0 -0
- package/libs/ios/libskshaper.xcframework/ios-arm64_arm64e_x86_64-simulator/libskshaper.a +0 -0
- package/libs/ios/libskunicode.xcframework/Info.plist +46 -0
- package/libs/ios/libskunicode.xcframework/ios-arm64_arm64e/libskunicode.a +0 -0
- package/libs/ios/libskunicode.xcframework/ios-arm64_arm64e_x86_64-simulator/libskunicode.a +0 -0
- package/libs/ios/libsvg.xcframework/Info.plist +46 -0
- package/libs/ios/libsvg.xcframework/ios-arm64_arm64e/libsvg.a +0 -0
- package/libs/ios/libsvg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsvg.a +0 -0
- package/package.json +143 -0
- package/react-native-skia.podspec +59 -0
- package/scripts/setup-canvaskit.js +105 -0
- package/src/Platform/IPlatform.ts +18 -0
- package/src/Platform/Platform.ts +24 -0
- package/src/Platform/Platform.web.tsx +150 -0
- package/src/Platform/index.ts +1 -0
- package/src/animation/functions/index.ts +4 -0
- package/src/animation/functions/interpolate.ts +189 -0
- package/src/animation/functions/interpolateColors.ts +61 -0
- package/src/animation/functions/interpolatePaths.ts +92 -0
- package/src/animation/functions/interpolateVector.ts +31 -0
- package/src/animation/index.ts +1 -0
- package/src/dom/nodes/DrawingNode.ts +74 -0
- package/src/dom/nodes/GroupNode.ts +19 -0
- package/src/dom/nodes/JsiSkDOM.ts +481 -0
- package/src/dom/nodes/LayerNode.ts +37 -0
- package/src/dom/nodes/Node.ts +121 -0
- package/src/dom/nodes/PaintNode.ts +91 -0
- package/src/dom/nodes/RenderNode.ts +172 -0
- package/src/dom/nodes/datatypes/Circle.ts +14 -0
- package/src/dom/nodes/datatypes/Enum.ts +2 -0
- package/src/dom/nodes/datatypes/Fitting.ts +131 -0
- package/src/dom/nodes/datatypes/Gradient.ts +48 -0
- package/src/dom/nodes/datatypes/Path.ts +18 -0
- package/src/dom/nodes/datatypes/Radius.ts +9 -0
- package/src/dom/nodes/datatypes/Rect.ts +40 -0
- package/src/dom/nodes/datatypes/Transform.ts +24 -0
- package/src/dom/nodes/datatypes/index.ts +8 -0
- package/src/dom/nodes/drawings/AtlasNode.ts +24 -0
- package/src/dom/nodes/drawings/BackdropFilterNode.ts +37 -0
- package/src/dom/nodes/drawings/Box.ts +110 -0
- package/src/dom/nodes/drawings/CircleNode.ts +24 -0
- package/src/dom/nodes/drawings/DiffRectNode.ts +19 -0
- package/src/dom/nodes/drawings/FillNode.ts +18 -0
- package/src/dom/nodes/drawings/ImageNode.ts +49 -0
- package/src/dom/nodes/drawings/ImageSVG.ts +38 -0
- package/src/dom/nodes/drawings/LineNode.ts +19 -0
- package/src/dom/nodes/drawings/OvalNode.ts +23 -0
- package/src/dom/nodes/drawings/ParagraphNode.ts +22 -0
- package/src/dom/nodes/drawings/PatchNode.ts +54 -0
- package/src/dom/nodes/drawings/PathNode.ts +51 -0
- package/src/dom/nodes/drawings/PictureNode.ts +19 -0
- package/src/dom/nodes/drawings/PointsNode.ts +21 -0
- package/src/dom/nodes/drawings/RRectNode.ts +25 -0
- package/src/dom/nodes/drawings/RectNode.ts +23 -0
- package/src/dom/nodes/drawings/Text.ts +145 -0
- package/src/dom/nodes/drawings/VerticesNode.ts +35 -0
- package/src/dom/nodes/drawings/index.ts +18 -0
- package/src/dom/nodes/index.ts +3 -0
- package/src/dom/nodes/paint/BlendNode.ts +32 -0
- package/src/dom/nodes/paint/ColorFilters.ts +106 -0
- package/src/dom/nodes/paint/ImageFilters.ts +221 -0
- package/src/dom/nodes/paint/MaskFilters.ts +23 -0
- package/src/dom/nodes/paint/PathEffects.ts +139 -0
- package/src/dom/nodes/paint/Shaders.ts +233 -0
- package/src/dom/nodes/paint/index.ts +6 -0
- package/src/dom/types/ColorFilters.ts +16 -0
- package/src/dom/types/Common.ts +90 -0
- package/src/dom/types/DeclarationContext.ts +105 -0
- package/src/dom/types/DrawingContext.ts +322 -0
- package/src/dom/types/Drawings.ts +163 -0
- package/src/dom/types/ImageFilters.ts +53 -0
- package/src/dom/types/MaskFilters.ts +9 -0
- package/src/dom/types/Node.ts +30 -0
- package/src/dom/types/NodeType.ts +74 -0
- package/src/dom/types/Paragraph.ts +10 -0
- package/src/dom/types/PathEffects.ts +35 -0
- package/src/dom/types/Shaders.ts +86 -0
- package/src/dom/types/SkDOM.ts +184 -0
- package/src/dom/types/index.ts +13 -0
- package/src/external/ModuleProxy.ts +30 -0
- package/src/external/index.ts +1 -0
- package/src/external/reanimated/ReanimatedProxy.ts +18 -0
- package/src/external/reanimated/buffers.ts +58 -0
- package/src/external/reanimated/index.ts +7 -0
- package/src/external/reanimated/interpolators.ts +124 -0
- package/src/external/reanimated/renderHelpers.ts +132 -0
- package/src/external/reanimated/textures.tsx +93 -0
- package/src/external/reanimated/useAnimatedImageValue.ts +63 -0
- package/src/external/reanimated/useDerivedValueOnJS.ts +20 -0
- package/src/external/reanimated/useVideo.ts +157 -0
- package/src/external/reanimated/useVideoLoading.ts +29 -0
- package/src/external/reanimated/useVideoLoading.web.ts +17 -0
- package/src/headless/index.ts +42 -0
- package/src/index.ts +11 -0
- package/src/mock/index.ts +51 -0
- package/src/renderer/Canvas.tsx +148 -0
- package/src/renderer/Container.tsx +30 -0
- package/src/renderer/DrawingContext.ts +8 -0
- package/src/renderer/HostComponents.ts +407 -0
- package/src/renderer/HostConfig.ts +244 -0
- package/src/renderer/Offscreen.tsx +48 -0
- package/src/renderer/Reconciler.tsx +57 -0
- package/src/renderer/components/Blend.tsx +8 -0
- package/src/renderer/components/Group.tsx +21 -0
- package/src/renderer/components/Mask.tsx +36 -0
- package/src/renderer/components/Paint.tsx +8 -0
- package/src/renderer/components/Picture.tsx +8 -0
- package/src/renderer/components/backdrop/BackdropBlur.tsx +24 -0
- package/src/renderer/components/backdrop/BackdropFilter.tsx +23 -0
- package/src/renderer/components/backdrop/index.ts +2 -0
- package/src/renderer/components/colorFilters/BlendColor.tsx +8 -0
- package/src/renderer/components/colorFilters/Lerp.tsx +8 -0
- package/src/renderer/components/colorFilters/LinearToSRGBGamma.tsx +8 -0
- package/src/renderer/components/colorFilters/LumaColorFilter.tsx +8 -0
- package/src/renderer/components/colorFilters/Matrix.tsx +31 -0
- package/src/renderer/components/colorFilters/SRGBToLinearGamma.tsx +8 -0
- package/src/renderer/components/colorFilters/index.ts +6 -0
- package/src/renderer/components/image/Image.tsx +8 -0
- package/src/renderer/components/image/ImageSVG.tsx +8 -0
- package/src/renderer/components/image/ImageShader.tsx +29 -0
- package/src/renderer/components/image/index.ts +3 -0
- package/src/renderer/components/imageFilters/Blur.tsx +11 -0
- package/src/renderer/components/imageFilters/DisplacementMap.tsx +10 -0
- package/src/renderer/components/imageFilters/Morphology.tsx +11 -0
- package/src/renderer/components/imageFilters/Offset.tsx +12 -0
- package/src/renderer/components/imageFilters/RuntimeShader.tsx +10 -0
- package/src/renderer/components/imageFilters/Shadow.tsx +8 -0
- package/src/renderer/components/imageFilters/index.ts +6 -0
- package/src/renderer/components/index.ts +18 -0
- package/src/renderer/components/maskFilters/Blur.tsx +12 -0
- package/src/renderer/components/maskFilters/index.ts +1 -0
- package/src/renderer/components/paragraph/Paragraph.tsx +8 -0
- package/src/renderer/components/paragraph/index.ts +1 -0
- package/src/renderer/components/pathEffects/Corner.tsx +8 -0
- package/src/renderer/components/pathEffects/Dash.tsx +8 -0
- package/src/renderer/components/pathEffects/Discrete.tsx +11 -0
- package/src/renderer/components/pathEffects/Line2D.tsx +8 -0
- package/src/renderer/components/pathEffects/Path1D.tsx +8 -0
- package/src/renderer/components/pathEffects/Path2D.tsx +8 -0
- package/src/renderer/components/pathEffects/Sum.tsx +7 -0
- package/src/renderer/components/pathEffects/index.ts +7 -0
- package/src/renderer/components/shaders/Color.tsx +8 -0
- package/src/renderer/components/shaders/FractalNoise.tsx +23 -0
- package/src/renderer/components/shaders/LinearGradient.tsx +8 -0
- package/src/renderer/components/shaders/RadialGradient.tsx +8 -0
- package/src/renderer/components/shaders/Shader.tsx +11 -0
- package/src/renderer/components/shaders/ShaderLib.ts +46 -0
- package/src/renderer/components/shaders/SweepGradient.tsx +8 -0
- package/src/renderer/components/shaders/Turbulence.tsx +20 -0
- package/src/renderer/components/shaders/TwoPointConicalGradient.tsx +10 -0
- package/src/renderer/components/shaders/index.ts +9 -0
- package/src/renderer/components/shapes/Atlas.tsx +8 -0
- package/src/renderer/components/shapes/Box.tsx +12 -0
- package/src/renderer/components/shapes/Circle.tsx +8 -0
- package/src/renderer/components/shapes/DiffRect.tsx +8 -0
- package/src/renderer/components/shapes/Fill.tsx +8 -0
- package/src/renderer/components/shapes/FitBox.tsx +58 -0
- package/src/renderer/components/shapes/Line.tsx +8 -0
- package/src/renderer/components/shapes/Oval.tsx +8 -0
- package/src/renderer/components/shapes/Patch.tsx +8 -0
- package/src/renderer/components/shapes/Path.tsx +12 -0
- package/src/renderer/components/shapes/Points.tsx +11 -0
- package/src/renderer/components/shapes/Rect.tsx +8 -0
- package/src/renderer/components/shapes/RoundedRect.tsx +8 -0
- package/src/renderer/components/shapes/Vertices.tsx +11 -0
- package/src/renderer/components/shapes/index.ts +14 -0
- package/src/renderer/components/text/Glyphs.tsx +12 -0
- package/src/renderer/components/text/Text.tsx +12 -0
- package/src/renderer/components/text/TextBlob.tsx +12 -0
- package/src/renderer/components/text/TextPath.tsx +11 -0
- package/src/renderer/components/text/index.ts +4 -0
- package/src/renderer/index.ts +1 -0
- package/src/renderer/processors/Animations/Animations.ts +27 -0
- package/src/renderer/processors/Animations/index.ts +1 -0
- package/src/renderer/processors/index.ts +2 -0
- package/src/renderer/processors/math/Coordinates.ts +48 -0
- package/src/renderer/processors/math/Math.ts +31 -0
- package/src/renderer/processors/math/Transforms.ts +9 -0
- package/src/renderer/processors/math/index.ts +3 -0
- package/src/renderer/typeddash.ts +25 -0
- package/src/skia/NativeSetup.ts +19 -0
- package/src/skia/Skia.ts +11 -0
- package/src/skia/Skia.web.ts +3 -0
- package/src/skia/core/AnimatedImage.ts +17 -0
- package/src/skia/core/Data.ts +109 -0
- package/src/skia/core/Font.ts +134 -0
- package/src/skia/core/Image.ts +55 -0
- package/src/skia/core/Matrix.ts +8 -0
- package/src/skia/core/Picture.ts +23 -0
- package/src/skia/core/RRect.tsx +7 -0
- package/src/skia/core/Rect.ts +50 -0
- package/src/skia/core/SVG.ts +11 -0
- package/src/skia/core/SVG.web.ts +29 -0
- package/src/skia/core/Typeface.ts +14 -0
- package/src/skia/core/Vector.ts +24 -0
- package/src/skia/core/index.ts +11 -0
- package/src/skia/index.ts +3 -0
- package/src/skia/types/AnimatedImage/AnimatedImage.ts +29 -0
- package/src/skia/types/AnimatedImage/AnimatedImageFactory.ts +15 -0
- package/src/skia/types/AnimatedImage/index.ts +2 -0
- package/src/skia/types/Canvas.ts +539 -0
- package/src/skia/types/Color.ts +4 -0
- package/src/skia/types/ColorFilter/ColorFilter.ts +7 -0
- package/src/skia/types/ColorFilter/ColorFilterFactory.ts +52 -0
- package/src/skia/types/ColorFilter/index.ts +2 -0
- package/src/skia/types/ContourMeasure.tsx +48 -0
- package/src/skia/types/Data/Data.ts +15 -0
- package/src/skia/types/Data/DataFactory.ts +19 -0
- package/src/skia/types/Data/index.ts +2 -0
- package/src/skia/types/Font/Font.ts +229 -0
- package/src/skia/types/Font/FontMgr.ts +10 -0
- package/src/skia/types/Font/FontMgrFactory.ts +5 -0
- package/src/skia/types/Font/index.ts +3 -0
- package/src/skia/types/Image/Image.ts +133 -0
- package/src/skia/types/Image/ImageFactory.ts +90 -0
- package/src/skia/types/Image/index.ts +2 -0
- package/src/skia/types/ImageFilter/ImageFilter.ts +31 -0
- package/src/skia/types/ImageFilter/ImageFilterFactory.ts +192 -0
- package/src/skia/types/ImageFilter/index.ts +2 -0
- package/src/skia/types/JsiInstance.ts +4 -0
- package/src/skia/types/MaskFilter.ts +27 -0
- package/src/skia/types/Matrix.ts +41 -0
- package/src/skia/types/Matrix4.ts +377 -0
- package/src/skia/types/NativeBuffer/NativeBufferFactory.ts +46 -0
- package/src/skia/types/NativeBuffer/index.ts +1 -0
- package/src/skia/types/Paint/BlendMode.ts +61 -0
- package/src/skia/types/Paint/Paint.ts +170 -0
- package/src/skia/types/Paint/index.ts +2 -0
- package/src/skia/types/Paragraph/Paragraph.ts +84 -0
- package/src/skia/types/Paragraph/ParagraphBuilder.ts +96 -0
- package/src/skia/types/Paragraph/ParagraphStyle.ts +45 -0
- package/src/skia/types/Paragraph/TextStyle.ts +70 -0
- package/src/skia/types/Paragraph/TypefaceFontProvider.ts +11 -0
- package/src/skia/types/Paragraph/TypefaceFontProviderFactory.ts +5 -0
- package/src/skia/types/Paragraph/index.ts +6 -0
- package/src/skia/types/Path/Path.ts +578 -0
- package/src/skia/types/Path/PathFactory.ts +34 -0
- package/src/skia/types/Path/index.ts +2 -0
- package/src/skia/types/PathEffect.ts +97 -0
- package/src/skia/types/Picture/Picture.ts +35 -0
- package/src/skia/types/Picture/PictureFactory.ts +9 -0
- package/src/skia/types/Picture/PictureRecorder.ts +18 -0
- package/src/skia/types/Picture/index.ts +3 -0
- package/src/skia/types/Point.ts +12 -0
- package/src/skia/types/RRect.ts +23 -0
- package/src/skia/types/RSXform.ts +9 -0
- package/src/skia/types/Rect.ts +26 -0
- package/src/skia/types/RuntimeEffect/RuntimeEffect.ts +66 -0
- package/src/skia/types/RuntimeEffect/RuntimeEffectFactory.ts +12 -0
- package/src/skia/types/RuntimeEffect/index.ts +2 -0
- package/src/skia/types/SVG/SVG.ts +6 -0
- package/src/skia/types/SVG/SVGFactory.ts +8 -0
- package/src/skia/types/SVG/index.ts +2 -0
- package/src/skia/types/Shader/Shader.ts +64 -0
- package/src/skia/types/Shader/ShaderFactory.ts +169 -0
- package/src/skia/types/Shader/index.ts +2 -0
- package/src/skia/types/Size.ts +4 -0
- package/src/skia/types/Skia.ts +101 -0
- package/src/skia/types/Surface/Surface.ts +42 -0
- package/src/skia/types/Surface/SurfaceFactory.ts +19 -0
- package/src/skia/types/Surface/index.ts +2 -0
- package/src/skia/types/TextBlob.ts +52 -0
- package/src/skia/types/Typeface/Typeface.ts +12 -0
- package/src/skia/types/Typeface/TypefaceFactory.ts +7 -0
- package/src/skia/types/Typeface/index.ts +2 -0
- package/src/skia/types/Vertices/Vertices.tsx +20 -0
- package/src/skia/types/Vertices/index.ts +1 -0
- package/src/skia/types/Video/Video.ts +16 -0
- package/src/skia/types/Video/index.ts +1 -0
- package/src/skia/types/index.ts +33 -0
- package/src/skia/web/CanvasKitWebGLBufferImpl.ts +22 -0
- package/src/skia/web/Host.ts +51 -0
- package/src/skia/web/JsiSkAnimatedImage.ts +35 -0
- package/src/skia/web/JsiSkAnimatedImageFactory.ts +27 -0
- package/src/skia/web/JsiSkCanvas.ts +437 -0
- package/src/skia/web/JsiSkColor.ts +340 -0
- package/src/skia/web/JsiSkColorFilter.ts +18 -0
- package/src/skia/web/JsiSkColorFilterFactory.ts +80 -0
- package/src/skia/web/JsiSkContourMeasure.ts +43 -0
- package/src/skia/web/JsiSkContourMeasureIter.ts +27 -0
- package/src/skia/web/JsiSkData.ts +17 -0
- package/src/skia/web/JsiSkDataFactory.ts +34 -0
- package/src/skia/web/JsiSkFont.ts +141 -0
- package/src/skia/web/JsiSkFontMgr.ts +26 -0
- package/src/skia/web/JsiSkFontMgrFactory.ts +20 -0
- package/src/skia/web/JsiSkImage.ts +173 -0
- package/src/skia/web/JsiSkImageFactory.ts +96 -0
- package/src/skia/web/JsiSkImageFilter.ts +18 -0
- package/src/skia/web/JsiSkImageFilterFactory.ts +216 -0
- package/src/skia/web/JsiSkMaskFilter.ts +18 -0
- package/src/skia/web/JsiSkMaskFilterFactory.ts +24 -0
- package/src/skia/web/JsiSkMatrix.ts +91 -0
- package/src/skia/web/JsiSkNativeBufferFactory.ts +35 -0
- package/src/skia/web/JsiSkPaint.ts +124 -0
- package/src/skia/web/JsiSkParagraph.ts +80 -0
- package/src/skia/web/JsiSkParagraphBuilder.ts +99 -0
- package/src/skia/web/JsiSkParagraphBuilderFactory.ts +48 -0
- package/src/skia/web/JsiSkParagraphStyle.ts +65 -0
- package/src/skia/web/JsiSkPath.ts +417 -0
- package/src/skia/web/JsiSkPathEffect.ts +18 -0
- package/src/skia/web/JsiSkPathEffectFactory.ts +90 -0
- package/src/skia/web/JsiSkPathFactory.ts +54 -0
- package/src/skia/web/JsiSkPicture.ts +51 -0
- package/src/skia/web/JsiSkPictureFactory.ts +20 -0
- package/src/skia/web/JsiSkPictureRecorder.ts +40 -0
- package/src/skia/web/JsiSkPoint.ts +33 -0
- package/src/skia/web/JsiSkRRect.ts +77 -0
- package/src/skia/web/JsiSkRSXform.ts +44 -0
- package/src/skia/web/JsiSkRect.ts +48 -0
- package/src/skia/web/JsiSkRuntimeEffect.ts +70 -0
- package/src/skia/web/JsiSkRuntimeEffectFactory.ts +23 -0
- package/src/skia/web/JsiSkSVG.ts +27 -0
- package/src/skia/web/JsiSkSVGFactory.ts +61 -0
- package/src/skia/web/JsiSkShader.ts +18 -0
- package/src/skia/web/JsiSkShaderFactory.ts +190 -0
- package/src/skia/web/JsiSkSurface.ts +46 -0
- package/src/skia/web/JsiSkSurfaceFactory.ts +41 -0
- package/src/skia/web/JsiSkTextBlob.ts +18 -0
- package/src/skia/web/JsiSkTextBlobFactory.ts +55 -0
- package/src/skia/web/JsiSkTextStyle.ts +53 -0
- package/src/skia/web/JsiSkTypeface.ts +36 -0
- package/src/skia/web/JsiSkTypefaceFactory.tsx +22 -0
- package/src/skia/web/JsiSkTypefaceFontProvider.ts +85 -0
- package/src/skia/web/JsiSkTypefaceFontProviderFactory.ts +18 -0
- package/src/skia/web/JsiSkVertices.ts +27 -0
- package/src/skia/web/JsiSkVerticesFactory.ts +41 -0
- package/src/skia/web/JsiSkia.ts +132 -0
- package/src/skia/web/JsiVideo.ts +96 -0
- package/src/skia/web/index.ts +1 -0
- package/src/specs/NativeSkiaModule.ts +9 -0
- package/src/specs/NativeSkiaModule.web.ts +0 -0
- package/src/specs/SkiaDomViewNativeComponent.ts +10 -0
- package/src/specs/SkiaPictureViewNativeComponent.ts +10 -0
- package/src/views/SkiaBaseWebView.tsx +189 -0
- package/src/views/SkiaDomView.tsx +122 -0
- package/src/views/SkiaDomView.web.tsx +30 -0
- package/src/views/SkiaJSDomView.tsx +129 -0
- package/src/views/SkiaJSDomView.web.tsx +1 -0
- package/src/views/SkiaPictureView.tsx +86 -0
- package/src/views/SkiaPictureView.web.tsx +16 -0
- package/src/views/SkiaViewNativeId.ts +1 -0
- package/src/views/api.ts +7 -0
- package/src/views/index.ts +4 -0
- package/src/views/types.ts +86 -0
- package/src/views/useTouchHandler.ts +107 -0
- package/src/web/LoadSkiaWeb.tsx +27 -0
- package/src/web/WithSkiaWeb.tsx +40 -0
- package/src/web/index.ts +2 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
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; }
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
3
|
+
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); }
|
4
|
+
import { HostObject } from "./Host";
|
5
|
+
import { JsiSkCanvas } from "./JsiSkCanvas";
|
6
|
+
import { JsiSkImage } from "./JsiSkImage";
|
7
|
+
import { JsiSkRect } from "./JsiSkRect";
|
8
|
+
export class JsiSkSurface extends HostObject {
|
9
|
+
constructor(CanvasKit, ref) {
|
10
|
+
super(CanvasKit, ref, "Surface");
|
11
|
+
_defineProperty(this, "dispose", () => {
|
12
|
+
this.ref.dispose();
|
13
|
+
});
|
14
|
+
}
|
15
|
+
flush() {
|
16
|
+
this.ref.flush();
|
17
|
+
}
|
18
|
+
width() {
|
19
|
+
return this.ref.width();
|
20
|
+
}
|
21
|
+
height() {
|
22
|
+
return this.ref.height();
|
23
|
+
}
|
24
|
+
getCanvas() {
|
25
|
+
return new JsiSkCanvas(this.CanvasKit, this.ref.getCanvas());
|
26
|
+
}
|
27
|
+
makeImageSnapshot(bounds) {
|
28
|
+
const image = this.ref.makeImageSnapshot(bounds ? Array.from(JsiSkRect.fromValue(this.CanvasKit, bounds)) : undefined);
|
29
|
+
return new JsiSkImage(this.CanvasKit, image);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=JsiSkSurface.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["HostObject","JsiSkCanvas","JsiSkImage","JsiSkRect","JsiSkSurface","constructor","CanvasKit","ref","_defineProperty","dispose","flush","width","height","getCanvas","makeImageSnapshot","bounds","image","Array","from","fromValue","undefined"],"sources":["JsiSkSurface.ts"],"sourcesContent":["import type { CanvasKit, Surface } from \"canvaskit-wasm\";\n\nimport type { SkCanvas, SkImage, SkRect, SkSurface } from \"../types\";\n\nimport { HostObject } from \"./Host\";\nimport { JsiSkCanvas } from \"./JsiSkCanvas\";\nimport { JsiSkImage } from \"./JsiSkImage\";\nimport { JsiSkRect } from \"./JsiSkRect\";\n\nexport class JsiSkSurface\n extends HostObject<Surface, \"Surface\">\n implements SkSurface\n{\n constructor(CanvasKit: CanvasKit, ref: Surface) {\n super(CanvasKit, ref, \"Surface\");\n }\n\n dispose = () => {\n this.ref.dispose();\n };\n\n flush() {\n this.ref.flush();\n }\n\n width() {\n return this.ref.width();\n }\n\n height() {\n return this.ref.height();\n }\n\n getCanvas(): SkCanvas {\n return new JsiSkCanvas(this.CanvasKit, this.ref.getCanvas());\n }\n\n makeImageSnapshot(bounds?: SkRect): SkImage {\n const image = this.ref.makeImageSnapshot(\n bounds\n ? Array.from(JsiSkRect.fromValue(this.CanvasKit, bounds))\n : undefined\n );\n return new JsiSkImage(this.CanvasKit, image);\n }\n}\n"],"mappings":";;;AAIA,SAASA,UAAU,QAAQ,QAAQ;AACnC,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,SAAS,QAAQ,aAAa;AAEvC,OAAO,MAAMC,YAAY,SACfJ,UAAU,CAEpB;EACEK,WAAWA,CAACC,SAAoB,EAAEC,GAAY,EAAE;IAC9C,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,SAAS,CAAC;IAACC,eAAA,kBAGzB,MAAM;MACd,IAAI,CAACD,GAAG,CAACE,OAAO,CAAC,CAAC;IACpB,CAAC;EAJD;EAMAC,KAAKA,CAAA,EAAG;IACN,IAAI,CAACH,GAAG,CAACG,KAAK,CAAC,CAAC;EAClB;EAEAC,KAAKA,CAAA,EAAG;IACN,OAAO,IAAI,CAACJ,GAAG,CAACI,KAAK,CAAC,CAAC;EACzB;EAEAC,MAAMA,CAAA,EAAG;IACP,OAAO,IAAI,CAACL,GAAG,CAACK,MAAM,CAAC,CAAC;EAC1B;EAEAC,SAASA,CAAA,EAAa;IACpB,OAAO,IAAIZ,WAAW,CAAC,IAAI,CAACK,SAAS,EAAE,IAAI,CAACC,GAAG,CAACM,SAAS,CAAC,CAAC,CAAC;EAC9D;EAEAC,iBAAiBA,CAACC,MAAe,EAAW;IAC1C,MAAMC,KAAK,GAAG,IAAI,CAACT,GAAG,CAACO,iBAAiB,CACtCC,MAAM,GACFE,KAAK,CAACC,IAAI,CAACf,SAAS,CAACgB,SAAS,CAAC,IAAI,CAACb,SAAS,EAAES,MAAM,CAAC,CAAC,GACvDK,SACN,CAAC;IACD,OAAO,IAAIlB,UAAU,CAAC,IAAI,CAACI,SAAS,EAAEU,KAAK,CAAC;EAC9C;AACF"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { CanvasKit } from "canvaskit-wasm";
|
2
|
+
import type { SurfaceFactory } from "../types";
|
3
|
+
import { Host } from "./Host";
|
4
|
+
import { JsiSkSurface } from "./JsiSkSurface";
|
5
|
+
export declare class JsiSkSurfaceFactory extends Host implements SurfaceFactory {
|
6
|
+
constructor(CanvasKit: CanvasKit);
|
7
|
+
Make(width: number, height: number): JsiSkSurface;
|
8
|
+
MakeOffscreen(width: number, height: number): JsiSkSurface | null;
|
9
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { Host } from "./Host";
|
2
|
+
import { JsiSkSurface } from "./JsiSkSurface";
|
3
|
+
export class JsiSkSurfaceFactory extends Host {
|
4
|
+
constructor(CanvasKit) {
|
5
|
+
super(CanvasKit);
|
6
|
+
}
|
7
|
+
Make(width, height) {
|
8
|
+
return new JsiSkSurface(this.CanvasKit, this.CanvasKit.MakeSurface(width, height));
|
9
|
+
}
|
10
|
+
MakeOffscreen(width, height) {
|
11
|
+
// OffscreenCanvas may be unvailable in some environments.
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
13
|
+
const OC = globalThis.OffscreenCanvas;
|
14
|
+
let surface;
|
15
|
+
if (OC === undefined) {
|
16
|
+
return this.Make(width, height);
|
17
|
+
} else {
|
18
|
+
const offscreen = new OC(width, height);
|
19
|
+
const webglContext = this.CanvasKit.GetWebGLContext(offscreen);
|
20
|
+
const grContext = this.CanvasKit.MakeWebGLContext(webglContext);
|
21
|
+
if (!grContext) {
|
22
|
+
throw new Error("Could not make a graphics context");
|
23
|
+
}
|
24
|
+
surface = this.CanvasKit.MakeRenderTarget(grContext, width, height);
|
25
|
+
}
|
26
|
+
if (!surface) {
|
27
|
+
return null;
|
28
|
+
}
|
29
|
+
return new JsiSkSurface(this.CanvasKit, surface);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=JsiSkSurfaceFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["Host","JsiSkSurface","JsiSkSurfaceFactory","constructor","CanvasKit","Make","width","height","MakeSurface","MakeOffscreen","OC","globalThis","OffscreenCanvas","surface","undefined","offscreen","webglContext","GetWebGLContext","grContext","MakeWebGLContext","Error","MakeRenderTarget"],"sources":["JsiSkSurfaceFactory.ts"],"sourcesContent":["import type { CanvasKit, Surface } from \"canvaskit-wasm\";\n\nimport type { SurfaceFactory } from \"../types\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkSurface } from \"./JsiSkSurface\";\n\nexport class JsiSkSurfaceFactory extends Host implements SurfaceFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n Make(width: number, height: number) {\n return new JsiSkSurface(\n this.CanvasKit,\n this.CanvasKit.MakeSurface(width, height)!\n );\n }\n\n MakeOffscreen(width: number, height: number) {\n // OffscreenCanvas may be unvailable in some environments.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const OC = (globalThis as any).OffscreenCanvas;\n let surface: Surface | null;\n if (OC === undefined) {\n return this.Make(width, height);\n } else {\n const offscreen = new OC(width, height);\n const webglContext = this.CanvasKit.GetWebGLContext(offscreen);\n const grContext = this.CanvasKit.MakeWebGLContext(webglContext);\n if (!grContext) {\n throw new Error(\"Could not make a graphics context\");\n }\n surface = this.CanvasKit.MakeRenderTarget(grContext, width, height);\n }\n if (!surface) {\n return null;\n }\n return new JsiSkSurface(this.CanvasKit, surface);\n }\n}\n"],"mappings":"AAIA,SAASA,IAAI,QAAQ,QAAQ;AAC7B,SAASC,YAAY,QAAQ,gBAAgB;AAE7C,OAAO,MAAMC,mBAAmB,SAASF,IAAI,CAA2B;EACtEG,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,IAAIA,CAACC,KAAa,EAAEC,MAAc,EAAE;IAClC,OAAO,IAAIN,YAAY,CACrB,IAAI,CAACG,SAAS,EACd,IAAI,CAACA,SAAS,CAACI,WAAW,CAACF,KAAK,EAAEC,MAAM,CAC1C,CAAC;EACH;EAEAE,aAAaA,CAACH,KAAa,EAAEC,MAAc,EAAE;IAC3C;IACA;IACA,MAAMG,EAAE,GAAIC,UAAU,CAASC,eAAe;IAC9C,IAAIC,OAAuB;IAC3B,IAAIH,EAAE,KAAKI,SAAS,EAAE;MACpB,OAAO,IAAI,CAACT,IAAI,CAACC,KAAK,EAAEC,MAAM,CAAC;IACjC,CAAC,MAAM;MACL,MAAMQ,SAAS,GAAG,IAAIL,EAAE,CAACJ,KAAK,EAAEC,MAAM,CAAC;MACvC,MAAMS,YAAY,GAAG,IAAI,CAACZ,SAAS,CAACa,eAAe,CAACF,SAAS,CAAC;MAC9D,MAAMG,SAAS,GAAG,IAAI,CAACd,SAAS,CAACe,gBAAgB,CAACH,YAAY,CAAC;MAC/D,IAAI,CAACE,SAAS,EAAE;QACd,MAAM,IAAIE,KAAK,CAAC,mCAAmC,CAAC;MACtD;MACAP,OAAO,GAAG,IAAI,CAACT,SAAS,CAACiB,gBAAgB,CAACH,SAAS,EAAEZ,KAAK,EAAEC,MAAM,CAAC;IACrE;IACA,IAAI,CAACM,OAAO,EAAE;MACZ,OAAO,IAAI;IACb;IACA,OAAO,IAAIZ,YAAY,CAAC,IAAI,CAACG,SAAS,EAAES,OAAO,CAAC;EAClD;AACF"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { CanvasKit, TextBlob } from "canvaskit-wasm";
|
2
|
+
import type { SkTextBlob } from "../types";
|
3
|
+
import { HostObject } from "./Host";
|
4
|
+
export declare class JsiSkTextBlob extends HostObject<TextBlob, "TextBlob"> implements SkTextBlob {
|
5
|
+
constructor(CanvasKit: CanvasKit, ref: TextBlob);
|
6
|
+
dispose: () => void;
|
7
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
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; }
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
3
|
+
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); }
|
4
|
+
import { HostObject } from "./Host";
|
5
|
+
export class JsiSkTextBlob extends HostObject {
|
6
|
+
constructor(CanvasKit, ref) {
|
7
|
+
super(CanvasKit, ref, "TextBlob");
|
8
|
+
_defineProperty(this, "dispose", () => {
|
9
|
+
this.ref.delete();
|
10
|
+
});
|
11
|
+
}
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=JsiSkTextBlob.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["HostObject","JsiSkTextBlob","constructor","CanvasKit","ref","_defineProperty","delete"],"sources":["JsiSkTextBlob.ts"],"sourcesContent":["import type { CanvasKit, TextBlob } from \"canvaskit-wasm\";\n\nimport type { SkTextBlob } from \"../types\";\n\nimport { HostObject } from \"./Host\";\n\nexport class JsiSkTextBlob\n extends HostObject<TextBlob, \"TextBlob\">\n implements SkTextBlob\n{\n constructor(CanvasKit: CanvasKit, ref: TextBlob) {\n super(CanvasKit, ref, \"TextBlob\");\n }\n\n dispose = () => {\n this.ref.delete();\n };\n}\n"],"mappings":";;;AAIA,SAASA,UAAU,QAAQ,QAAQ;AAEnC,OAAO,MAAMC,aAAa,SAChBD,UAAU,CAEpB;EACEE,WAAWA,CAACC,SAAoB,EAAEC,GAAa,EAAE;IAC/C,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,UAAU,CAAC;IAACC,eAAA,kBAG1B,MAAM;MACd,IAAI,CAACD,GAAG,CAACE,MAAM,CAAC,CAAC;IACnB,CAAC;EAJD;AAKF"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { CanvasKit } from "canvaskit-wasm";
|
2
|
+
import type { SkFont } from "../types";
|
3
|
+
import type { TextBlobFactory } from "../types/TextBlob";
|
4
|
+
import type { SkRSXform } from "../types/RSXform";
|
5
|
+
import { Host } from "./Host";
|
6
|
+
import { JsiSkTextBlob } from "./JsiSkTextBlob";
|
7
|
+
export declare class JsiSkTextBlobFactory extends Host implements TextBlobFactory {
|
8
|
+
constructor(CanvasKit: CanvasKit);
|
9
|
+
MakeFromText(str: string, font: SkFont): JsiSkTextBlob;
|
10
|
+
MakeFromGlyphs(glyphs: number[], font: SkFont): JsiSkTextBlob;
|
11
|
+
MakeFromRSXform(str: string, rsxforms: SkRSXform[], font: SkFont): JsiSkTextBlob;
|
12
|
+
MakeFromRSXformGlyphs(glyphs: number[], rsxforms: SkRSXform[], font: SkFont): JsiSkTextBlob;
|
13
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { Host } from "./Host";
|
2
|
+
import { JsiSkFont } from "./JsiSkFont";
|
3
|
+
import { JsiSkTextBlob } from "./JsiSkTextBlob";
|
4
|
+
import { JsiSkRSXform } from "./JsiSkRSXform";
|
5
|
+
export class JsiSkTextBlobFactory extends Host {
|
6
|
+
constructor(CanvasKit) {
|
7
|
+
super(CanvasKit);
|
8
|
+
}
|
9
|
+
MakeFromText(str, font) {
|
10
|
+
return new JsiSkTextBlob(this.CanvasKit, this.CanvasKit.TextBlob.MakeFromText(str, JsiSkFont.fromValue(font)));
|
11
|
+
}
|
12
|
+
MakeFromGlyphs(glyphs, font) {
|
13
|
+
return new JsiSkTextBlob(this.CanvasKit, this.CanvasKit.TextBlob.MakeFromGlyphs(glyphs, JsiSkFont.fromValue(font)));
|
14
|
+
}
|
15
|
+
MakeFromRSXform(str, rsxforms, font) {
|
16
|
+
return new JsiSkTextBlob(this.CanvasKit, this.CanvasKit.TextBlob.MakeFromRSXform(str, rsxforms.map(f => Array.from(JsiSkRSXform.fromValue(f))).flat(), JsiSkFont.fromValue(font)));
|
17
|
+
}
|
18
|
+
MakeFromRSXformGlyphs(glyphs, rsxforms, font) {
|
19
|
+
const transforms = rsxforms.flatMap(s => Array.from(JsiSkRSXform.fromValue(s)));
|
20
|
+
return new JsiSkTextBlob(this.CanvasKit, this.CanvasKit.TextBlob.MakeFromRSXformGlyphs(glyphs, transforms, JsiSkFont.fromValue(font)));
|
21
|
+
}
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=JsiSkTextBlobFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["Host","JsiSkFont","JsiSkTextBlob","JsiSkRSXform","JsiSkTextBlobFactory","constructor","CanvasKit","MakeFromText","str","font","TextBlob","fromValue","MakeFromGlyphs","glyphs","MakeFromRSXform","rsxforms","map","f","Array","from","flat","MakeFromRSXformGlyphs","transforms","flatMap","s"],"sources":["JsiSkTextBlobFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { SkFont } from \"../types\";\nimport type { TextBlobFactory } from \"../types/TextBlob\";\nimport type { SkRSXform } from \"../types/RSXform\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkFont } from \"./JsiSkFont\";\nimport { JsiSkTextBlob } from \"./JsiSkTextBlob\";\nimport { JsiSkRSXform } from \"./JsiSkRSXform\";\n\nexport class JsiSkTextBlobFactory extends Host implements TextBlobFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakeFromText(str: string, font: SkFont) {\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromText(str, JsiSkFont.fromValue(font))\n );\n }\n\n MakeFromGlyphs(glyphs: number[], font: SkFont) {\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromGlyphs(glyphs, JsiSkFont.fromValue(font))\n );\n }\n\n MakeFromRSXform(str: string, rsxforms: SkRSXform[], font: SkFont) {\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromRSXform(\n str,\n rsxforms.map((f) => Array.from(JsiSkRSXform.fromValue(f))).flat(),\n JsiSkFont.fromValue(font)\n )\n );\n }\n\n MakeFromRSXformGlyphs(glyphs: number[], rsxforms: SkRSXform[], font: SkFont) {\n const transforms = rsxforms.flatMap((s) =>\n Array.from(JsiSkRSXform.fromValue(s))\n );\n return new JsiSkTextBlob(\n this.CanvasKit,\n this.CanvasKit.TextBlob.MakeFromRSXformGlyphs(\n glyphs,\n transforms,\n JsiSkFont.fromValue(font)\n )\n );\n }\n}\n"],"mappings":"AAMA,SAASA,IAAI,QAAQ,QAAQ;AAC7B,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,YAAY,QAAQ,gBAAgB;AAE7C,OAAO,MAAMC,oBAAoB,SAASJ,IAAI,CAA4B;EACxEK,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,YAAYA,CAACC,GAAW,EAAEC,IAAY,EAAE;IACtC,OAAO,IAAIP,aAAa,CACtB,IAAI,CAACI,SAAS,EACd,IAAI,CAACA,SAAS,CAACI,QAAQ,CAACH,YAAY,CAACC,GAAG,EAAEP,SAAS,CAACU,SAAS,CAACF,IAAI,CAAC,CACrE,CAAC;EACH;EAEAG,cAAcA,CAACC,MAAgB,EAAEJ,IAAY,EAAE;IAC7C,OAAO,IAAIP,aAAa,CACtB,IAAI,CAACI,SAAS,EACd,IAAI,CAACA,SAAS,CAACI,QAAQ,CAACE,cAAc,CAACC,MAAM,EAAEZ,SAAS,CAACU,SAAS,CAACF,IAAI,CAAC,CAC1E,CAAC;EACH;EAEAK,eAAeA,CAACN,GAAW,EAAEO,QAAqB,EAAEN,IAAY,EAAE;IAChE,OAAO,IAAIP,aAAa,CACtB,IAAI,CAACI,SAAS,EACd,IAAI,CAACA,SAAS,CAACI,QAAQ,CAACI,eAAe,CACrCN,GAAG,EACHO,QAAQ,CAACC,GAAG,CAAEC,CAAC,IAAKC,KAAK,CAACC,IAAI,CAAChB,YAAY,CAACQ,SAAS,CAACM,CAAC,CAAC,CAAC,CAAC,CAACG,IAAI,CAAC,CAAC,EACjEnB,SAAS,CAACU,SAAS,CAACF,IAAI,CAC1B,CACF,CAAC;EACH;EAEAY,qBAAqBA,CAACR,MAAgB,EAAEE,QAAqB,EAAEN,IAAY,EAAE;IAC3E,MAAMa,UAAU,GAAGP,QAAQ,CAACQ,OAAO,CAAEC,CAAC,IACpCN,KAAK,CAACC,IAAI,CAAChB,YAAY,CAACQ,SAAS,CAACa,CAAC,CAAC,CACtC,CAAC;IACD,OAAO,IAAItB,aAAa,CACtB,IAAI,CAACI,SAAS,EACd,IAAI,CAACA,SAAS,CAACI,QAAQ,CAACW,qBAAqB,CAC3CR,MAAM,EACNS,UAAU,EACVrB,SAAS,CAACU,SAAS,CAACF,IAAI,CAC1B,CACF,CAAC;EACH;AACF"}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
export class JsiSkTextStyle {
|
2
|
+
static toTextStyle(value) {
|
3
|
+
return {
|
4
|
+
backgroundColor: value.backgroundColor,
|
5
|
+
color: value.color,
|
6
|
+
decoration: value.decoration,
|
7
|
+
decorationColor: value.decorationColor,
|
8
|
+
decorationStyle: value.decorationStyle ? {
|
9
|
+
value: value.decorationStyle
|
10
|
+
} : undefined,
|
11
|
+
decorationThickness: value.decorationThickness,
|
12
|
+
fontFamilies: value.fontFamilies,
|
13
|
+
fontSize: value.fontSize,
|
14
|
+
fontStyle: value.fontStyle ? {
|
15
|
+
slant: value.fontStyle.slant ? {
|
16
|
+
value: value.fontStyle.slant
|
17
|
+
} : undefined,
|
18
|
+
weight: value.fontStyle.weight ? {
|
19
|
+
value: value.fontStyle.weight
|
20
|
+
} : undefined,
|
21
|
+
width: value.fontStyle.width ? {
|
22
|
+
value: value.fontStyle.width
|
23
|
+
} : undefined
|
24
|
+
} : undefined,
|
25
|
+
fontFeatures: value.fontFeatures,
|
26
|
+
foregroundColor: value.foregroundColor,
|
27
|
+
fontVariations: value.fontVariations,
|
28
|
+
halfLeading: value.halfLeading,
|
29
|
+
heightMultiplier: value.heightMultiplier,
|
30
|
+
letterSpacing: value.letterSpacing,
|
31
|
+
locale: value.locale,
|
32
|
+
shadows: value.shadows ? value.shadows.map(shadow => ({
|
33
|
+
blurRadius: shadow.blurRadius,
|
34
|
+
color: shadow.color,
|
35
|
+
offset: shadow.offset ? [shadow.offset.x, shadow.offset.y] : undefined
|
36
|
+
})) : undefined,
|
37
|
+
textBaseline: value.textBaseline ? {
|
38
|
+
value: value.textBaseline
|
39
|
+
} : undefined,
|
40
|
+
wordSpacing: value.wordSpacing
|
41
|
+
};
|
42
|
+
}
|
43
|
+
}
|
44
|
+
//# sourceMappingURL=JsiSkTextStyle.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["JsiSkTextStyle","toTextStyle","value","backgroundColor","color","decoration","decorationColor","decorationStyle","undefined","decorationThickness","fontFamilies","fontSize","fontStyle","slant","weight","width","fontFeatures","foregroundColor","fontVariations","halfLeading","heightMultiplier","letterSpacing","locale","shadows","map","shadow","blurRadius","offset","x","y","textBaseline","wordSpacing"],"sources":["JsiSkTextStyle.ts"],"sourcesContent":["import type { TextStyle } from \"canvaskit-wasm\";\n\nimport type { SkTextStyle } from \"../types\";\n\nexport class JsiSkTextStyle {\n static toTextStyle(value: SkTextStyle): TextStyle {\n return {\n backgroundColor: value.backgroundColor,\n color: value.color,\n decoration: value.decoration,\n decorationColor: value.decorationColor,\n decorationStyle: value.decorationStyle\n ? { value: value.decorationStyle }\n : undefined,\n decorationThickness: value.decorationThickness,\n fontFamilies: value.fontFamilies,\n fontSize: value.fontSize,\n fontStyle: value.fontStyle\n ? {\n slant: value.fontStyle.slant\n ? { value: value.fontStyle.slant }\n : undefined,\n weight: value.fontStyle.weight\n ? { value: value.fontStyle.weight }\n : undefined,\n width: value.fontStyle.width\n ? { value: value.fontStyle.width }\n : undefined,\n }\n : undefined,\n fontFeatures: value.fontFeatures,\n foregroundColor: value.foregroundColor,\n fontVariations: value.fontVariations,\n halfLeading: value.halfLeading,\n heightMultiplier: value.heightMultiplier,\n letterSpacing: value.letterSpacing,\n locale: value.locale,\n shadows: value.shadows\n ? value.shadows.map((shadow) => ({\n blurRadius: shadow.blurRadius,\n color: shadow.color,\n offset: shadow.offset\n ? [shadow.offset.x, shadow.offset.y]\n : undefined,\n }))\n : undefined,\n textBaseline: value.textBaseline\n ? { value: value.textBaseline }\n : undefined,\n wordSpacing: value.wordSpacing,\n };\n }\n}\n"],"mappings":"AAIA,OAAO,MAAMA,cAAc,CAAC;EAC1B,OAAOC,WAAWA,CAACC,KAAkB,EAAa;IAChD,OAAO;MACLC,eAAe,EAAED,KAAK,CAACC,eAAe;MACtCC,KAAK,EAAEF,KAAK,CAACE,KAAK;MAClBC,UAAU,EAAEH,KAAK,CAACG,UAAU;MAC5BC,eAAe,EAAEJ,KAAK,CAACI,eAAe;MACtCC,eAAe,EAAEL,KAAK,CAACK,eAAe,GAClC;QAAEL,KAAK,EAAEA,KAAK,CAACK;MAAgB,CAAC,GAChCC,SAAS;MACbC,mBAAmB,EAAEP,KAAK,CAACO,mBAAmB;MAC9CC,YAAY,EAAER,KAAK,CAACQ,YAAY;MAChCC,QAAQ,EAAET,KAAK,CAACS,QAAQ;MACxBC,SAAS,EAAEV,KAAK,CAACU,SAAS,GACtB;QACEC,KAAK,EAAEX,KAAK,CAACU,SAAS,CAACC,KAAK,GACxB;UAAEX,KAAK,EAAEA,KAAK,CAACU,SAAS,CAACC;QAAM,CAAC,GAChCL,SAAS;QACbM,MAAM,EAAEZ,KAAK,CAACU,SAAS,CAACE,MAAM,GAC1B;UAAEZ,KAAK,EAAEA,KAAK,CAACU,SAAS,CAACE;QAAO,CAAC,GACjCN,SAAS;QACbO,KAAK,EAAEb,KAAK,CAACU,SAAS,CAACG,KAAK,GACxB;UAAEb,KAAK,EAAEA,KAAK,CAACU,SAAS,CAACG;QAAM,CAAC,GAChCP;MACN,CAAC,GACDA,SAAS;MACbQ,YAAY,EAAEd,KAAK,CAACc,YAAY;MAChCC,eAAe,EAAEf,KAAK,CAACe,eAAe;MACtCC,cAAc,EAAEhB,KAAK,CAACgB,cAAc;MACpCC,WAAW,EAAEjB,KAAK,CAACiB,WAAW;MAC9BC,gBAAgB,EAAElB,KAAK,CAACkB,gBAAgB;MACxCC,aAAa,EAAEnB,KAAK,CAACmB,aAAa;MAClCC,MAAM,EAAEpB,KAAK,CAACoB,MAAM;MACpBC,OAAO,EAAErB,KAAK,CAACqB,OAAO,GAClBrB,KAAK,CAACqB,OAAO,CAACC,GAAG,CAAEC,MAAM,KAAM;QAC7BC,UAAU,EAAED,MAAM,CAACC,UAAU;QAC7BtB,KAAK,EAAEqB,MAAM,CAACrB,KAAK;QACnBuB,MAAM,EAAEF,MAAM,CAACE,MAAM,GACjB,CAACF,MAAM,CAACE,MAAM,CAACC,CAAC,EAAEH,MAAM,CAACE,MAAM,CAACE,CAAC,CAAC,GAClCrB;MACN,CAAC,CAAC,CAAC,GACHA,SAAS;MACbsB,YAAY,EAAE5B,KAAK,CAAC4B,YAAY,GAC5B;QAAE5B,KAAK,EAAEA,KAAK,CAAC4B;MAAa,CAAC,GAC7BtB,SAAS;MACbuB,WAAW,EAAE7B,KAAK,CAAC6B;IACrB,CAAC;EACH;AACF"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { CanvasKit, Typeface } from "canvaskit-wasm";
|
2
|
+
import type { SkTypeface } from "../types";
|
3
|
+
import { HostObject } from "./Host";
|
4
|
+
export declare class JsiSkTypeface extends HostObject<Typeface, "Typeface"> implements SkTypeface {
|
5
|
+
constructor(CanvasKit: CanvasKit, ref: Typeface);
|
6
|
+
get bold(): boolean;
|
7
|
+
get italic(): boolean;
|
8
|
+
getGlyphIDs(str: string, numCodePoints?: number): number[];
|
9
|
+
dispose: () => void;
|
10
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
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; }
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
3
|
+
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); }
|
4
|
+
import { HostObject } from "./Host";
|
5
|
+
export class JsiSkTypeface extends HostObject {
|
6
|
+
constructor(CanvasKit, ref) {
|
7
|
+
super(CanvasKit, ref, "Typeface");
|
8
|
+
_defineProperty(this, "dispose", () => {
|
9
|
+
this.ref.delete();
|
10
|
+
});
|
11
|
+
}
|
12
|
+
get bold() {
|
13
|
+
console.warn("Typeface.bold is deprecated and will be removed in a future release. The property will return false.");
|
14
|
+
return false;
|
15
|
+
}
|
16
|
+
get italic() {
|
17
|
+
console.warn("Typeface.italic is deprecated and will be removed in a future release. The property will return false.");
|
18
|
+
return false;
|
19
|
+
}
|
20
|
+
getGlyphIDs(str, numCodePoints) {
|
21
|
+
return Array.from(this.ref.getGlyphIDs(str, numCodePoints));
|
22
|
+
}
|
23
|
+
}
|
24
|
+
//# sourceMappingURL=JsiSkTypeface.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["HostObject","JsiSkTypeface","constructor","CanvasKit","ref","_defineProperty","delete","bold","console","warn","italic","getGlyphIDs","str","numCodePoints","Array","from"],"sources":["JsiSkTypeface.ts"],"sourcesContent":["import type { CanvasKit, Typeface } from \"canvaskit-wasm\";\n\nimport type { SkTypeface } from \"../types\";\n\nimport { HostObject } from \"./Host\";\n\nexport class JsiSkTypeface\n extends HostObject<Typeface, \"Typeface\">\n implements SkTypeface\n{\n constructor(CanvasKit: CanvasKit, ref: Typeface) {\n super(CanvasKit, ref, \"Typeface\");\n }\n\n get bold(): boolean {\n console.warn(\n \"Typeface.bold is deprecated and will be removed in a future release. The property will return false.\"\n );\n return false;\n }\n\n get italic(): boolean {\n console.warn(\n \"Typeface.italic is deprecated and will be removed in a future release. The property will return false.\"\n );\n return false;\n }\n\n getGlyphIDs(str: string, numCodePoints?: number) {\n return Array.from(this.ref.getGlyphIDs(str, numCodePoints));\n }\n\n dispose = () => {\n this.ref.delete();\n };\n}\n"],"mappings":";;;AAIA,SAASA,UAAU,QAAQ,QAAQ;AAEnC,OAAO,MAAMC,aAAa,SAChBD,UAAU,CAEpB;EACEE,WAAWA,CAACC,SAAoB,EAAEC,GAAa,EAAE;IAC/C,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,UAAU,CAAC;IAACC,eAAA,kBAqB1B,MAAM;MACd,IAAI,CAACD,GAAG,CAACE,MAAM,CAAC,CAAC;IACnB,CAAC;EAtBD;EAEA,IAAIC,IAAIA,CAAA,EAAY;IAClBC,OAAO,CAACC,IAAI,CACV,sGACF,CAAC;IACD,OAAO,KAAK;EACd;EAEA,IAAIC,MAAMA,CAAA,EAAY;IACpBF,OAAO,CAACC,IAAI,CACV,wGACF,CAAC;IACD,OAAO,KAAK;EACd;EAEAE,WAAWA,CAACC,GAAW,EAAEC,aAAsB,EAAE;IAC/C,OAAOC,KAAK,CAACC,IAAI,CAAC,IAAI,CAACX,GAAG,CAACO,WAAW,CAACC,GAAG,EAAEC,aAAa,CAAC,CAAC;EAC7D;AAKF"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { CanvasKit } from "canvaskit-wasm";
|
2
|
+
import type { SkData, TypefaceFactory } from "../types";
|
3
|
+
import { Host } from "./Host";
|
4
|
+
import { JsiSkTypeface } from "./JsiSkTypeface";
|
5
|
+
export declare class JsiSkTypefaceFactory extends Host implements TypefaceFactory {
|
6
|
+
constructor(CanvasKit: CanvasKit);
|
7
|
+
MakeFreeTypeFaceFromData(data: SkData): JsiSkTypeface | null;
|
8
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Host } from "./Host";
|
2
|
+
import { JsiSkTypeface } from "./JsiSkTypeface";
|
3
|
+
export class JsiSkTypefaceFactory extends Host {
|
4
|
+
constructor(CanvasKit) {
|
5
|
+
super(CanvasKit);
|
6
|
+
}
|
7
|
+
MakeFreeTypeFaceFromData(data) {
|
8
|
+
const tf = this.CanvasKit.Typeface.MakeFreeTypeFaceFromData(JsiSkTypeface.fromValue(data));
|
9
|
+
if (tf === null) {
|
10
|
+
return null;
|
11
|
+
}
|
12
|
+
return new JsiSkTypeface(this.CanvasKit, tf);
|
13
|
+
}
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=JsiSkTypefaceFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["Host","JsiSkTypeface","JsiSkTypefaceFactory","constructor","CanvasKit","MakeFreeTypeFaceFromData","data","tf","Typeface","fromValue"],"sources":["JsiSkTypefaceFactory.tsx"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { SkData, TypefaceFactory } from \"../types\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkTypeface } from \"./JsiSkTypeface\";\n\nexport class JsiSkTypefaceFactory extends Host implements TypefaceFactory {\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n MakeFreeTypeFaceFromData(data: SkData) {\n const tf = this.CanvasKit.Typeface.MakeFreeTypeFaceFromData(\n JsiSkTypeface.fromValue(data)\n );\n if (tf === null) {\n return null;\n }\n return new JsiSkTypeface(this.CanvasKit, tf);\n }\n}\n"],"mappings":"AAIA,SAASA,IAAI,QAAQ,QAAQ;AAC7B,SAASC,aAAa,QAAQ,iBAAiB;AAE/C,OAAO,MAAMC,oBAAoB,SAASF,IAAI,CAA4B;EACxEG,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,wBAAwBA,CAACC,IAAY,EAAE;IACrC,MAAMC,EAAE,GAAG,IAAI,CAACH,SAAS,CAACI,QAAQ,CAACH,wBAAwB,CACzDJ,aAAa,CAACQ,SAAS,CAACH,IAAI,CAC9B,CAAC;IACD,IAAIC,EAAE,KAAK,IAAI,EAAE;MACf,OAAO,IAAI;IACb;IACA,OAAO,IAAIN,aAAa,CAAC,IAAI,CAACG,SAAS,EAAEG,EAAE,CAAC;EAC9C;AACF"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { CanvasKit, TypefaceFontProvider } from "canvaskit-wasm";
|
2
|
+
import type { SkTypefaceFontProvider } from "../types/Paragraph/TypefaceFontProvider";
|
3
|
+
import type { FontStyle, SkTypeface } from "../types";
|
4
|
+
import { HostObject } from "./Host";
|
5
|
+
export declare class JsiSkTypefaceFontProvider extends HostObject<TypefaceFontProvider, "FontMgr"> implements SkTypefaceFontProvider {
|
6
|
+
private allocatedPointers;
|
7
|
+
constructor(CanvasKit: CanvasKit, ref: TypefaceFontProvider);
|
8
|
+
matchFamilyStyle(_name: string, _style: FontStyle): SkTypeface;
|
9
|
+
countFamilies(): number;
|
10
|
+
getFamilyName(index: number): string;
|
11
|
+
registerFont(typeface: SkTypeface, familyName: string): void;
|
12
|
+
dispose(): void;
|
13
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
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; }
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
3
|
+
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); }
|
4
|
+
import { HostObject, NotImplementedOnRNWeb } from "./Host";
|
5
|
+
export class JsiSkTypefaceFontProvider extends HostObject {
|
6
|
+
constructor(CanvasKit, ref) {
|
7
|
+
super(CanvasKit, ref, "FontMgr");
|
8
|
+
_defineProperty(this, "allocatedPointers", []);
|
9
|
+
}
|
10
|
+
matchFamilyStyle(_name, _style) {
|
11
|
+
throw new NotImplementedOnRNWeb();
|
12
|
+
}
|
13
|
+
countFamilies() {
|
14
|
+
return this.ref.countFamilies();
|
15
|
+
}
|
16
|
+
getFamilyName(index) {
|
17
|
+
return this.ref.getFamilyName(index);
|
18
|
+
}
|
19
|
+
registerFont(typeface, familyName) {
|
20
|
+
const strLen = lengthBytesUTF8(familyName) + 1;
|
21
|
+
|
22
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
23
|
+
// @ts-expect-error
|
24
|
+
const strPtr = this.CanvasKit._malloc(strLen);
|
25
|
+
stringToUTF8(this.CanvasKit, familyName, strPtr, strLen);
|
26
|
+
|
27
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
28
|
+
// @ts-expect-error
|
29
|
+
this.ref._registerFont(typeface.ref, strPtr);
|
30
|
+
}
|
31
|
+
dispose() {
|
32
|
+
for (const ptr of this.allocatedPointers) {
|
33
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
34
|
+
// @ts-expect-error
|
35
|
+
this.CanvasKit._free(ptr);
|
36
|
+
}
|
37
|
+
this.ref.delete();
|
38
|
+
}
|
39
|
+
}
|
40
|
+
const lengthBytesUTF8 = str => {
|
41
|
+
// TextEncoder will give us the byte length in UTF8 form
|
42
|
+
const encoder = new TextEncoder();
|
43
|
+
const utf8 = encoder.encode(str);
|
44
|
+
return utf8.length;
|
45
|
+
};
|
46
|
+
const stringToUTF8 = (CanvasKit, str, outPtr, maxBytesToWrite) => {
|
47
|
+
// TextEncoder will give us the byte array in UTF8 form
|
48
|
+
const encoder = new TextEncoder();
|
49
|
+
const utf8 = encoder.encode(str);
|
50
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
51
|
+
// @ts-expect-error
|
52
|
+
const heap = CanvasKit.HEAPU8;
|
53
|
+
|
54
|
+
// Check if there's enough space
|
55
|
+
if (utf8.length > maxBytesToWrite) {
|
56
|
+
throw new Error("Not enough space to write UTF8 encoded string");
|
57
|
+
}
|
58
|
+
|
59
|
+
// Copy the bytes
|
60
|
+
for (let i = 0; i < utf8.length; i++) {
|
61
|
+
heap[outPtr + i] = utf8[i];
|
62
|
+
}
|
63
|
+
|
64
|
+
// Null terminate
|
65
|
+
if (utf8.length < maxBytesToWrite) {
|
66
|
+
heap[outPtr + utf8.length] = 0;
|
67
|
+
}
|
68
|
+
};
|
69
|
+
//# sourceMappingURL=JsiSkTypefaceFontProvider.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["HostObject","NotImplementedOnRNWeb","JsiSkTypefaceFontProvider","constructor","CanvasKit","ref","_defineProperty","matchFamilyStyle","_name","_style","countFamilies","getFamilyName","index","registerFont","typeface","familyName","strLen","lengthBytesUTF8","strPtr","_malloc","stringToUTF8","_registerFont","dispose","ptr","allocatedPointers","_free","delete","str","encoder","TextEncoder","utf8","encode","length","outPtr","maxBytesToWrite","heap","HEAPU8","Error","i"],"sources":["JsiSkTypefaceFontProvider.ts"],"sourcesContent":["import type { CanvasKit, TypefaceFontProvider } from \"canvaskit-wasm\";\n\nimport type { SkTypefaceFontProvider } from \"../types/Paragraph/TypefaceFontProvider\";\nimport type { FontStyle, SkTypeface } from \"../types\";\n\nimport { HostObject, NotImplementedOnRNWeb } from \"./Host\";\n\nexport class JsiSkTypefaceFontProvider\n extends HostObject<TypefaceFontProvider, \"FontMgr\">\n implements SkTypefaceFontProvider\n{\n private allocatedPointers: number[] = [];\n\n constructor(CanvasKit: CanvasKit, ref: TypefaceFontProvider) {\n super(CanvasKit, ref, \"FontMgr\");\n }\n\n matchFamilyStyle(_name: string, _style: FontStyle): SkTypeface {\n throw new NotImplementedOnRNWeb();\n }\n countFamilies() {\n return this.ref.countFamilies();\n }\n getFamilyName(index: number) {\n return this.ref.getFamilyName(index);\n }\n registerFont(typeface: SkTypeface, familyName: string) {\n const strLen = lengthBytesUTF8(familyName) + 1;\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-expect-error\n const strPtr = this.CanvasKit._malloc(strLen);\n stringToUTF8(this.CanvasKit, familyName, strPtr, strLen);\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-expect-error\n this.ref._registerFont(typeface.ref, strPtr);\n }\n\n dispose() {\n for (const ptr of this.allocatedPointers) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-expect-error\n this.CanvasKit._free(ptr);\n }\n\n this.ref.delete();\n }\n}\n\nconst lengthBytesUTF8 = (str: string) => {\n // TextEncoder will give us the byte length in UTF8 form\n const encoder = new TextEncoder();\n const utf8 = encoder.encode(str);\n return utf8.length;\n};\n\nconst stringToUTF8 = (\n CanvasKit: CanvasKit,\n str: string,\n outPtr: number,\n maxBytesToWrite: number\n) => {\n // TextEncoder will give us the byte array in UTF8 form\n const encoder = new TextEncoder();\n const utf8 = encoder.encode(str);\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-expect-error\n const heap: Int8Array = CanvasKit.HEAPU8;\n\n // Check if there's enough space\n if (utf8.length > maxBytesToWrite) {\n throw new Error(\"Not enough space to write UTF8 encoded string\");\n }\n\n // Copy the bytes\n for (let i = 0; i < utf8.length; i++) {\n heap[outPtr + i] = utf8[i];\n }\n\n // Null terminate\n if (utf8.length < maxBytesToWrite) {\n heap[outPtr + utf8.length] = 0;\n }\n};\n"],"mappings":";;;AAKA,SAASA,UAAU,EAAEC,qBAAqB,QAAQ,QAAQ;AAE1D,OAAO,MAAMC,yBAAyB,SAC5BF,UAAU,CAEpB;EAGEG,WAAWA,CAACC,SAAoB,EAAEC,GAAyB,EAAE;IAC3D,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,SAAS,CAAC;IAACC,eAAA,4BAHG,EAAE;EAIxC;EAEAC,gBAAgBA,CAACC,KAAa,EAAEC,MAAiB,EAAc;IAC7D,MAAM,IAAIR,qBAAqB,CAAC,CAAC;EACnC;EACAS,aAAaA,CAAA,EAAG;IACd,OAAO,IAAI,CAACL,GAAG,CAACK,aAAa,CAAC,CAAC;EACjC;EACAC,aAAaA,CAACC,KAAa,EAAE;IAC3B,OAAO,IAAI,CAACP,GAAG,CAACM,aAAa,CAACC,KAAK,CAAC;EACtC;EACAC,YAAYA,CAACC,QAAoB,EAAEC,UAAkB,EAAE;IACrD,MAAMC,MAAM,GAAGC,eAAe,CAACF,UAAU,CAAC,GAAG,CAAC;;IAE9C;IACA;IACA,MAAMG,MAAM,GAAG,IAAI,CAACd,SAAS,CAACe,OAAO,CAACH,MAAM,CAAC;IAC7CI,YAAY,CAAC,IAAI,CAAChB,SAAS,EAAEW,UAAU,EAAEG,MAAM,EAAEF,MAAM,CAAC;;IAExD;IACA;IACA,IAAI,CAACX,GAAG,CAACgB,aAAa,CAACP,QAAQ,CAACT,GAAG,EAAEa,MAAM,CAAC;EAC9C;EAEAI,OAAOA,CAAA,EAAG;IACR,KAAK,MAAMC,GAAG,IAAI,IAAI,CAACC,iBAAiB,EAAE;MACxC;MACA;MACA,IAAI,CAACpB,SAAS,CAACqB,KAAK,CAACF,GAAG,CAAC;IAC3B;IAEA,IAAI,CAAClB,GAAG,CAACqB,MAAM,CAAC,CAAC;EACnB;AACF;AAEA,MAAMT,eAAe,GAAIU,GAAW,IAAK;EACvC;EACA,MAAMC,OAAO,GAAG,IAAIC,WAAW,CAAC,CAAC;EACjC,MAAMC,IAAI,GAAGF,OAAO,CAACG,MAAM,CAACJ,GAAG,CAAC;EAChC,OAAOG,IAAI,CAACE,MAAM;AACpB,CAAC;AAED,MAAMZ,YAAY,GAAGA,CACnBhB,SAAoB,EACpBuB,GAAW,EACXM,MAAc,EACdC,eAAuB,KACpB;EACH;EACA,MAAMN,OAAO,GAAG,IAAIC,WAAW,CAAC,CAAC;EACjC,MAAMC,IAAI,GAAGF,OAAO,CAACG,MAAM,CAACJ,GAAG,CAAC;EAChC;EACA;EACA,MAAMQ,IAAe,GAAG/B,SAAS,CAACgC,MAAM;;EAExC;EACA,IAAIN,IAAI,CAACE,MAAM,GAAGE,eAAe,EAAE;IACjC,MAAM,IAAIG,KAAK,CAAC,+CAA+C,CAAC;EAClE;;EAEA;EACA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGR,IAAI,CAACE,MAAM,EAAEM,CAAC,EAAE,EAAE;IACpCH,IAAI,CAACF,MAAM,GAAGK,CAAC,CAAC,GAAGR,IAAI,CAACQ,CAAC,CAAC;EAC5B;;EAEA;EACA,IAAIR,IAAI,CAACE,MAAM,GAAGE,eAAe,EAAE;IACjCC,IAAI,CAACF,MAAM,GAAGH,IAAI,CAACE,MAAM,CAAC,GAAG,CAAC;EAChC;AACF,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { CanvasKit } from "canvaskit-wasm";
|
2
|
+
import { Host } from "./Host";
|
3
|
+
import { JsiSkTypefaceFontProvider } from "./JsiSkTypefaceFontProvider";
|
4
|
+
export declare class JsiSkTypefaceFontProviderFactory extends Host implements JsiSkTypefaceFontProviderFactory {
|
5
|
+
constructor(CanvasKit: CanvasKit);
|
6
|
+
Make(): JsiSkTypefaceFontProvider;
|
7
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { Host } from "./Host";
|
2
|
+
import { JsiSkTypefaceFontProvider } from "./JsiSkTypefaceFontProvider";
|
3
|
+
export class JsiSkTypefaceFontProviderFactory extends Host {
|
4
|
+
constructor(CanvasKit) {
|
5
|
+
super(CanvasKit);
|
6
|
+
}
|
7
|
+
Make() {
|
8
|
+
const tf = this.CanvasKit.TypefaceFontProvider.Make();
|
9
|
+
return new JsiSkTypefaceFontProvider(this.CanvasKit, tf);
|
10
|
+
}
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=JsiSkTypefaceFontProviderFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["Host","JsiSkTypefaceFontProvider","JsiSkTypefaceFontProviderFactory","constructor","CanvasKit","Make","tf","TypefaceFontProvider"],"sources":["JsiSkTypefaceFontProviderFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport { Host } from \"./Host\";\nimport { JsiSkTypefaceFontProvider } from \"./JsiSkTypefaceFontProvider\";\n\nexport class JsiSkTypefaceFontProviderFactory\n extends Host\n implements JsiSkTypefaceFontProviderFactory\n{\n constructor(CanvasKit: CanvasKit) {\n super(CanvasKit);\n }\n\n Make() {\n const tf = this.CanvasKit.TypefaceFontProvider.Make();\n return new JsiSkTypefaceFontProvider(this.CanvasKit, tf);\n }\n}\n"],"mappings":"AAEA,SAASA,IAAI,QAAQ,QAAQ;AAC7B,SAASC,yBAAyB,QAAQ,6BAA6B;AAEvE,OAAO,MAAMC,gCAAgC,SACnCF,IAAI,CAEd;EACEG,WAAWA,CAACC,SAAoB,EAAE;IAChC,KAAK,CAACA,SAAS,CAAC;EAClB;EAEAC,IAAIA,CAAA,EAAG;IACL,MAAMC,EAAE,GAAG,IAAI,CAACF,SAAS,CAACG,oBAAoB,CAACF,IAAI,CAAC,CAAC;IACrD,OAAO,IAAIJ,yBAAyB,CAAC,IAAI,CAACG,SAAS,EAAEE,EAAE,CAAC;EAC1D;AACF"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { CanvasKit, Vertices } from "canvaskit-wasm";
|
2
|
+
import type { SkVertices } from "../types";
|
3
|
+
import { HostObject } from "./Host";
|
4
|
+
import { JsiSkRect } from "./JsiSkRect";
|
5
|
+
export declare class JsiSkVertices extends HostObject<Vertices, "Vertices"> implements SkVertices {
|
6
|
+
constructor(CanvasKit: CanvasKit, ref: Vertices);
|
7
|
+
dispose: () => void;
|
8
|
+
bounds(): JsiSkRect;
|
9
|
+
uniqueID(): number;
|
10
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
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; }
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
3
|
+
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); }
|
4
|
+
import { HostObject } from "./Host";
|
5
|
+
import { JsiSkRect } from "./JsiSkRect";
|
6
|
+
export class JsiSkVertices extends HostObject {
|
7
|
+
constructor(CanvasKit, ref) {
|
8
|
+
super(CanvasKit, ref, "Vertices");
|
9
|
+
_defineProperty(this, "dispose", () => {
|
10
|
+
this.ref.delete();
|
11
|
+
});
|
12
|
+
}
|
13
|
+
bounds() {
|
14
|
+
return new JsiSkRect(this.CanvasKit, this.ref.bounds());
|
15
|
+
}
|
16
|
+
uniqueID() {
|
17
|
+
return this.ref.uniqueID();
|
18
|
+
}
|
19
|
+
}
|
20
|
+
//# sourceMappingURL=JsiSkVertices.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["HostObject","JsiSkRect","JsiSkVertices","constructor","CanvasKit","ref","_defineProperty","delete","bounds","uniqueID"],"sources":["JsiSkVertices.ts"],"sourcesContent":["import type { CanvasKit, Vertices } from \"canvaskit-wasm\";\n\nimport type { SkVertices } from \"../types\";\n\nimport { HostObject } from \"./Host\";\nimport { JsiSkRect } from \"./JsiSkRect\";\n\nexport class JsiSkVertices\n extends HostObject<Vertices, \"Vertices\">\n implements SkVertices\n{\n constructor(CanvasKit: CanvasKit, ref: Vertices) {\n super(CanvasKit, ref, \"Vertices\");\n }\n\n dispose = () => {\n this.ref.delete();\n };\n\n bounds() {\n return new JsiSkRect(this.CanvasKit, this.ref.bounds());\n }\n\n uniqueID() {\n return this.ref.uniqueID();\n }\n}\n"],"mappings":";;;AAIA,SAASA,UAAU,QAAQ,QAAQ;AACnC,SAASC,SAAS,QAAQ,aAAa;AAEvC,OAAO,MAAMC,aAAa,SAChBF,UAAU,CAEpB;EACEG,WAAWA,CAACC,SAAoB,EAAEC,GAAa,EAAE;IAC/C,KAAK,CAACD,SAAS,EAAEC,GAAG,EAAE,UAAU,CAAC;IAACC,eAAA,kBAG1B,MAAM;MACd,IAAI,CAACD,GAAG,CAACE,MAAM,CAAC,CAAC;IACnB,CAAC;EAJD;EAMAC,MAAMA,CAAA,EAAG;IACP,OAAO,IAAIP,SAAS,CAAC,IAAI,CAACG,SAAS,EAAE,IAAI,CAACC,GAAG,CAACG,MAAM,CAAC,CAAC,CAAC;EACzD;EAEAC,QAAQA,CAAA,EAAG;IACT,OAAO,IAAI,CAACJ,GAAG,CAACI,QAAQ,CAAC,CAAC;EAC5B;AACF"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { CanvasKit } from "canvaskit-wasm";
|
2
|
+
import type { SkColor, SkPoint, VertexMode } from "../types";
|
3
|
+
import { JsiSkVertices } from "./JsiSkVertices";
|
4
|
+
export declare const MakeVertices: (CanvasKit: CanvasKit, mode: VertexMode, positions: SkPoint[], textureCoordinates?: SkPoint[] | null, colors?: SkColor[], indices?: number[] | null, isVolatile?: boolean) => JsiSkVertices;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { JsiSkVertices } from "./JsiSkVertices";
|
2
|
+
import { getEnum } from "./Host";
|
3
|
+
const concat = (...arrays) => {
|
4
|
+
let totalLength = 0;
|
5
|
+
for (const arr of arrays) {
|
6
|
+
totalLength += arr.length;
|
7
|
+
}
|
8
|
+
const result = new Float32Array(totalLength);
|
9
|
+
let offset = 0;
|
10
|
+
for (const arr of arrays) {
|
11
|
+
result.set(arr, offset);
|
12
|
+
offset += arr.length;
|
13
|
+
}
|
14
|
+
return result;
|
15
|
+
};
|
16
|
+
export const MakeVertices = (CanvasKit, mode, positions, textureCoordinates, colors, indices, isVolatile) => new JsiSkVertices(CanvasKit, CanvasKit.MakeVertices(getEnum(CanvasKit.VertexMode, mode), positions.map(({
|
17
|
+
x,
|
18
|
+
y
|
19
|
+
}) => [x, y]).flat(), (textureCoordinates || []).map(({
|
20
|
+
x,
|
21
|
+
y
|
22
|
+
}) => [x, y]).flat(), !colors ? null : colors.reduce((a, c) => concat(a, c)), indices, isVolatile));
|
23
|
+
//# sourceMappingURL=JsiSkVerticesFactory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["JsiSkVertices","getEnum","concat","arrays","totalLength","arr","length","result","Float32Array","offset","set","MakeVertices","CanvasKit","mode","positions","textureCoordinates","colors","indices","isVolatile","VertexMode","map","x","y","flat","reduce","a","c"],"sources":["JsiSkVerticesFactory.ts"],"sourcesContent":["import type { CanvasKit } from \"canvaskit-wasm\";\n\nimport type { SkColor, SkPoint, VertexMode } from \"../types\";\n\nimport { JsiSkVertices } from \"./JsiSkVertices\";\nimport { getEnum } from \"./Host\";\n\nconst concat = (...arrays: Float32Array[]) => {\n let totalLength = 0;\n for (const arr of arrays) {\n totalLength += arr.length;\n }\n const result = new Float32Array(totalLength);\n let offset = 0;\n for (const arr of arrays) {\n result.set(arr, offset);\n offset += arr.length;\n }\n return result;\n};\n\nexport const MakeVertices = (\n CanvasKit: CanvasKit,\n mode: VertexMode,\n positions: SkPoint[],\n textureCoordinates?: SkPoint[] | null,\n colors?: SkColor[],\n indices?: number[] | null,\n isVolatile?: boolean\n) =>\n new JsiSkVertices(\n CanvasKit,\n CanvasKit.MakeVertices(\n getEnum(CanvasKit.VertexMode, mode),\n positions.map(({ x, y }) => [x, y]).flat(),\n (textureCoordinates || []).map(({ x, y }) => [x, y]).flat(),\n !colors ? null : colors.reduce((a, c) => concat(a, c)),\n indices,\n isVolatile\n )\n );\n"],"mappings":"AAIA,SAASA,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,OAAO,QAAQ,QAAQ;AAEhC,MAAMC,MAAM,GAAGA,CAAC,GAAGC,MAAsB,KAAK;EAC5C,IAAIC,WAAW,GAAG,CAAC;EACnB,KAAK,MAAMC,GAAG,IAAIF,MAAM,EAAE;IACxBC,WAAW,IAAIC,GAAG,CAACC,MAAM;EAC3B;EACA,MAAMC,MAAM,GAAG,IAAIC,YAAY,CAACJ,WAAW,CAAC;EAC5C,IAAIK,MAAM,GAAG,CAAC;EACd,KAAK,MAAMJ,GAAG,IAAIF,MAAM,EAAE;IACxBI,MAAM,CAACG,GAAG,CAACL,GAAG,EAAEI,MAAM,CAAC;IACvBA,MAAM,IAAIJ,GAAG,CAACC,MAAM;EACtB;EACA,OAAOC,MAAM;AACf,CAAC;AAED,OAAO,MAAMI,YAAY,GAAGA,CAC1BC,SAAoB,EACpBC,IAAgB,EAChBC,SAAoB,EACpBC,kBAAqC,EACrCC,MAAkB,EAClBC,OAAyB,EACzBC,UAAoB,KAEpB,IAAIlB,aAAa,CACfY,SAAS,EACTA,SAAS,CAACD,YAAY,CACpBV,OAAO,CAACW,SAAS,CAACO,UAAU,EAAEN,IAAI,CAAC,EACnCC,SAAS,CAACM,GAAG,CAAC,CAAC;EAAEC,CAAC;EAAEC;AAAE,CAAC,KAAK,CAACD,CAAC,EAAEC,CAAC,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC,EAC1C,CAACR,kBAAkB,IAAI,EAAE,EAAEK,GAAG,CAAC,CAAC;EAAEC,CAAC;EAAEC;AAAE,CAAC,KAAK,CAACD,CAAC,EAAEC,CAAC,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC,EAC3D,CAACP,MAAM,GAAG,IAAI,GAAGA,MAAM,CAACQ,MAAM,CAAC,CAACC,CAAC,EAAEC,CAAC,KAAKxB,MAAM,CAACuB,CAAC,EAAEC,CAAC,CAAC,CAAC,EACtDT,OAAO,EACPC,UACF,CACF,CAAC"}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
import { JsiSkPoint } from "./JsiSkPoint";
|
2
|
+
import { JsiSkPaint } from "./JsiSkPaint";
|
3
|
+
import { JsiSkRect } from "./JsiSkRect";
|
4
|
+
import { Color } from "./JsiSkColor";
|
5
|
+
import { JsiSkSurfaceFactory } from "./JsiSkSurfaceFactory";
|
6
|
+
import { JsiSkRRect } from "./JsiSkRRect";
|
7
|
+
import { JsiSkRSXform } from "./JsiSkRSXform";
|
8
|
+
import { JsiSkContourMeasureIter } from "./JsiSkContourMeasureIter";
|
9
|
+
import { JsiSkPictureRecorder } from "./JsiSkPictureRecorder";
|
10
|
+
import { JsiSkPictureFactory } from "./JsiSkPictureFactory";
|
11
|
+
import { JsiSkPathFactory } from "./JsiSkPathFactory";
|
12
|
+
import { JsiSkMatrix } from "./JsiSkMatrix";
|
13
|
+
import { JsiSkColorFilterFactory } from "./JsiSkColorFilterFactory";
|
14
|
+
import { JsiSkTypefaceFactory } from "./JsiSkTypefaceFactory";
|
15
|
+
import { JsiSkMaskFilterFactory } from "./JsiSkMaskFilterFactory";
|
16
|
+
import { JsiSkRuntimeEffectFactory } from "./JsiSkRuntimeEffectFactory";
|
17
|
+
import { JsiSkImageFilterFactory } from "./JsiSkImageFilterFactory";
|
18
|
+
import { JsiSkShaderFactory } from "./JsiSkShaderFactory";
|
19
|
+
import { JsiSkPathEffectFactory } from "./JsiSkPathEffectFactory";
|
20
|
+
import { JsiSkDataFactory } from "./JsiSkDataFactory";
|
21
|
+
import { JsiSkImageFactory } from "./JsiSkImageFactory";
|
22
|
+
import { JsiSkSVGFactory } from "./JsiSkSVGFactory";
|
23
|
+
import { JsiSkTextBlobFactory } from "./JsiSkTextBlobFactory";
|
24
|
+
import { JsiSkFont } from "./JsiSkFont";
|
25
|
+
import { MakeVertices } from "./JsiSkVerticesFactory";
|
26
|
+
import { JsiSkPath } from "./JsiSkPath";
|
27
|
+
import { JsiSkTypeface } from "./JsiSkTypeface";
|
28
|
+
import { JsiSkTypefaceFontProviderFactory } from "./JsiSkTypefaceFontProviderFactory";
|
29
|
+
import { JsiSkFontMgrFactory } from "./JsiSkFontMgrFactory";
|
30
|
+
import { JsiSkAnimatedImageFactory } from "./JsiSkAnimatedImageFactory";
|
31
|
+
import { JsiSkParagraphBuilderFactory } from "./JsiSkParagraphBuilderFactory";
|
32
|
+
import { JsiSkNativeBufferFactory } from "./JsiSkNativeBufferFactory";
|
33
|
+
import { createVideo } from "./JsiVideo";
|
34
|
+
export const JsiSkApi = CanvasKit => ({
|
35
|
+
Point: (x, y) => new JsiSkPoint(CanvasKit, Float32Array.of(x, y)),
|
36
|
+
RuntimeShaderBuilder: _ => {
|
37
|
+
throw new Error("Not implemented on React Native Web");
|
38
|
+
},
|
39
|
+
RRectXY: (rect, rx, ry) => new JsiSkRRect(CanvasKit, rect, rx, ry),
|
40
|
+
RSXform: (scos, ssin, tx, ty) => new JsiSkRSXform(CanvasKit, Float32Array.of(scos, ssin, tx, ty)),
|
41
|
+
RSXformFromRadians: (scale, r, tx, ty, px, py) => {
|
42
|
+
const s = Math.sin(r) * scale;
|
43
|
+
const c = Math.cos(r) * scale;
|
44
|
+
return new JsiSkRSXform(CanvasKit, Float32Array.of(c, s, tx - c * px + s * py, ty - s * px - c * py));
|
45
|
+
},
|
46
|
+
Color,
|
47
|
+
ContourMeasureIter: (path, forceClosed, resScale) => new JsiSkContourMeasureIter(CanvasKit, new CanvasKit.ContourMeasureIter(JsiSkPath.fromValue(path), forceClosed, resScale)),
|
48
|
+
Paint: () => {
|
49
|
+
const paint = new JsiSkPaint(CanvasKit, new CanvasKit.Paint());
|
50
|
+
paint.setAntiAlias(true);
|
51
|
+
return paint;
|
52
|
+
},
|
53
|
+
PictureRecorder: () => new JsiSkPictureRecorder(CanvasKit, new CanvasKit.PictureRecorder()),
|
54
|
+
Picture: new JsiSkPictureFactory(CanvasKit),
|
55
|
+
Path: new JsiSkPathFactory(CanvasKit),
|
56
|
+
Matrix: matrix => new JsiSkMatrix(CanvasKit, matrix ? Float32Array.of(...matrix) : Float32Array.of(...CanvasKit.Matrix.identity())),
|
57
|
+
ColorFilter: new JsiSkColorFilterFactory(CanvasKit),
|
58
|
+
Font: (typeface, size) => new JsiSkFont(CanvasKit, new CanvasKit.Font(typeface === undefined ? null : JsiSkTypeface.fromValue(typeface), size)),
|
59
|
+
Typeface: new JsiSkTypefaceFactory(CanvasKit),
|
60
|
+
MaskFilter: new JsiSkMaskFilterFactory(CanvasKit),
|
61
|
+
RuntimeEffect: new JsiSkRuntimeEffectFactory(CanvasKit),
|
62
|
+
ImageFilter: new JsiSkImageFilterFactory(CanvasKit),
|
63
|
+
Shader: new JsiSkShaderFactory(CanvasKit),
|
64
|
+
PathEffect: new JsiSkPathEffectFactory(CanvasKit),
|
65
|
+
MakeVertices: MakeVertices.bind(null, CanvasKit),
|
66
|
+
Data: new JsiSkDataFactory(CanvasKit),
|
67
|
+
Image: new JsiSkImageFactory(CanvasKit),
|
68
|
+
AnimatedImage: new JsiSkAnimatedImageFactory(CanvasKit),
|
69
|
+
SVG: new JsiSkSVGFactory(CanvasKit),
|
70
|
+
TextBlob: new JsiSkTextBlobFactory(CanvasKit),
|
71
|
+
XYWHRect: (x, y, width, height) => {
|
72
|
+
return new JsiSkRect(CanvasKit, CanvasKit.XYWHRect(x, y, width, height));
|
73
|
+
},
|
74
|
+
Surface: new JsiSkSurfaceFactory(CanvasKit),
|
75
|
+
TypefaceFontProvider: new JsiSkTypefaceFontProviderFactory(CanvasKit),
|
76
|
+
FontMgr: new JsiSkFontMgrFactory(CanvasKit),
|
77
|
+
ParagraphBuilder: new JsiSkParagraphBuilderFactory(CanvasKit),
|
78
|
+
NativeBuffer: new JsiSkNativeBufferFactory(CanvasKit),
|
79
|
+
Video: createVideo.bind(null, CanvasKit)
|
80
|
+
});
|
81
|
+
//# sourceMappingURL=JsiSkia.js.map
|