@pompadour/react-native-skia 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE.md +7 -0
- package/README.md +9 -0
- package/android/CMakeLists.txt +242 -0
- package/android/README.md +14 -0
- package/android/build.gradle +352 -0
- package/android/cpp/jni/JniLoad.cpp +15 -0
- package/android/cpp/jni/JniPlatformContext.cpp +243 -0
- package/android/cpp/jni/JniSkiaManager.cpp +74 -0
- package/android/cpp/jni/include/JniPlatformContext.h +73 -0
- package/android/cpp/jni/include/JniSkiaBaseView.h +70 -0
- package/android/cpp/jni/include/JniSkiaDomView.h +89 -0
- package/android/cpp/jni/include/JniSkiaManager.h +76 -0
- package/android/cpp/jni/include/JniSkiaPictureView.h +92 -0
- package/android/cpp/rnskia-android/AHardwareBufferUtils.cpp +31 -0
- package/android/cpp/rnskia-android/AHardwareBufferUtils.h +13 -0
- package/android/cpp/rnskia-android/GrAHardwareBufferUtils.cpp +245 -0
- package/android/cpp/rnskia-android/GrAHardwareBufferUtils.h +33 -0
- package/android/cpp/rnskia-android/RNSkAndroidPlatformContext.h +152 -0
- package/android/cpp/rnskia-android/RNSkAndroidVideo.cpp +163 -0
- package/android/cpp/rnskia-android/RNSkAndroidVideo.h +41 -0
- package/android/cpp/rnskia-android/RNSkAndroidView.h +101 -0
- package/android/cpp/rnskia-android/RNSkOpenGLCanvasProvider.cpp +87 -0
- package/android/cpp/rnskia-android/RNSkOpenGLCanvasProvider.h +39 -0
- package/android/cpp/rnskia-android/SkiaOpenGLHelper.h +310 -0
- package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.cpp +221 -0
- package/android/cpp/rnskia-android/SkiaOpenGLSurfaceFactory.h +168 -0
- package/android/src/main/AndroidManifest.xml +6 -0
- package/android/src/main/java/com/shopify/reactnative/skia/PlatformContext.java +195 -0
- package/android/src/main/java/com/shopify/reactnative/skia/RNSkVideo.java +266 -0
- package/android/src/main/java/com/shopify/reactnative/skia/RNSkiaModule.java +87 -0
- package/android/src/main/java/com/shopify/reactnative/skia/RNSkiaPackage.java +77 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaBaseView.java +180 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaBaseViewManager.java +34 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaDomView.java +45 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaDomViewManager.java +32 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaManager.java +57 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaPictureView.java +44 -0
- package/android/src/main/java/com/shopify/reactnative/skia/SkiaPictureViewManager.java +33 -0
- package/android/src/main/java/com/shopify/reactnative/skia/ViewScreenshotService.java +194 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaDomViewManagerDelegate.java +34 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaDomViewManagerInterface.java +18 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaDrawViewManagerInterface.java +18 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaPictureViewManagerDelegate.java +34 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaPictureViewManagerInterface.java +18 -0
- package/android/src/paper/java/com/shopify/reactnative/skia/NativeSkiaModuleSpec.java +38 -0
- package/android/src/reactnative69/java/com/shopify/reactnative/skia/ReactNativeCompatible.java +11 -0
- package/android/src/reactnative74/java/com/shopify/reactnative/skia/ReactNativeCompatible.java +14 -0
- package/cpp/api/JsiNativeBuffer.h +43 -0
- package/cpp/api/JsiSkAnimatedImage.h +60 -0
- package/cpp/api/JsiSkAnimatedImageFactory.h +39 -0
- package/cpp/api/JsiSkApi.h +133 -0
- package/cpp/api/JsiSkCanvas.h +622 -0
- package/cpp/api/JsiSkColor.h +85 -0
- package/cpp/api/JsiSkColorFilter.h +30 -0
- package/cpp/api/JsiSkColorFilterFactory.h +101 -0
- package/cpp/api/JsiSkContourMeasure.h +79 -0
- package/cpp/api/JsiSkContourMeasureIter.h +68 -0
- package/cpp/api/JsiSkData.h +30 -0
- package/cpp/api/JsiSkDataFactory.h +97 -0
- package/cpp/api/JsiSkFont.h +317 -0
- package/cpp/api/JsiSkFontMgr.h +54 -0
- package/cpp/api/JsiSkFontMgrFactory.h +45 -0
- package/cpp/api/JsiSkFontStyle.h +67 -0
- package/cpp/api/JsiSkHostObjects.h +153 -0
- package/cpp/api/JsiSkImage.h +208 -0
- package/cpp/api/JsiSkImageFactory.h +91 -0
- package/cpp/api/JsiSkImageFilter.h +31 -0
- package/cpp/api/JsiSkImageFilterFactory.h +240 -0
- package/cpp/api/JsiSkImageInfo.h +79 -0
- package/cpp/api/JsiSkMaskFilter.h +31 -0
- package/cpp/api/JsiSkMaskFilterFactory.h +41 -0
- package/cpp/api/JsiSkMatrix.h +180 -0
- package/cpp/api/JsiSkPaint.h +220 -0
- package/cpp/api/JsiSkParagraph.h +150 -0
- package/cpp/api/JsiSkParagraphBuilder.h +130 -0
- package/cpp/api/JsiSkParagraphBuilderFactory.h +54 -0
- package/cpp/api/JsiSkParagraphStyle.h +125 -0
- package/cpp/api/JsiSkPath.h +639 -0
- package/cpp/api/JsiSkPathEffect.h +32 -0
- package/cpp/api/JsiSkPathEffectFactory.h +128 -0
- package/cpp/api/JsiSkPathFactory.h +173 -0
- package/cpp/api/JsiSkPicture.h +69 -0
- package/cpp/api/JsiSkPictureFactory.h +51 -0
- package/cpp/api/JsiSkPictureRecorder.h +65 -0
- package/cpp/api/JsiSkPoint.h +84 -0
- package/cpp/api/JsiSkRRect.h +129 -0
- package/cpp/api/JsiSkRSXform.h +128 -0
- package/cpp/api/JsiSkRect.h +123 -0
- package/cpp/api/JsiSkRuntimeEffect.h +220 -0
- package/cpp/api/JsiSkRuntimeEffectFactory.h +41 -0
- package/cpp/api/JsiSkRuntimeShaderBuilder.h +83 -0
- package/cpp/api/JsiSkSVG.h +50 -0
- package/cpp/api/JsiSkSVGFactory.h +49 -0
- package/cpp/api/JsiSkShader.h +32 -0
- package/cpp/api/JsiSkShaderFactory.h +226 -0
- package/cpp/api/JsiSkStrutStyle.h +103 -0
- package/cpp/api/JsiSkSurface.h +74 -0
- package/cpp/api/JsiSkSurfaceFactory.h +58 -0
- package/cpp/api/JsiSkTextBlob.h +31 -0
- package/cpp/api/JsiSkTextBlobFactory.h +110 -0
- package/cpp/api/JsiSkTextStyle.h +185 -0
- package/cpp/api/JsiSkTypeface.h +67 -0
- package/cpp/api/JsiSkTypefaceFactory.h +36 -0
- package/cpp/api/JsiSkTypefaceFontProvider.h +92 -0
- package/cpp/api/JsiSkTypefaceFontProviderFactory.h +32 -0
- package/cpp/api/JsiSkVertices.h +144 -0
- package/cpp/api/JsiVideo.h +119 -0
- package/cpp/api/third_party/CSSColorParser.cpp +181 -0
- package/cpp/api/third_party/CSSColorParser.h +210 -0
- package/cpp/api/third_party/base64.cpp +153 -0
- package/cpp/api/third_party/base64.h +50 -0
- package/cpp/jsi/JsiHostObject.cpp +150 -0
- package/cpp/jsi/JsiHostObject.h +391 -0
- package/cpp/jsi/JsiPromises.cpp +39 -0
- package/cpp/jsi/JsiPromises.h +50 -0
- package/cpp/jsi/JsiValue.cpp +346 -0
- package/cpp/jsi/JsiValue.h +222 -0
- package/cpp/jsi/JsiValueWrapper.h +164 -0
- package/cpp/jsi/RuntimeAwareCache.cpp +7 -0
- package/cpp/jsi/RuntimeAwareCache.h +101 -0
- package/cpp/jsi/RuntimeLifecycleMonitor.cpp +57 -0
- package/cpp/jsi/RuntimeLifecycleMonitor.h +32 -0
- package/cpp/rnskia/RNSkDispatchQueue.cpp +73 -0
- package/cpp/rnskia/RNSkDispatchQueue.h +49 -0
- package/cpp/rnskia/RNSkDomView.cpp +220 -0
- package/cpp/rnskia/RNSkDomView.h +140 -0
- package/cpp/rnskia/RNSkInfoParameter.h +92 -0
- package/cpp/rnskia/RNSkJsiViewApi.h +286 -0
- package/cpp/rnskia/RNSkManager.cpp +87 -0
- package/cpp/rnskia/RNSkManager.h +83 -0
- package/cpp/rnskia/RNSkPictureView.h +124 -0
- package/cpp/rnskia/RNSkPlatformContext.h +265 -0
- package/cpp/rnskia/RNSkVideo.h +28 -0
- package/cpp/rnskia/RNSkView.h +308 -0
- package/cpp/rnskia/dom/JsiDomApi.h +165 -0
- package/cpp/rnskia/dom/base/BaseNodeProp.h +72 -0
- package/cpp/rnskia/dom/base/ConcatablePaint.cpp +117 -0
- package/cpp/rnskia/dom/base/ConcatablePaint.h +49 -0
- package/cpp/rnskia/dom/base/Declaration.h +86 -0
- package/cpp/rnskia/dom/base/DeclarationContext.h +79 -0
- package/cpp/rnskia/dom/base/DerivedNodeProp.h +203 -0
- package/cpp/rnskia/dom/base/DrawingContext.cpp +55 -0
- package/cpp/rnskia/dom/base/DrawingContext.h +104 -0
- package/cpp/rnskia/dom/base/JsiDomDeclarationNode.h +119 -0
- package/cpp/rnskia/dom/base/JsiDomDrawingNode.h +71 -0
- package/cpp/rnskia/dom/base/JsiDomNode.h +572 -0
- package/cpp/rnskia/dom/base/JsiDomRenderNode.h +262 -0
- package/cpp/rnskia/dom/base/NodeProp.h +139 -0
- package/cpp/rnskia/dom/base/NodePropsContainer.h +158 -0
- package/cpp/rnskia/dom/nodes/JsiAtlasNode.h +59 -0
- package/cpp/rnskia/dom/nodes/JsiBackdropFilterNode.h +49 -0
- package/cpp/rnskia/dom/nodes/JsiBlendNode.h +94 -0
- package/cpp/rnskia/dom/nodes/JsiBlurMaskNode.h +75 -0
- package/cpp/rnskia/dom/nodes/JsiBoxNode.h +94 -0
- package/cpp/rnskia/dom/nodes/JsiBoxShadowNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiCircleNode.h +35 -0
- package/cpp/rnskia/dom/nodes/JsiColorFilterNodes.h +164 -0
- package/cpp/rnskia/dom/nodes/JsiDiffRectNode.h +37 -0
- package/cpp/rnskia/dom/nodes/JsiFillNode.h +22 -0
- package/cpp/rnskia/dom/nodes/JsiGlyphsNode.h +53 -0
- package/cpp/rnskia/dom/nodes/JsiGroupNode.h +25 -0
- package/cpp/rnskia/dom/nodes/JsiImageFilterNodes.h +361 -0
- package/cpp/rnskia/dom/nodes/JsiImageNode.h +38 -0
- package/cpp/rnskia/dom/nodes/JsiImageSvgNode.h +63 -0
- package/cpp/rnskia/dom/nodes/JsiLayerNode.h +74 -0
- package/cpp/rnskia/dom/nodes/JsiLineNode.h +38 -0
- package/cpp/rnskia/dom/nodes/JsiOvalNode.h +32 -0
- package/cpp/rnskia/dom/nodes/JsiPaintNode.h +119 -0
- package/cpp/rnskia/dom/nodes/JsiParagraphNode.h +62 -0
- package/cpp/rnskia/dom/nodes/JsiPatchNode.h +50 -0
- package/cpp/rnskia/dom/nodes/JsiPathEffectNodes.h +268 -0
- package/cpp/rnskia/dom/nodes/JsiPathNode.h +181 -0
- package/cpp/rnskia/dom/nodes/JsiPictureNode.h +31 -0
- package/cpp/rnskia/dom/nodes/JsiPointsNode.h +48 -0
- package/cpp/rnskia/dom/nodes/JsiRRectNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiRectNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiShaderNodes.h +463 -0
- package/cpp/rnskia/dom/nodes/JsiTextBlobNode.h +44 -0
- package/cpp/rnskia/dom/nodes/JsiTextNode.h +51 -0
- package/cpp/rnskia/dom/nodes/JsiTextPathNode.h +33 -0
- package/cpp/rnskia/dom/nodes/JsiVerticesNode.h +41 -0
- package/cpp/rnskia/dom/props/BezierProps.h +65 -0
- package/cpp/rnskia/dom/props/BlendModeProp.h +103 -0
- package/cpp/rnskia/dom/props/BoxShadowProps.h +62 -0
- package/cpp/rnskia/dom/props/CircleProp.h +49 -0
- package/cpp/rnskia/dom/props/ClipProp.h +57 -0
- package/cpp/rnskia/dom/props/ColorProp.h +96 -0
- package/cpp/rnskia/dom/props/FontProp.h +42 -0
- package/cpp/rnskia/dom/props/GlyphsProp.h +55 -0
- package/cpp/rnskia/dom/props/LayerProp.h +52 -0
- package/cpp/rnskia/dom/props/MatrixProp.h +54 -0
- package/cpp/rnskia/dom/props/NumbersProp.h +67 -0
- package/cpp/rnskia/dom/props/PaintProps.h +133 -0
- package/cpp/rnskia/dom/props/ParagraphProp.h +45 -0
- package/cpp/rnskia/dom/props/PathProp.h +59 -0
- package/cpp/rnskia/dom/props/PictureProp.h +40 -0
- package/cpp/rnskia/dom/props/PointProp.h +65 -0
- package/cpp/rnskia/dom/props/PointsProp.h +81 -0
- package/cpp/rnskia/dom/props/RRectProp.h +222 -0
- package/cpp/rnskia/dom/props/RSXformProp.h +52 -0
- package/cpp/rnskia/dom/props/RadiusProp.h +43 -0
- package/cpp/rnskia/dom/props/RectProp.h +164 -0
- package/cpp/rnskia/dom/props/SkImageProps.h +196 -0
- package/cpp/rnskia/dom/props/StrokeProps.h +79 -0
- package/cpp/rnskia/dom/props/SvgProp.h +45 -0
- package/cpp/rnskia/dom/props/TextBlobProp.h +133 -0
- package/cpp/rnskia/dom/props/TileModeProp.h +52 -0
- package/cpp/rnskia/dom/props/TransformProp.h +147 -0
- package/cpp/rnskia/dom/props/TransformsProps.h +66 -0
- package/cpp/rnskia/dom/props/UniformsProp.h +159 -0
- package/cpp/rnskia/dom/props/VertexModeProp.h +49 -0
- package/cpp/rnskia/dom/props/VerticesProps.h +63 -0
- package/cpp/skia/include/android/AHardwareBufferUtils.h +23 -0
- package/cpp/skia/include/android/GrAHardwareBufferUtils.h +101 -0
- package/cpp/skia/include/android/SkAndroidFrameworkUtils.h +89 -0
- package/cpp/skia/include/android/SkAnimatedImage.h +179 -0
- package/cpp/skia/include/android/SkCanvasAndroid.h +20 -0
- package/cpp/skia/include/android/SkHeifDecoder.h +50 -0
- package/cpp/skia/include/android/SkImageAndroid.h +101 -0
- package/cpp/skia/include/android/SkSurfaceAndroid.h +50 -0
- package/cpp/skia/include/android/graphite/SurfaceAndroid.h +59 -0
- package/cpp/skia/include/codec/SkAndroidCodec.h +297 -0
- package/cpp/skia/include/codec/SkAvifDecoder.h +44 -0
- package/cpp/skia/include/codec/SkBmpDecoder.h +44 -0
- package/cpp/skia/include/codec/SkCodec.h +1061 -0
- package/cpp/skia/include/codec/SkCodecAnimation.h +61 -0
- package/cpp/skia/include/codec/SkEncodedImageFormat.h +33 -0
- package/cpp/skia/include/codec/SkEncodedOrigin.h +54 -0
- package/cpp/skia/include/codec/SkGifDecoder.h +44 -0
- package/cpp/skia/include/codec/SkIcoDecoder.h +44 -0
- package/cpp/skia/include/codec/SkJpegDecoder.h +44 -0
- package/cpp/skia/include/codec/SkJpegxlDecoder.h +44 -0
- package/cpp/skia/include/codec/SkPixmapUtils.h +31 -0
- package/cpp/skia/include/codec/SkPngChunkReader.h +45 -0
- package/cpp/skia/include/codec/SkPngDecoder.h +44 -0
- package/cpp/skia/include/codec/SkRawDecoder.h +50 -0
- package/cpp/skia/include/codec/SkWbmpDecoder.h +44 -0
- package/cpp/skia/include/codec/SkWebpDecoder.h +44 -0
- package/cpp/skia/include/config/SkUserConfig.h +121 -0
- package/cpp/skia/include/core/SkAlphaType.h +45 -0
- package/cpp/skia/include/core/SkAnnotation.h +52 -0
- package/cpp/skia/include/core/SkBBHFactory.h +67 -0
- package/cpp/skia/include/core/SkBitmap.h +1265 -0
- package/cpp/skia/include/core/SkBlendMode.h +112 -0
- package/cpp/skia/include/core/SkBlender.h +31 -0
- package/cpp/skia/include/core/SkBlurTypes.h +20 -0
- package/cpp/skia/include/core/SkCanvas.h +2629 -0
- package/cpp/skia/include/core/SkCanvasVirtualEnforcer.h +61 -0
- package/cpp/skia/include/core/SkCapabilities.h +39 -0
- package/cpp/skia/include/core/SkClipOp.h +19 -0
- package/cpp/skia/include/core/SkColor.h +447 -0
- package/cpp/skia/include/core/SkColorFilter.h +150 -0
- package/cpp/skia/include/core/SkColorPriv.h +167 -0
- package/cpp/skia/include/core/SkColorSpace.h +242 -0
- package/cpp/skia/include/core/SkColorTable.h +62 -0
- package/cpp/skia/include/core/SkColorType.h +69 -0
- package/cpp/skia/include/core/SkContourMeasure.h +139 -0
- package/cpp/skia/include/core/SkCoverageMode.h +28 -0
- package/cpp/skia/include/core/SkCubicMap.h +47 -0
- package/cpp/skia/include/core/SkData.h +191 -0
- package/cpp/skia/include/core/SkDataTable.h +122 -0
- package/cpp/skia/include/core/SkDocument.h +93 -0
- package/cpp/skia/include/core/SkDrawLooper.h +135 -0
- package/cpp/skia/include/core/SkDrawable.h +178 -0
- package/cpp/skia/include/core/SkExecutor.h +41 -0
- package/cpp/skia/include/core/SkFlattenable.h +115 -0
- package/cpp/skia/include/core/SkFont.h +539 -0
- package/cpp/skia/include/core/SkFontArguments.h +94 -0
- package/cpp/skia/include/core/SkFontMetrics.h +139 -0
- package/cpp/skia/include/core/SkFontMgr.h +143 -0
- package/cpp/skia/include/core/SkFontParameters.h +42 -0
- package/cpp/skia/include/core/SkFontStyle.h +84 -0
- package/cpp/skia/include/core/SkFontTypes.h +25 -0
- package/cpp/skia/include/core/SkGraphics.h +169 -0
- package/cpp/skia/include/core/SkImage.h +939 -0
- package/cpp/skia/include/core/SkImageFilter.h +119 -0
- package/cpp/skia/include/core/SkImageGenerator.h +148 -0
- package/cpp/skia/include/core/SkImageInfo.h +614 -0
- package/cpp/skia/include/core/SkM44.h +442 -0
- package/cpp/skia/include/core/SkMallocPixelRef.h +45 -0
- package/cpp/skia/include/core/SkMaskFilter.h +53 -0
- package/cpp/skia/include/core/SkMatrix.h +1996 -0
- package/cpp/skia/include/core/SkMesh.h +429 -0
- package/cpp/skia/include/core/SkMilestone.h +9 -0
- package/cpp/skia/include/core/SkOpenTypeSVGDecoder.h +30 -0
- package/cpp/skia/include/core/SkOverdrawCanvas.h +94 -0
- package/cpp/skia/include/core/SkPaint.h +695 -0
- package/cpp/skia/include/core/SkPath.h +1909 -0
- package/cpp/skia/include/core/SkPathBuilder.h +271 -0
- package/cpp/skia/include/core/SkPathEffect.h +113 -0
- package/cpp/skia/include/core/SkPathMeasure.h +94 -0
- package/cpp/skia/include/core/SkPathTypes.h +57 -0
- package/cpp/skia/include/core/SkPathUtils.h +42 -0
- package/cpp/skia/include/core/SkPicture.h +291 -0
- package/cpp/skia/include/core/SkPictureRecorder.h +115 -0
- package/cpp/skia/include/core/SkPixelRef.h +119 -0
- package/cpp/skia/include/core/SkPixmap.h +731 -0
- package/cpp/skia/include/core/SkPoint.h +10 -0
- package/cpp/skia/include/core/SkPoint3.h +159 -0
- package/cpp/skia/include/core/SkRRect.h +516 -0
- package/cpp/skia/include/core/SkRSXform.h +71 -0
- package/cpp/skia/include/core/SkRasterHandleAllocator.h +94 -0
- package/cpp/skia/include/core/SkRect.h +1385 -0
- package/cpp/skia/include/core/SkRefCnt.h +389 -0
- package/cpp/skia/include/core/SkRegion.h +684 -0
- package/cpp/skia/include/core/SkSamplingOptions.h +107 -0
- package/cpp/skia/include/core/SkScalar.h +173 -0
- package/cpp/skia/include/core/SkSerialProcs.h +117 -0
- package/cpp/skia/include/core/SkShader.h +95 -0
- package/cpp/skia/include/core/SkSize.h +92 -0
- package/cpp/skia/include/core/SkSpan.h +13 -0
- package/cpp/skia/include/core/SkStream.h +513 -0
- package/cpp/skia/include/core/SkString.h +293 -0
- package/cpp/skia/include/core/SkStrokeRec.h +154 -0
- package/cpp/skia/include/core/SkSurface.h +659 -0
- package/cpp/skia/include/core/SkSurfaceProps.h +111 -0
- package/cpp/skia/include/core/SkSwizzle.h +19 -0
- package/cpp/skia/include/core/SkTextBlob.h +519 -0
- package/cpp/skia/include/core/SkTextureCompressionType.h +30 -0
- package/cpp/skia/include/core/SkTileMode.h +41 -0
- package/cpp/skia/include/core/SkTiledImageUtils.h +125 -0
- package/cpp/skia/include/core/SkTraceMemoryDump.h +114 -0
- package/cpp/skia/include/core/SkTypeface.h +434 -0
- package/cpp/skia/include/core/SkTypes.h +199 -0
- package/cpp/skia/include/core/SkUnPreMultiply.h +56 -0
- package/cpp/skia/include/core/SkVertices.h +134 -0
- package/cpp/skia/include/core/SkYUVAInfo.h +308 -0
- package/cpp/skia/include/core/SkYUVAPixmaps.h +337 -0
- package/cpp/skia/include/docs/SkMultiPictureDocument.h +53 -0
- package/cpp/skia/include/docs/SkPDFDocument.h +227 -0
- package/cpp/skia/include/docs/SkXPSDocument.h +27 -0
- package/cpp/skia/include/effects/Sk1DPathEffect.h +40 -0
- package/cpp/skia/include/effects/Sk2DPathEffect.h +33 -0
- package/cpp/skia/include/effects/SkBlenders.h +27 -0
- package/cpp/skia/include/effects/SkBlurDrawLooper.h +26 -0
- package/cpp/skia/include/effects/SkBlurMaskFilter.h +35 -0
- package/cpp/skia/include/effects/SkColorMatrix.h +57 -0
- package/cpp/skia/include/effects/SkColorMatrixFilter.h +22 -0
- package/cpp/skia/include/effects/SkCornerPathEffect.h +32 -0
- package/cpp/skia/include/effects/SkDashPathEffect.h +43 -0
- package/cpp/skia/include/effects/SkDiscretePathEffect.h +37 -0
- package/cpp/skia/include/effects/SkGradientShader.h +354 -0
- package/cpp/skia/include/effects/SkHighContrastFilter.h +84 -0
- package/cpp/skia/include/effects/SkImageFilters.h +615 -0
- package/cpp/skia/include/effects/SkLayerDrawLooper.h +161 -0
- package/cpp/skia/include/effects/SkLumaColorFilter.h +37 -0
- package/cpp/skia/include/effects/SkOverdrawColorFilter.h +32 -0
- package/cpp/skia/include/effects/SkPerlinNoiseShader.h +53 -0
- package/cpp/skia/include/effects/SkRuntimeEffect.h +514 -0
- package/cpp/skia/include/effects/SkShaderMaskFilter.h +26 -0
- package/cpp/skia/include/effects/SkTableMaskFilter.h +41 -0
- package/cpp/skia/include/effects/SkTrimPathEffect.h +45 -0
- package/cpp/skia/include/encode/SkEncoder.h +63 -0
- package/cpp/skia/include/encode/SkICC.h +36 -0
- package/cpp/skia/include/encode/SkJpegEncoder.h +128 -0
- package/cpp/skia/include/encode/SkPngEncoder.h +117 -0
- package/cpp/skia/include/encode/SkWebpEncoder.h +92 -0
- package/cpp/skia/include/gpu/GpuTypes.h +85 -0
- package/cpp/skia/include/gpu/GrBackendSemaphore.h +126 -0
- package/cpp/skia/include/gpu/GrBackendSurface.h +472 -0
- package/cpp/skia/include/gpu/GrContextOptions.h +374 -0
- package/cpp/skia/include/gpu/GrContextThreadSafeProxy.h +185 -0
- package/cpp/skia/include/gpu/GrDirectContext.h +1017 -0
- package/cpp/skia/include/gpu/GrDriverBugWorkarounds.h +53 -0
- package/cpp/skia/include/gpu/GrDriverBugWorkaroundsAutogen.h +45 -0
- package/cpp/skia/include/gpu/GrRecordingContext.h +285 -0
- package/cpp/skia/include/gpu/GrTypes.h +244 -0
- package/cpp/skia/include/gpu/GrYUVABackendTextures.h +124 -0
- package/cpp/skia/include/gpu/MutableTextureState.h +68 -0
- package/cpp/skia/include/gpu/ShaderErrorHandler.h +46 -0
- package/cpp/skia/include/gpu/d3d/GrD3DBackendContext.h +35 -0
- package/cpp/skia/include/gpu/d3d/GrD3DTypes.h +248 -0
- package/cpp/skia/include/gpu/ganesh/GrExternalTextureGenerator.h +54 -0
- package/cpp/skia/include/gpu/ganesh/SkImageGanesh.h +361 -0
- package/cpp/skia/include/gpu/ganesh/SkMeshGanesh.h +57 -0
- package/cpp/skia/include/gpu/ganesh/SkSurfaceGanesh.h +218 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLBackendSurface.h +58 -0
- package/cpp/skia/include/gpu/ganesh/gl/GrGLDirectContext.h +30 -0
- package/cpp/skia/include/gpu/ganesh/mtl/SkSurfaceMetal.h +73 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrBackendDrawableInfo.h +46 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSemaphore.h +20 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSurface.h +67 -0
- package/cpp/skia/include/gpu/ganesh/vk/GrVkDirectContext.h +30 -0
- package/cpp/skia/include/gpu/gl/GrGLAssembleHelpers.h +15 -0
- package/cpp/skia/include/gpu/gl/GrGLAssembleInterface.h +44 -0
- package/cpp/skia/include/gpu/gl/GrGLConfig.h +79 -0
- package/cpp/skia/include/gpu/gl/GrGLConfig_chrome.h +14 -0
- package/cpp/skia/include/gpu/gl/GrGLExtensions.h +78 -0
- package/cpp/skia/include/gpu/gl/GrGLFunctions.h +307 -0
- package/cpp/skia/include/gpu/gl/GrGLInterface.h +338 -0
- package/cpp/skia/include/gpu/gl/GrGLTypes.h +219 -0
- package/cpp/skia/include/gpu/gl/egl/GrGLMakeEGLInterface.h +23 -0
- package/cpp/skia/include/gpu/gl/glx/GrGLMakeGLXInterface.h +23 -0
- package/cpp/skia/include/gpu/graphite/BackendSemaphore.h +78 -0
- package/cpp/skia/include/gpu/graphite/BackendTexture.h +164 -0
- package/cpp/skia/include/gpu/graphite/Context.h +281 -0
- package/cpp/skia/include/gpu/graphite/ContextOptions.h +102 -0
- package/cpp/skia/include/gpu/graphite/GraphiteTypes.h +129 -0
- package/cpp/skia/include/gpu/graphite/Image.h +352 -0
- package/cpp/skia/include/gpu/graphite/ImageProvider.h +68 -0
- package/cpp/skia/include/gpu/graphite/Recorder.h +251 -0
- package/cpp/skia/include/gpu/graphite/Recording.h +95 -0
- package/cpp/skia/include/gpu/graphite/Surface.h +86 -0
- package/cpp/skia/include/gpu/graphite/TextureInfo.h +168 -0
- package/cpp/skia/include/gpu/graphite/YUVABackendTextures.h +139 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnBackendContext.h +68 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnTypes.h +45 -0
- package/cpp/skia/include/gpu/graphite/dawn/DawnUtils.h +28 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlBackendContext.h +25 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteTypes.h +68 -0
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteUtils.h +27 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteTypes.h +64 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteUtils.h +28 -0
- package/cpp/skia/include/gpu/mock/GrMockTypes.h +163 -0
- package/cpp/skia/include/gpu/mtl/GrMtlBackendContext.h +21 -0
- package/cpp/skia/include/gpu/mtl/GrMtlTypes.h +63 -0
- package/cpp/skia/include/gpu/mtl/MtlMemoryAllocator.h +39 -0
- package/cpp/skia/include/gpu/vk/GrVkBackendContext.h +84 -0
- package/cpp/skia/include/gpu/vk/GrVkExtensions.h +15 -0
- package/cpp/skia/include/gpu/vk/GrVkMemoryAllocator.h +15 -0
- package/cpp/skia/include/gpu/vk/GrVkTypes.h +107 -0
- package/cpp/skia/include/gpu/vk/VulkanBackendContext.h +52 -0
- package/cpp/skia/include/gpu/vk/VulkanExtensions.h +67 -0
- package/cpp/skia/include/gpu/vk/VulkanMemoryAllocator.h +114 -0
- package/cpp/skia/include/gpu/vk/VulkanMutableTextureState.h +26 -0
- package/cpp/skia/include/gpu/vk/VulkanTypes.h +113 -0
- package/cpp/skia/include/pathops/SkPathOps.h +113 -0
- package/cpp/skia/include/ports/SkCFObject.h +180 -0
- package/cpp/skia/include/ports/SkFontConfigInterface.h +112 -0
- package/cpp/skia/include/ports/SkFontMgr_FontConfigInterface.h +20 -0
- package/cpp/skia/include/ports/SkFontMgr_android.h +45 -0
- package/cpp/skia/include/ports/SkFontMgr_data.h +22 -0
- package/cpp/skia/include/ports/SkFontMgr_directory.h +21 -0
- package/cpp/skia/include/ports/SkFontMgr_empty.h +21 -0
- package/cpp/skia/include/ports/SkFontMgr_fontconfig.h +22 -0
- package/cpp/skia/include/ports/SkFontMgr_fuchsia.h +19 -0
- package/cpp/skia/include/ports/SkFontMgr_indirect.h +102 -0
- package/cpp/skia/include/ports/SkFontMgr_mac_ct.h +27 -0
- package/cpp/skia/include/ports/SkImageGeneratorCG.h +26 -0
- package/cpp/skia/include/ports/SkImageGeneratorNDK.h +40 -0
- package/cpp/skia/include/ports/SkImageGeneratorWIC.h +41 -0
- package/cpp/skia/include/ports/SkRemotableFontMgr.h +139 -0
- package/cpp/skia/include/ports/SkTypeface_fontations.h +21 -0
- package/cpp/skia/include/ports/SkTypeface_mac.h +44 -0
- package/cpp/skia/include/ports/SkTypeface_win.h +80 -0
- package/cpp/skia/include/private/SkColorData.h +385 -0
- package/cpp/skia/include/private/SkEncodedInfo.h +277 -0
- package/cpp/skia/include/private/SkExif.h +102 -0
- package/cpp/skia/include/private/SkGainmapInfo.h +100 -0
- package/cpp/skia/include/private/SkGainmapShader.h +54 -0
- package/cpp/skia/include/private/SkIDChangeListener.h +76 -0
- package/cpp/skia/include/private/SkJpegGainmapEncoder.h +48 -0
- package/cpp/skia/include/private/SkJpegMetadataDecoder.h +79 -0
- package/cpp/skia/include/private/SkPathRef.h +537 -0
- package/cpp/skia/include/private/SkSLSampleUsage.h +85 -0
- package/cpp/skia/include/private/SkWeakRefCnt.h +173 -0
- package/cpp/skia/include/private/SkXmp.h +53 -0
- package/cpp/skia/include/private/base/README.md +4 -0
- package/cpp/skia/include/private/base/SingleOwner.h +75 -0
- package/cpp/skia/include/private/base/SkAPI.h +52 -0
- package/cpp/skia/include/private/base/SkAlign.h +39 -0
- package/cpp/skia/include/private/base/SkAlignedStorage.h +32 -0
- package/cpp/skia/include/private/base/SkAnySubclass.h +73 -0
- package/cpp/skia/include/private/base/SkAssert.h +202 -0
- package/cpp/skia/include/private/base/SkAttributes.h +90 -0
- package/cpp/skia/include/private/base/SkCPUTypes.h +25 -0
- package/cpp/skia/include/private/base/SkContainers.h +46 -0
- package/cpp/skia/include/private/base/SkDebug.h +27 -0
- package/cpp/skia/include/private/base/SkDeque.h +138 -0
- package/cpp/skia/include/private/base/SkFeatures.h +144 -0
- package/cpp/skia/include/private/base/SkFixed.h +143 -0
- package/cpp/skia/include/private/base/SkFloatBits.h +90 -0
- package/cpp/skia/include/private/base/SkFloatingPoint.h +198 -0
- package/cpp/skia/include/private/base/SkLoadUserConfig.h +63 -0
- package/cpp/skia/include/private/base/SkMacros.h +94 -0
- package/cpp/skia/include/private/base/SkMalloc.h +144 -0
- package/cpp/skia/include/private/base/SkMath.h +77 -0
- package/cpp/skia/include/private/base/SkMutex.h +64 -0
- package/cpp/skia/include/private/base/SkNoncopyable.h +30 -0
- package/cpp/skia/include/private/base/SkOnce.h +55 -0
- package/cpp/skia/include/private/base/SkPoint_impl.h +569 -0
- package/cpp/skia/include/private/base/SkSafe32.h +49 -0
- package/cpp/skia/include/private/base/SkSemaphore.h +84 -0
- package/cpp/skia/include/private/base/SkSpan_impl.h +131 -0
- package/cpp/skia/include/private/base/SkTArray.h +740 -0
- package/cpp/skia/include/private/base/SkTDArray.h +235 -0
- package/cpp/skia/include/private/base/SkTFitsIn.h +105 -0
- package/cpp/skia/include/private/base/SkTLogic.h +56 -0
- package/cpp/skia/include/private/base/SkTPin.h +23 -0
- package/cpp/skia/include/private/base/SkTemplates.h +446 -0
- package/cpp/skia/include/private/base/SkThreadAnnotations.h +104 -0
- package/cpp/skia/include/private/base/SkThreadID.h +23 -0
- package/cpp/skia/include/private/base/SkTo.h +39 -0
- package/cpp/skia/include/private/base/SkTypeTraits.h +33 -0
- package/cpp/skia/include/private/chromium/GrDeferredDisplayList.h +120 -0
- package/cpp/skia/include/private/chromium/GrDeferredDisplayListRecorder.h +101 -0
- package/cpp/skia/include/private/chromium/GrPromiseImageTexture.h +43 -0
- package/cpp/skia/include/private/chromium/GrSurfaceCharacterization.h +211 -0
- package/cpp/skia/include/private/chromium/GrVkSecondaryCBDrawContext.h +131 -0
- package/cpp/skia/include/private/chromium/SkChromeRemoteGlyphCache.h +153 -0
- package/cpp/skia/include/private/chromium/SkDiscardableMemory.h +70 -0
- package/cpp/skia/include/private/chromium/SkImageChromium.h +117 -0
- package/cpp/skia/include/private/chromium/Slug.h +78 -0
- package/cpp/skia/include/private/gpu/ganesh/GrContext_Base.h +104 -0
- package/cpp/skia/include/private/gpu/ganesh/GrD3DTypesMinimal.h +74 -0
- package/cpp/skia/include/private/gpu/ganesh/GrImageContext.h +56 -0
- package/cpp/skia/include/private/gpu/ganesh/GrTextureGenerator.h +66 -0
- package/cpp/skia/include/private/gpu/ganesh/GrTypesPriv.h +1029 -0
- package/cpp/skia/include/private/gpu/graphite/ContextOptionsPriv.h +69 -0
- package/cpp/skia/include/private/gpu/graphite/DawnTypesPriv.h +54 -0
- package/cpp/skia/include/private/gpu/graphite/MtlGraphiteTypesPriv.h +95 -0
- package/cpp/skia/include/private/gpu/graphite/VulkanGraphiteTypesPriv.h +83 -0
- package/cpp/skia/include/private/gpu/vk/SkiaVulkan.h +36 -0
- package/cpp/skia/include/sksl/SkSLDebugTrace.h +28 -0
- package/cpp/skia/include/sksl/SkSLVersion.h +27 -0
- package/cpp/skia/include/svg/SkSVGCanvas.h +42 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_platform.h +84 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std.h +312 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_decode.h +77 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std.h +446 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_decode.h +67 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codecs_common.h +36 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan.h +99 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_android.h +153 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_core.h +18448 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ios.h +48 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_macos.h +48 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_win32.h +342 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xcb.h +56 -0
- package/cpp/skia/include/utils/SkCamera.h +109 -0
- package/cpp/skia/include/utils/SkCanvasStateUtils.h +81 -0
- package/cpp/skia/include/utils/SkCustomTypeface.h +69 -0
- package/cpp/skia/include/utils/SkEventTracer.h +90 -0
- package/cpp/skia/include/utils/SkNWayCanvas.h +123 -0
- package/cpp/skia/include/utils/SkNoDrawCanvas.h +78 -0
- package/cpp/skia/include/utils/SkNullCanvas.h +22 -0
- package/cpp/skia/include/utils/SkOrderedFontMgr.h +66 -0
- package/cpp/skia/include/utils/SkPaintFilterCanvas.h +140 -0
- package/cpp/skia/include/utils/SkParse.h +37 -0
- package/cpp/skia/include/utils/SkParsePath.h +25 -0
- package/cpp/skia/include/utils/SkShadowUtils.h +102 -0
- package/cpp/skia/include/utils/SkTextUtils.h +43 -0
- package/cpp/skia/include/utils/SkTraceEventPhase.h +19 -0
- package/cpp/skia/include/utils/mac/SkCGUtils.h +90 -0
- package/cpp/skia/modules/skcms/skcms.h +10 -0
- package/cpp/skia/modules/skcms/src/Transform_inl.h +1555 -0
- package/cpp/skia/modules/skcms/src/skcms_Transform.h +161 -0
- package/cpp/skia/modules/skcms/src/skcms_internals.h +136 -0
- package/cpp/skia/modules/skcms/src/skcms_public.h +404 -0
- package/cpp/skia/modules/skparagraph/include/DartTypes.h +153 -0
- package/cpp/skia/modules/skparagraph/include/FontArguments.h +46 -0
- package/cpp/skia/modules/skparagraph/include/FontCollection.h +86 -0
- package/cpp/skia/modules/skparagraph/include/Metrics.h +98 -0
- package/cpp/skia/modules/skparagraph/include/Paragraph.h +289 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphBuilder.h +86 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphCache.h +67 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphPainter.h +63 -0
- package/cpp/skia/modules/skparagraph/include/ParagraphStyle.h +147 -0
- package/cpp/skia/modules/skparagraph/include/TextShadow.h +30 -0
- package/cpp/skia/modules/skparagraph/include/TextStyle.h +380 -0
- package/cpp/skia/modules/skparagraph/include/TypefaceFontProvider.h +81 -0
- package/cpp/skia/modules/skresources/include/SkResources.h +289 -0
- package/cpp/skia/modules/skunicode/include/SkUnicode.h +324 -0
- package/cpp/skia/modules/svg/include/SkSVGAttribute.h +113 -0
- package/cpp/skia/modules/svg/include/SkSVGAttributeParser.h +164 -0
- package/cpp/skia/modules/svg/include/SkSVGCircle.h +43 -0
- package/cpp/skia/modules/svg/include/SkSVGClipPath.h +35 -0
- package/cpp/skia/modules/svg/include/SkSVGContainer.h +36 -0
- package/cpp/skia/modules/svg/include/SkSVGDOM.h +103 -0
- package/cpp/skia/modules/svg/include/SkSVGDefs.h +23 -0
- package/cpp/skia/modules/svg/include/SkSVGEllipse.h +41 -0
- package/cpp/skia/modules/svg/include/SkSVGFe.h +85 -0
- package/cpp/skia/modules/svg/include/SkSVGFeBlend.h +45 -0
- package/cpp/skia/modules/svg/include/SkSVGFeColorMatrix.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGFeComposite.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGFeDisplacementMap.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGFeFlood.h +32 -0
- package/cpp/skia/modules/svg/include/SkSVGFeGaussianBlur.h +41 -0
- package/cpp/skia/modules/svg/include/SkSVGFeImage.h +35 -0
- package/cpp/skia/modules/svg/include/SkSVGFeLightSource.h +89 -0
- package/cpp/skia/modules/svg/include/SkSVGFeLighting.h +121 -0
- package/cpp/skia/modules/svg/include/SkSVGFeMorphology.h +47 -0
- package/cpp/skia/modules/svg/include/SkSVGFeOffset.h +35 -0
- package/cpp/skia/modules/svg/include/SkSVGFeTurbulence.h +40 -0
- package/cpp/skia/modules/svg/include/SkSVGFilter.h +39 -0
- package/cpp/skia/modules/svg/include/SkSVGFilterContext.h +69 -0
- package/cpp/skia/modules/svg/include/SkSVGG.h +23 -0
- package/cpp/skia/modules/svg/include/SkSVGGradient.h +48 -0
- package/cpp/skia/modules/svg/include/SkSVGHiddenContainer.h +23 -0
- package/cpp/skia/modules/svg/include/SkSVGIDMapper.h +19 -0
- package/cpp/skia/modules/svg/include/SkSVGImage.h +58 -0
- package/cpp/skia/modules/svg/include/SkSVGLine.h +42 -0
- package/cpp/skia/modules/svg/include/SkSVGLinearGradient.h +37 -0
- package/cpp/skia/modules/svg/include/SkSVGMask.h +43 -0
- package/cpp/skia/modules/svg/include/SkSVGNode.h +223 -0
- package/cpp/skia/modules/svg/include/SkSVGOpenTypeSVGDecoder.h +32 -0
- package/cpp/skia/modules/svg/include/SkSVGPath.h +36 -0
- package/cpp/skia/modules/svg/include/SkSVGPattern.h +55 -0
- package/cpp/skia/modules/svg/include/SkSVGPoly.h +45 -0
- package/cpp/skia/modules/svg/include/SkSVGRadialGradient.h +38 -0
- package/cpp/skia/modules/svg/include/SkSVGRect.h +46 -0
- package/cpp/skia/modules/svg/include/SkSVGRenderContext.h +191 -0
- package/cpp/skia/modules/svg/include/SkSVGSVG.h +54 -0
- package/cpp/skia/modules/svg/include/SkSVGShape.h +33 -0
- package/cpp/skia/modules/svg/include/SkSVGStop.h +34 -0
- package/cpp/skia/modules/svg/include/SkSVGText.h +122 -0
- package/cpp/skia/modules/svg/include/SkSVGTransformableNode.h +36 -0
- package/cpp/skia/modules/svg/include/SkSVGTypes.h +731 -0
- package/cpp/skia/modules/svg/include/SkSVGUse.h +42 -0
- package/cpp/skia/modules/svg/include/SkSVGValue.h +85 -0
- package/cpp/skia/src/base/SkTInternalLList.h +304 -0
- package/cpp/skia/src/base/SkUTF.h +102 -0
- package/cpp/skia/src/core/SkChecksum.h +118 -0
- package/cpp/skia/src/core/SkLRUCache.h +130 -0
- package/cpp/skia/src/core/SkPathEnums.h +25 -0
- package/cpp/skia/src/core/SkPathPriv.h +540 -0
- package/cpp/skia/src/core/SkTHash.h +617 -0
- package/cpp/skia/src/gpu/ganesh/gl/GrGLDefines.h +1158 -0
- package/cpp/utils/RNSkLog.h +82 -0
- package/cpp/utils/RNSkMeasureTime.h +32 -0
- package/cpp/utils/RNSkTimingInfo.h +107 -0
- package/cpp/utils/RNSkTypedArray.h +41 -0
- package/ios/RNSkia-iOS/DisplayLink.h +17 -0
- package/ios/RNSkia-iOS/DisplayLink.mm +34 -0
- package/ios/RNSkia-iOS/RNSkMetalCanvasProvider.h +39 -0
- package/ios/RNSkia-iOS/RNSkMetalCanvasProvider.mm +114 -0
- package/ios/RNSkia-iOS/RNSkiOSPlatformContext.h +94 -0
- package/ios/RNSkia-iOS/RNSkiOSPlatformContext.mm +198 -0
- package/ios/RNSkia-iOS/RNSkiOSVideo.h +51 -0
- package/ios/RNSkia-iOS/RNSkiOSVideo.mm +137 -0
- package/ios/RNSkia-iOS/RNSkiOSView.h +37 -0
- package/ios/RNSkia-iOS/RNSkiOSView.mm +37 -0
- package/ios/RNSkia-iOS/SkiaCVPixelBufferUtils.h +119 -0
- package/ios/RNSkia-iOS/SkiaCVPixelBufferUtils.mm +332 -0
- package/ios/RNSkia-iOS/SkiaDomView.h +7 -0
- package/ios/RNSkia-iOS/SkiaDomView.mm +64 -0
- package/ios/RNSkia-iOS/SkiaDomViewManager.h +8 -0
- package/ios/RNSkia-iOS/SkiaDomViewManager.mm +51 -0
- package/ios/RNSkia-iOS/SkiaManager.h +19 -0
- package/ios/RNSkia-iOS/SkiaManager.mm +48 -0
- package/ios/RNSkia-iOS/SkiaMetalSurfaceFactory.h +36 -0
- package/ios/RNSkia-iOS/SkiaMetalSurfaceFactory.mm +138 -0
- package/ios/RNSkia-iOS/SkiaPictureView.h +7 -0
- package/ios/RNSkia-iOS/SkiaPictureView.mm +66 -0
- package/ios/RNSkia-iOS/SkiaPictureViewManager.h +8 -0
- package/ios/RNSkia-iOS/SkiaPictureViewManager.mm +51 -0
- package/ios/RNSkia-iOS/SkiaUIView.h +40 -0
- package/ios/RNSkia-iOS/SkiaUIView.mm +231 -0
- package/ios/RNSkia-iOS/ViewScreenshotService.h +21 -0
- package/ios/RNSkia-iOS/ViewScreenshotService.mm +92 -0
- package/ios/RNSkiaModule.h +20 -0
- package/ios/RNSkiaModule.mm +53 -0
- package/ios/Rnskia.xcodeproj/project.pbxproj +281 -0
- package/ios/Rnskia.xcworkspace/contents.xcworkspacedata +7 -0
- package/jestEnv.mjs +23 -0
- package/jestSetup.js +18 -0
- package/jestSetup.mjs +22 -0
- package/lib/commonjs/Platform/IPlatform.d.ts +10 -0
- package/lib/commonjs/Platform/IPlatform.js +6 -0
- package/lib/commonjs/Platform/IPlatform.js.map +1 -0
- package/lib/commonjs/Platform/Platform.d.ts +2 -0
- package/lib/commonjs/Platform/Platform.js +18 -0
- package/lib/commonjs/Platform/Platform.js.map +1 -0
- package/lib/commonjs/Platform/Platform.web.d.ts +2 -0
- package/lib/commonjs/Platform/Platform.web.js +154 -0
- package/lib/commonjs/Platform/Platform.web.js.map +1 -0
- package/lib/commonjs/Platform/index.d.ts +1 -0
- package/lib/commonjs/Platform/index.js +17 -0
- package/lib/commonjs/Platform/index.js.map +1 -0
- package/lib/commonjs/animation/functions/index.d.ts +4 -0
- package/lib/commonjs/animation/functions/index.js +50 -0
- package/lib/commonjs/animation/functions/index.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolate.d.ts +17 -0
- package/lib/commonjs/animation/functions/interpolate.js +132 -0
- package/lib/commonjs/animation/functions/interpolate.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/commonjs/animation/functions/interpolateColors.js +35 -0
- package/lib/commonjs/animation/functions/interpolateColors.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolatePaths.d.ts +19 -0
- package/lib/commonjs/animation/functions/interpolatePaths.js +68 -0
- package/lib/commonjs/animation/functions/interpolatePaths.js.map +1 -0
- package/lib/commonjs/animation/functions/interpolateVector.d.ts +10 -0
- package/lib/commonjs/animation/functions/interpolateVector.js +23 -0
- package/lib/commonjs/animation/functions/interpolateVector.js.map +1 -0
- package/lib/commonjs/animation/index.d.ts +1 -0
- package/lib/commonjs/animation/index.js +17 -0
- package/lib/commonjs/animation/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/DrawingNode.d.ts +14 -0
- package/lib/commonjs/dom/nodes/DrawingNode.js +69 -0
- package/lib/commonjs/dom/nodes/DrawingNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/GroupNode.d.ts +7 -0
- package/lib/commonjs/dom/nodes/GroupNode.js +22 -0
- package/lib/commonjs/dom/nodes/GroupNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/JsiSkDOM.d.ts +68 -0
- package/lib/commonjs/dom/nodes/JsiSkDOM.js +208 -0
- package/lib/commonjs/dom/nodes/JsiSkDOM.js.map +1 -0
- package/lib/commonjs/dom/nodes/LayerNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/LayerNode.js +39 -0
- package/lib/commonjs/dom/nodes/LayerNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/Node.d.ts +34 -0
- package/lib/commonjs/dom/nodes/Node.js +102 -0
- package/lib/commonjs/dom/nodes/Node.js.map +1 -0
- package/lib/commonjs/dom/nodes/PaintNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/PaintNode.js +90 -0
- package/lib/commonjs/dom/nodes/PaintNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/RenderNode.d.ts +26 -0
- package/lib/commonjs/dom/nodes/RenderNode.js +132 -0
- package/lib/commonjs/dom/nodes/RenderNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.d.ts +7 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.js +29 -0
- package/lib/commonjs/dom/nodes/datatypes/Circle.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Enum.js +9 -0
- package/lib/commonjs/dom/nodes/datatypes/Enum.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Fitting.d.ts +33 -0
- package/lib/commonjs/dom/nodes/datatypes/Fitting.js +141 -0
- package/lib/commonjs/dom/nodes/datatypes/Fitting.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Gradient.d.ts +252 -0
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js +54 -0
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Path.d.ts +4 -0
- package/lib/commonjs/dom/nodes/datatypes/Path.js +20 -0
- package/lib/commonjs/dom/nodes/datatypes/Path.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Radius.d.ts +3 -0
- package/lib/commonjs/dom/nodes/datatypes/Radius.js +14 -0
- package/lib/commonjs/dom/nodes/datatypes/Radius.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.d.ts +5 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.js +40 -0
- package/lib/commonjs/dom/nodes/datatypes/Rect.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.d.ts +3 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.js +33 -0
- package/lib/commonjs/dom/nodes/datatypes/Transform.js.map +1 -0
- package/lib/commonjs/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/commonjs/dom/nodes/datatypes/index.js +94 -0
- package/lib/commonjs/dom/nodes/datatypes/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.js +36 -0
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.js +42 -0
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/commonjs/dom/nodes/drawings/Box.js +82 -0
- package/lib/commonjs/dom/nodes/drawings/Box.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/CircleNode.js +32 -0
- package/lib/commonjs/dom/nodes/drawings/CircleNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/FillNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/FillNode.js +24 -0
- package/lib/commonjs/dom/nodes/drawings/FillNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/ImageNode.d.ts +25 -0
- package/lib/commonjs/dom/nodes/drawings/ImageNode.js +71 -0
- package/lib/commonjs/dom/nodes/drawings/ImageNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.d.ts +13 -0
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.js +57 -0
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/LineNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/LineNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/LineNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/OvalNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/OvalNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.js +32 -0
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PatchNode.d.ts +18 -0
- package/lib/commonjs/dom/nodes/drawings/PatchNode.js +53 -0
- package/lib/commonjs/dom/nodes/drawings/PatchNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/PathNode.js +55 -0
- package/lib/commonjs/dom/nodes/drawings/PathNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/PictureNode.js +26 -0
- package/lib/commonjs/dom/nodes/drawings/PictureNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/PointsNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/drawings/PointsNode.js +30 -0
- package/lib/commonjs/dom/nodes/drawings/PointsNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js +32 -0
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/RectNode.js +28 -0
- package/lib/commonjs/dom/nodes/drawings/RectNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/Text.d.ts +30 -0
- package/lib/commonjs/dom/nodes/drawings/Text.js +159 -0
- package/lib/commonjs/dom/nodes/drawings/Text.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.js +43 -0
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/commonjs/dom/nodes/drawings/index.js +204 -0
- package/lib/commonjs/dom/nodes/drawings/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/index.d.ts +3 -0
- package/lib/commonjs/dom/nodes/index.js +39 -0
- package/lib/commonjs/dom/nodes/index.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/BlendNode.d.ts +8 -0
- package/lib/commonjs/dom/nodes/paint/BlendNode.js +37 -0
- package/lib/commonjs/dom/nodes/paint/BlendNode.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/ColorFilters.d.ts +35 -0
- package/lib/commonjs/dom/nodes/paint/ColorFilters.js +102 -0
- package/lib/commonjs/dom/nodes/paint/ColorFilters.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/ImageFilters.d.ts +42 -0
- package/lib/commonjs/dom/nodes/paint/ImageFilters.js +183 -0
- package/lib/commonjs/dom/nodes/paint/ImageFilters.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/MaskFilters.d.ts +8 -0
- package/lib/commonjs/dom/nodes/paint/MaskFilters.js +26 -0
- package/lib/commonjs/dom/nodes/paint/MaskFilters.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/PathEffects.d.ts +39 -0
- package/lib/commonjs/dom/nodes/paint/PathEffects.js +136 -0
- package/lib/commonjs/dom/nodes/paint/PathEffects.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/Shaders.d.ts +43 -0
- package/lib/commonjs/dom/nodes/paint/Shaders.js +209 -0
- package/lib/commonjs/dom/nodes/paint/Shaders.js.map +1 -0
- package/lib/commonjs/dom/nodes/paint/index.d.ts +6 -0
- package/lib/commonjs/dom/nodes/paint/index.js +72 -0
- package/lib/commonjs/dom/nodes/paint/index.js.map +1 -0
- package/lib/commonjs/dom/types/ColorFilters.d.ts +12 -0
- package/lib/commonjs/dom/types/ColorFilters.js +6 -0
- package/lib/commonjs/dom/types/ColorFilters.js.map +1 -0
- package/lib/commonjs/dom/types/Common.d.ts +57 -0
- package/lib/commonjs/dom/types/Common.js +6 -0
- package/lib/commonjs/dom/types/Common.js.map +1 -0
- package/lib/commonjs/dom/types/DeclarationContext.d.ts +29 -0
- package/lib/commonjs/dom/types/DeclarationContext.js +91 -0
- package/lib/commonjs/dom/types/DeclarationContext.js.map +1 -0
- package/lib/commonjs/dom/types/DrawingContext.d.ts +22 -0
- package/lib/commonjs/dom/types/DrawingContext.js +263 -0
- package/lib/commonjs/dom/types/DrawingContext.js.map +1 -0
- package/lib/commonjs/dom/types/Drawings.d.ts +111 -0
- package/lib/commonjs/dom/types/Drawings.js +6 -0
- package/lib/commonjs/dom/types/Drawings.js.map +1 -0
- package/lib/commonjs/dom/types/ImageFilters.d.ts +37 -0
- package/lib/commonjs/dom/types/ImageFilters.js +6 -0
- package/lib/commonjs/dom/types/ImageFilters.js.map +1 -0
- package/lib/commonjs/dom/types/MaskFilters.d.ts +7 -0
- package/lib/commonjs/dom/types/MaskFilters.js +6 -0
- package/lib/commonjs/dom/types/MaskFilters.js.map +1 -0
- package/lib/commonjs/dom/types/Node.d.ts +22 -0
- package/lib/commonjs/dom/types/Node.js +6 -0
- package/lib/commonjs/dom/types/Node.js.map +1 -0
- package/lib/commonjs/dom/types/NodeType.d.ts +59 -0
- package/lib/commonjs/dom/types/NodeType.js +67 -0
- package/lib/commonjs/dom/types/NodeType.js.map +1 -0
- package/lib/commonjs/dom/types/Paragraph.d.ts +8 -0
- package/lib/commonjs/dom/types/Paragraph.js +6 -0
- package/lib/commonjs/dom/types/Paragraph.js.map +1 -0
- package/lib/commonjs/dom/types/PathEffects.d.ts +28 -0
- package/lib/commonjs/dom/types/PathEffects.js +6 -0
- package/lib/commonjs/dom/types/PathEffects.js.map +1 -0
- package/lib/commonjs/dom/types/Shaders.d.ts +59 -0
- package/lib/commonjs/dom/types/Shaders.js +6 -0
- package/lib/commonjs/dom/types/Shaders.js.map +1 -0
- package/lib/commonjs/dom/types/SkDOM.d.ts +73 -0
- package/lib/commonjs/dom/types/SkDOM.js +6 -0
- package/lib/commonjs/dom/types/SkDOM.js.map +1 -0
- package/lib/commonjs/dom/types/index.d.ts +13 -0
- package/lib/commonjs/dom/types/index.js +149 -0
- package/lib/commonjs/dom/types/index.js.map +1 -0
- package/lib/commonjs/external/ModuleProxy.d.ts +10 -0
- package/lib/commonjs/external/ModuleProxy.js +36 -0
- package/lib/commonjs/external/ModuleProxy.js.map +1 -0
- package/lib/commonjs/external/index.d.ts +1 -0
- package/lib/commonjs/external/index.js +17 -0
- package/lib/commonjs/external/index.js.map +1 -0
- package/lib/commonjs/external/reanimated/ReanimatedProxy.d.ts +3 -0
- package/lib/commonjs/external/reanimated/ReanimatedProxy.js +18 -0
- package/lib/commonjs/external/reanimated/ReanimatedProxy.js.map +1 -0
- package/lib/commonjs/external/reanimated/buffers.d.ts +7 -0
- package/lib/commonjs/external/reanimated/buffers.js +51 -0
- package/lib/commonjs/external/reanimated/buffers.js.map +1 -0
- package/lib/commonjs/external/reanimated/index.d.ts +7 -0
- package/lib/commonjs/external/reanimated/index.js +83 -0
- package/lib/commonjs/external/reanimated/index.js.map +1 -0
- package/lib/commonjs/external/reanimated/interpolators.d.ts +10 -0
- package/lib/commonjs/external/reanimated/interpolators.js +75 -0
- package/lib/commonjs/external/reanimated/interpolators.js.map +1 -0
- package/lib/commonjs/external/reanimated/renderHelpers.d.ts +6 -0
- package/lib/commonjs/external/reanimated/renderHelpers.js +127 -0
- package/lib/commonjs/external/reanimated/renderHelpers.js.map +1 -0
- package/lib/commonjs/external/reanimated/textures.d.ts +8 -0
- package/lib/commonjs/external/reanimated/textures.js +85 -0
- package/lib/commonjs/external/reanimated/textures.js.map +1 -0
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.d.ts +3 -0
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js +59 -0
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js.map +1 -0
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.d.ts +1 -0
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js +24 -0
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js.map +1 -0
- package/lib/commonjs/external/reanimated/useVideo.d.ts +21 -0
- package/lib/commonjs/external/reanimated/useVideo.js +148 -0
- package/lib/commonjs/external/reanimated/useVideo.js.map +1 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.d.ts +4 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.js +31 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.js.map +1 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.web.d.ts +4 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.web.js +20 -0
- package/lib/commonjs/external/reanimated/useVideoLoading.web.js.map +1 -0
- package/lib/commonjs/headless/index.d.ts +8 -0
- package/lib/commonjs/headless/index.js +62 -0
- package/lib/commonjs/headless/index.js.map +1 -0
- package/lib/commonjs/index.d.ts +11 -0
- package/lib/commonjs/index.js +125 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/mock/index.d.ts +2 -0
- package/lib/commonjs/mock/index.js +59 -0
- package/lib/commonjs/mock/index.js.map +1 -0
- package/lib/commonjs/renderer/Canvas.d.ts +11 -0
- package/lib/commonjs/renderer/Canvas.js +116 -0
- package/lib/commonjs/renderer/Canvas.js.map +1 -0
- package/lib/commonjs/renderer/Container.d.ts +11 -0
- package/lib/commonjs/renderer/Container.js +30 -0
- package/lib/commonjs/renderer/Container.js.map +1 -0
- package/lib/commonjs/renderer/DrawingContext.d.ts +7 -0
- package/lib/commonjs/renderer/DrawingContext.js +6 -0
- package/lib/commonjs/renderer/DrawingContext.js.map +1 -0
- package/lib/commonjs/renderer/HostComponents.d.ts +132 -0
- package/lib/commonjs/renderer/HostComponents.js +144 -0
- package/lib/commonjs/renderer/HostComponents.js.map +1 -0
- package/lib/commonjs/renderer/HostConfig.d.ts +19 -0
- package/lib/commonjs/renderer/HostConfig.js +149 -0
- package/lib/commonjs/renderer/HostConfig.js.map +1 -0
- package/lib/commonjs/renderer/Offscreen.d.ts +6 -0
- package/lib/commonjs/renderer/Offscreen.js +50 -0
- package/lib/commonjs/renderer/Offscreen.js.map +1 -0
- package/lib/commonjs/renderer/Reconciler.d.ts +10 -0
- package/lib/commonjs/renderer/Reconciler.js +43 -0
- package/lib/commonjs/renderer/Reconciler.js.map +1 -0
- package/lib/commonjs/renderer/components/Blend.d.ts +4 -0
- package/lib/commonjs/renderer/components/Blend.js +13 -0
- package/lib/commonjs/renderer/components/Blend.js.map +1 -0
- package/lib/commonjs/renderer/components/Group.d.ts +8 -0
- package/lib/commonjs/renderer/components/Group.js +23 -0
- package/lib/commonjs/renderer/components/Group.js.map +1 -0
- package/lib/commonjs/renderer/components/Mask.d.ts +10 -0
- package/lib/commonjs/renderer/components/Mask.js +33 -0
- package/lib/commonjs/renderer/components/Mask.js.map +1 -0
- package/lib/commonjs/renderer/components/Paint.d.ts +4 -0
- package/lib/commonjs/renderer/components/Paint.js +13 -0
- package/lib/commonjs/renderer/components/Paint.js.map +1 -0
- package/lib/commonjs/renderer/components/Picture.d.ts +4 -0
- package/lib/commonjs/renderer/components/Picture.js +13 -0
- package/lib/commonjs/renderer/components/Picture.js.map +1 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.d.ts +9 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js +25 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js.map +1 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.d.ts +8 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js +18 -0
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js.map +1 -0
- package/lib/commonjs/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/commonjs/renderer/components/backdrop/index.js +28 -0
- package/lib/commonjs/renderer/components/backdrop/index.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/Lerp.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/Matrix.d.ts +5 -0
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js +15 -0
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +4 -0
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js +13 -0
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js.map +1 -0
- package/lib/commonjs/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/commonjs/renderer/components/colorFilters/index.js +72 -0
- package/lib/commonjs/renderer/components/colorFilters/index.js.map +1 -0
- package/lib/commonjs/renderer/components/image/Image.d.ts +4 -0
- package/lib/commonjs/renderer/components/image/Image.js +13 -0
- package/lib/commonjs/renderer/components/image/Image.js.map +1 -0
- package/lib/commonjs/renderer/components/image/ImageSVG.d.ts +4 -0
- package/lib/commonjs/renderer/components/image/ImageSVG.js +13 -0
- package/lib/commonjs/renderer/components/image/ImageSVG.js.map +1 -0
- package/lib/commonjs/renderer/components/image/ImageShader.d.ts +4 -0
- package/lib/commonjs/renderer/components/image/ImageShader.js +29 -0
- package/lib/commonjs/renderer/components/image/ImageShader.js.map +1 -0
- package/lib/commonjs/renderer/components/image/index.d.ts +3 -0
- package/lib/commonjs/renderer/components/image/index.js +39 -0
- package/lib/commonjs/renderer/components/image/index.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Blur.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Blur.js +19 -0
- package/lib/commonjs/renderer/components/imageFilters/Blur.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js +13 -0
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Morphology.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js +19 -0
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Offset.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Offset.js +21 -0
- package/lib/commonjs/renderer/components/imageFilters/Offset.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js +13 -0
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/Shadow.d.ts +4 -0
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js +13 -0
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js.map +1 -0
- package/lib/commonjs/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/commonjs/renderer/components/imageFilters/index.js +72 -0
- package/lib/commonjs/renderer/components/imageFilters/index.js.map +1 -0
- package/lib/commonjs/renderer/components/index.d.ts +16 -0
- package/lib/commonjs/renderer/components/index.js +182 -0
- package/lib/commonjs/renderer/components/index.js.map +1 -0
- package/lib/commonjs/renderer/components/maskFilters/Blur.d.ts +4 -0
- package/lib/commonjs/renderer/components/maskFilters/Blur.js +21 -0
- package/lib/commonjs/renderer/components/maskFilters/Blur.js.map +1 -0
- package/lib/commonjs/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/commonjs/renderer/components/maskFilters/index.js +17 -0
- package/lib/commonjs/renderer/components/maskFilters/index.js.map +1 -0
- package/lib/commonjs/renderer/components/paragraph/Paragraph.d.ts +4 -0
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js +13 -0
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js.map +1 -0
- package/lib/commonjs/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/commonjs/renderer/components/paragraph/index.js +17 -0
- package/lib/commonjs/renderer/components/paragraph/index.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Corner.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Corner.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Corner.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Dash.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Dash.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Dash.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Discrete.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js +19 -0
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Line2D.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Path1D.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Path2D.d.ts +4 -0
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/Sum.d.ts +3 -0
- package/lib/commonjs/renderer/components/pathEffects/Sum.js +13 -0
- package/lib/commonjs/renderer/components/pathEffects/Sum.js.map +1 -0
- package/lib/commonjs/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/commonjs/renderer/components/pathEffects/index.js +83 -0
- package/lib/commonjs/renderer/components/pathEffects/index.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/Color.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/Color.js +13 -0
- package/lib/commonjs/renderer/components/shaders/Color.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/FractalNoise.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js +23 -0
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/LinearGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/RadialGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/Shader.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/Shader.js +19 -0
- package/lib/commonjs/renderer/components/shaders/Shader.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/ShaderLib.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/ShaderLib.js +51 -0
- package/lib/commonjs/renderer/components/shaders/ShaderLib.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/SweepGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/Turbulence.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/Turbulence.js +23 -0
- package/lib/commonjs/renderer/components/shaders/Turbulence.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.d.ts +4 -0
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js +13 -0
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js.map +1 -0
- package/lib/commonjs/renderer/components/shaders/index.d.ts +9 -0
- package/lib/commonjs/renderer/components/shaders/index.js +105 -0
- package/lib/commonjs/renderer/components/shaders/index.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Atlas.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Atlas.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Atlas.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Box.d.ts +5 -0
- package/lib/commonjs/renderer/components/shapes/Box.js +17 -0
- package/lib/commonjs/renderer/components/shapes/Box.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Circle.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Circle.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Circle.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/DiffRect.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/DiffRect.js +13 -0
- package/lib/commonjs/renderer/components/shapes/DiffRect.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Fill.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Fill.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Fill.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/FitBox.d.ts +13 -0
- package/lib/commonjs/renderer/components/shapes/FitBox.js +58 -0
- package/lib/commonjs/renderer/components/shapes/FitBox.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Line.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Line.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Line.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Oval.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Oval.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Oval.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Patch.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Patch.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Patch.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Path.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Path.js +21 -0
- package/lib/commonjs/renderer/components/shapes/Path.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Points.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Points.js +19 -0
- package/lib/commonjs/renderer/components/shapes/Points.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Rect.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Rect.js +13 -0
- package/lib/commonjs/renderer/components/shapes/Rect.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/RoundedRect.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js +13 -0
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/Vertices.d.ts +4 -0
- package/lib/commonjs/renderer/components/shapes/Vertices.js +19 -0
- package/lib/commonjs/renderer/components/shapes/Vertices.js.map +1 -0
- package/lib/commonjs/renderer/components/shapes/index.d.ts +14 -0
- package/lib/commonjs/renderer/components/shapes/index.js +160 -0
- package/lib/commonjs/renderer/components/shapes/index.js.map +1 -0
- package/lib/commonjs/renderer/components/text/Glyphs.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/Glyphs.js +21 -0
- package/lib/commonjs/renderer/components/text/Glyphs.js.map +1 -0
- package/lib/commonjs/renderer/components/text/Text.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/Text.js +21 -0
- package/lib/commonjs/renderer/components/text/Text.js.map +1 -0
- package/lib/commonjs/renderer/components/text/TextBlob.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/TextBlob.js +21 -0
- package/lib/commonjs/renderer/components/text/TextBlob.js.map +1 -0
- package/lib/commonjs/renderer/components/text/TextPath.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/TextPath.js +19 -0
- package/lib/commonjs/renderer/components/text/TextPath.js.map +1 -0
- package/lib/commonjs/renderer/components/text/index.d.ts +4 -0
- package/lib/commonjs/renderer/components/text/index.js +50 -0
- package/lib/commonjs/renderer/components/text/index.js.map +1 -0
- package/lib/commonjs/renderer/index.d.ts +1 -0
- package/lib/commonjs/renderer/index.js +17 -0
- package/lib/commonjs/renderer/index.js.map +1 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.d.ts +13 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.js +2 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.js.map +1 -0
- package/lib/commonjs/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/commonjs/renderer/processors/Animations/index.js +17 -0
- package/lib/commonjs/renderer/processors/Animations/index.js.map +1 -0
- package/lib/commonjs/renderer/processors/index.d.ts +2 -0
- package/lib/commonjs/renderer/processors/index.js +28 -0
- package/lib/commonjs/renderer/processors/index.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/Coordinates.d.ts +29 -0
- package/lib/commonjs/renderer/processors/math/Coordinates.js +55 -0
- package/lib/commonjs/renderer/processors/math/Coordinates.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/Math.d.ts +16 -0
- package/lib/commonjs/renderer/processors/math/Math.js +39 -0
- package/lib/commonjs/renderer/processors/math/Math.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/commonjs/renderer/processors/math/Transforms.js +21 -0
- package/lib/commonjs/renderer/processors/math/Transforms.js.map +1 -0
- package/lib/commonjs/renderer/processors/math/index.d.ts +3 -0
- package/lib/commonjs/renderer/processors/math/index.js +39 -0
- package/lib/commonjs/renderer/processors/math/index.js.map +1 -0
- package/lib/commonjs/renderer/typeddash.d.ts +3 -0
- package/lib/commonjs/renderer/typeddash.js +34 -0
- package/lib/commonjs/renderer/typeddash.js.map +1 -0
- package/lib/commonjs/skia/NativeSetup.d.ts +1 -0
- package/lib/commonjs/skia/NativeSetup.js +17 -0
- package/lib/commonjs/skia/NativeSetup.js.map +1 -0
- package/lib/commonjs/skia/Skia.d.ts +8 -0
- package/lib/commonjs/skia/Skia.js +14 -0
- package/lib/commonjs/skia/Skia.js.map +1 -0
- package/lib/commonjs/skia/Skia.web.d.ts +1 -0
- package/lib/commonjs/skia/Skia.web.js +9 -0
- package/lib/commonjs/skia/Skia.web.js.map +1 -0
- package/lib/commonjs/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/commonjs/skia/core/AnimatedImage.js +16 -0
- package/lib/commonjs/skia/core/AnimatedImage.js.map +1 -0
- package/lib/commonjs/skia/core/Data.d.ts +5 -0
- package/lib/commonjs/skia/core/Data.js +82 -0
- package/lib/commonjs/skia/core/Data.js.map +1 -0
- package/lib/commonjs/skia/core/Font.d.ts +18 -0
- package/lib/commonjs/skia/core/Font.js +100 -0
- package/lib/commonjs/skia/core/Font.js.map +1 -0
- package/lib/commonjs/skia/core/Image.d.ts +17 -0
- package/lib/commonjs/skia/core/Image.js +44 -0
- package/lib/commonjs/skia/core/Image.js.map +1 -0
- package/lib/commonjs/skia/core/Matrix.d.ts +2 -0
- package/lib/commonjs/skia/core/Matrix.js +15 -0
- package/lib/commonjs/skia/core/Matrix.js.map +1 -0
- package/lib/commonjs/skia/core/Picture.d.ts +8 -0
- package/lib/commonjs/skia/core/Picture.js +28 -0
- package/lib/commonjs/skia/core/Picture.js.map +1 -0
- package/lib/commonjs/skia/core/RRect.d.ts +2 -0
- package/lib/commonjs/skia/core/RRect.js +14 -0
- package/lib/commonjs/skia/core/RRect.js.map +1 -0
- package/lib/commonjs/skia/core/Rect.d.ts +8 -0
- package/lib/commonjs/skia/core/Rect.js +56 -0
- package/lib/commonjs/skia/core/Rect.js.map +1 -0
- package/lib/commonjs/skia/core/SVG.d.ts +2 -0
- package/lib/commonjs/skia/core/SVG.js +12 -0
- package/lib/commonjs/skia/core/SVG.js.map +1 -0
- package/lib/commonjs/skia/core/SVG.web.d.ts +2 -0
- package/lib/commonjs/skia/core/SVG.web.js +22 -0
- package/lib/commonjs/skia/core/SVG.web.js.map +1 -0
- package/lib/commonjs/skia/core/Typeface.d.ts +5 -0
- package/lib/commonjs/skia/core/Typeface.js +16 -0
- package/lib/commonjs/skia/core/Typeface.js.map +1 -0
- package/lib/commonjs/skia/core/Vector.d.ts +7 -0
- package/lib/commonjs/skia/core/Vector.js +39 -0
- package/lib/commonjs/skia/core/Vector.js.map +1 -0
- package/lib/commonjs/skia/core/index.d.ts +11 -0
- package/lib/commonjs/skia/core/index.js +127 -0
- package/lib/commonjs/skia/core/index.js.map +1 -0
- package/lib/commonjs/skia/index.d.ts +3 -0
- package/lib/commonjs/skia/index.js +40 -0
- package/lib/commonjs/skia/index.js.map +1 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.d.ts +24 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.js +6 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.js.map +1 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +13 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.js +6 -0
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.js.map +1 -0
- package/lib/commonjs/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/commonjs/skia/types/AnimatedImage/index.js +28 -0
- package/lib/commonjs/skia/types/AnimatedImage/index.js.map +1 -0
- package/lib/commonjs/skia/types/Canvas.d.ts +404 -0
- package/lib/commonjs/skia/types/Canvas.js +17 -0
- package/lib/commonjs/skia/types/Canvas.js.map +1 -0
- package/lib/commonjs/skia/types/Color.d.ts +2 -0
- package/lib/commonjs/skia/types/Color.js +2 -0
- package/lib/commonjs/skia/types/Color.js.map +1 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.d.ts +3 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.js +9 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.js.map +1 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.d.ts +43 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.js +6 -0
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/commonjs/skia/types/ColorFilter/index.js +28 -0
- package/lib/commonjs/skia/types/ColorFilter/index.js.map +1 -0
- package/lib/commonjs/skia/types/ContourMeasure.d.ts +41 -0
- package/lib/commonjs/skia/types/ContourMeasure.js +6 -0
- package/lib/commonjs/skia/types/ContourMeasure.js.map +1 -0
- package/lib/commonjs/skia/types/Data/Data.d.ts +12 -0
- package/lib/commonjs/skia/types/Data/Data.js +9 -0
- package/lib/commonjs/skia/types/Data/Data.js.map +1 -0
- package/lib/commonjs/skia/types/Data/DataFactory.d.ts +18 -0
- package/lib/commonjs/skia/types/Data/DataFactory.js +6 -0
- package/lib/commonjs/skia/types/Data/DataFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Data/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Data/index.js +28 -0
- package/lib/commonjs/skia/types/Data/index.js.map +1 -0
- package/lib/commonjs/skia/types/Font/Font.d.ts +189 -0
- package/lib/commonjs/skia/types/Font/Font.js +63 -0
- package/lib/commonjs/skia/types/Font/Font.js.map +1 -0
- package/lib/commonjs/skia/types/Font/FontMgr.d.ts +8 -0
- package/lib/commonjs/skia/types/Font/FontMgr.js +6 -0
- package/lib/commonjs/skia/types/Font/FontMgr.js.map +1 -0
- package/lib/commonjs/skia/types/Font/FontMgrFactory.d.ts +4 -0
- package/lib/commonjs/skia/types/Font/FontMgrFactory.js +6 -0
- package/lib/commonjs/skia/types/Font/FontMgrFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Font/index.d.ts +3 -0
- package/lib/commonjs/skia/types/Font/index.js +39 -0
- package/lib/commonjs/skia/types/Font/index.js.map +1 -0
- package/lib/commonjs/skia/types/Image/Image.d.ts +102 -0
- package/lib/commonjs/skia/types/Image/Image.js +24 -0
- package/lib/commonjs/skia/types/Image/Image.js.map +1 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.d.ts +80 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.js +34 -0
- package/lib/commonjs/skia/types/Image/ImageFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Image/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Image/index.js +28 -0
- package/lib/commonjs/skia/types/Image/index.js.map +1 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.d.ts +23 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js +16 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js.map +1 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.d.ts +130 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js +14 -0
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/commonjs/skia/types/ImageFilter/index.js +28 -0
- package/lib/commonjs/skia/types/ImageFilter/index.js.map +1 -0
- package/lib/commonjs/skia/types/JsiInstance.d.ts +4 -0
- package/lib/commonjs/skia/types/JsiInstance.js +2 -0
- package/lib/commonjs/skia/types/JsiInstance.js.map +1 -0
- package/lib/commonjs/skia/types/MaskFilter.d.ts +21 -0
- package/lib/commonjs/skia/types/MaskFilter.js +20 -0
- package/lib/commonjs/skia/types/MaskFilter.js.map +1 -0
- package/lib/commonjs/skia/types/Matrix.d.ts +23 -0
- package/lib/commonjs/skia/types/Matrix.js +22 -0
- package/lib/commonjs/skia/types/Matrix.js.map +1 -0
- package/lib/commonjs/skia/types/Matrix4.d.ts +103 -0
- package/lib/commonjs/skia/types/Matrix4.js +295 -0
- package/lib/commonjs/skia/types/Matrix4.js.map +1 -0
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.d.ts +20 -0
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.js +15 -0
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -0
- package/lib/commonjs/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/commonjs/skia/types/NativeBuffer/index.js +17 -0
- package/lib/commonjs/skia/types/NativeBuffer/index.js.map +1 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.d.ts +58 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.js +66 -0
- package/lib/commonjs/skia/types/Paint/BlendMode.js.map +1 -0
- package/lib/commonjs/skia/types/Paint/Paint.d.ts +141 -0
- package/lib/commonjs/skia/types/Paint/Paint.js +26 -0
- package/lib/commonjs/skia/types/Paint/Paint.js.map +1 -0
- package/lib/commonjs/skia/types/Paint/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Paint/index.js +28 -0
- package/lib/commonjs/skia/types/Paint/index.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/Paragraph.d.ts +79 -0
- package/lib/commonjs/skia/types/Paragraph/Paragraph.js +6 -0
- package/lib/commonjs/skia/types/Paragraph/Paragraph.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.d.ts +60 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.js +16 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.d.ts +41 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.js +28 -0
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/TextStyle.d.ts +62 -0
- package/lib/commonjs/skia/types/Paragraph/TextStyle.js +27 -0
- package/lib/commonjs/skia/types/Paragraph/TextStyle.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.d.ts +10 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.js +6 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +4 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.js +6 -0
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/commonjs/skia/types/Paragraph/index.js +72 -0
- package/lib/commonjs/skia/types/Paragraph/index.js.map +1 -0
- package/lib/commonjs/skia/types/Path/Path.d.ts +475 -0
- package/lib/commonjs/skia/types/Path/Path.js +36 -0
- package/lib/commonjs/skia/types/Path/Path.js.map +1 -0
- package/lib/commonjs/skia/types/Path/PathFactory.d.ts +29 -0
- package/lib/commonjs/skia/types/Path/PathFactory.js +6 -0
- package/lib/commonjs/skia/types/Path/PathFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Path/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Path/index.js +28 -0
- package/lib/commonjs/skia/types/Path/index.js.map +1 -0
- package/lib/commonjs/skia/types/PathEffect.d.ts +75 -0
- package/lib/commonjs/skia/types/PathEffect.js +15 -0
- package/lib/commonjs/skia/types/PathEffect.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/Picture.d.ts +27 -0
- package/lib/commonjs/skia/types/Picture/Picture.js +6 -0
- package/lib/commonjs/skia/types/Picture/Picture.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/PictureFactory.d.ts +8 -0
- package/lib/commonjs/skia/types/Picture/PictureFactory.js +6 -0
- package/lib/commonjs/skia/types/Picture/PictureFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/PictureRecorder.d.ts +15 -0
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js +6 -0
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js.map +1 -0
- package/lib/commonjs/skia/types/Picture/index.d.ts +3 -0
- package/lib/commonjs/skia/types/Picture/index.js +39 -0
- package/lib/commonjs/skia/types/Picture/index.js.map +1 -0
- package/lib/commonjs/skia/types/Point.d.ts +10 -0
- package/lib/commonjs/skia/types/Point.js +13 -0
- package/lib/commonjs/skia/types/Point.js.map +1 -0
- package/lib/commonjs/skia/types/RRect.d.ts +16 -0
- package/lib/commonjs/skia/types/RRect.js +12 -0
- package/lib/commonjs/skia/types/RRect.js.map +1 -0
- package/lib/commonjs/skia/types/RSXform.d.ts +8 -0
- package/lib/commonjs/skia/types/RSXform.js +6 -0
- package/lib/commonjs/skia/types/RSXform.js.map +1 -0
- package/lib/commonjs/skia/types/Rect.d.ts +11 -0
- package/lib/commonjs/skia/types/Rect.js +17 -0
- package/lib/commonjs/skia/types/Rect.js.map +1 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.d.ts +52 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.js +6 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.js.map +1 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +10 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.js +6 -0
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +1 -0
- package/lib/commonjs/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/commonjs/skia/types/RuntimeEffect/index.js +28 -0
- package/lib/commonjs/skia/types/RuntimeEffect/index.js.map +1 -0
- package/lib/commonjs/skia/types/SVG/SVG.d.ts +5 -0
- package/lib/commonjs/skia/types/SVG/SVG.js +6 -0
- package/lib/commonjs/skia/types/SVG/SVG.js.map +1 -0
- package/lib/commonjs/skia/types/SVG/SVGFactory.d.ts +6 -0
- package/lib/commonjs/skia/types/SVG/SVGFactory.js +6 -0
- package/lib/commonjs/skia/types/SVG/SVGFactory.js.map +1 -0
- package/lib/commonjs/skia/types/SVG/index.d.ts +2 -0
- package/lib/commonjs/skia/types/SVG/index.js +28 -0
- package/lib/commonjs/skia/types/SVG/index.js.map +1 -0
- package/lib/commonjs/skia/types/Shader/Shader.d.ts +10 -0
- package/lib/commonjs/skia/types/Shader/Shader.js +47 -0
- package/lib/commonjs/skia/types/Shader/Shader.js.map +1 -0
- package/lib/commonjs/skia/types/Shader/ShaderFactory.d.ts +104 -0
- package/lib/commonjs/skia/types/Shader/ShaderFactory.js +6 -0
- package/lib/commonjs/skia/types/Shader/ShaderFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Shader/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Shader/index.js +28 -0
- package/lib/commonjs/skia/types/Shader/index.js.map +1 -0
- package/lib/commonjs/skia/types/Size.d.ts +4 -0
- package/lib/commonjs/skia/types/Size.js +2 -0
- package/lib/commonjs/skia/types/Size.js.map +1 -0
- package/lib/commonjs/skia/types/Skia.d.ts +78 -0
- package/lib/commonjs/skia/types/Skia.js +6 -0
- package/lib/commonjs/skia/types/Skia.js.map +1 -0
- package/lib/commonjs/skia/types/Surface/Surface.d.ts +37 -0
- package/lib/commonjs/skia/types/Surface/Surface.js +6 -0
- package/lib/commonjs/skia/types/Surface/Surface.js.map +1 -0
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.d.ts +17 -0
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js +6 -0
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Surface/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Surface/index.js +28 -0
- package/lib/commonjs/skia/types/Surface/index.js.map +1 -0
- package/lib/commonjs/skia/types/TextBlob.d.ts +44 -0
- package/lib/commonjs/skia/types/TextBlob.js +6 -0
- package/lib/commonjs/skia/types/TextBlob.js.map +1 -0
- package/lib/commonjs/skia/types/Typeface/Typeface.d.ts +11 -0
- package/lib/commonjs/skia/types/Typeface/Typeface.js +6 -0
- package/lib/commonjs/skia/types/Typeface/Typeface.js.map +1 -0
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.d.ts +5 -0
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.js +6 -0
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.js.map +1 -0
- package/lib/commonjs/skia/types/Typeface/index.d.ts +2 -0
- package/lib/commonjs/skia/types/Typeface/index.js +28 -0
- package/lib/commonjs/skia/types/Typeface/index.js.map +1 -0
- package/lib/commonjs/skia/types/Vertices/Vertices.d.ts +17 -0
- package/lib/commonjs/skia/types/Vertices/Vertices.js +13 -0
- package/lib/commonjs/skia/types/Vertices/Vertices.js.map +1 -0
- package/lib/commonjs/skia/types/Vertices/index.d.ts +1 -0
- package/lib/commonjs/skia/types/Vertices/index.js +17 -0
- package/lib/commonjs/skia/types/Vertices/index.js.map +1 -0
- package/lib/commonjs/skia/types/Video/Video.d.ts +17 -0
- package/lib/commonjs/skia/types/Video/Video.js +6 -0
- package/lib/commonjs/skia/types/Video/Video.js.map +1 -0
- package/lib/commonjs/skia/types/Video/index.d.ts +1 -0
- package/lib/commonjs/skia/types/Video/index.js +17 -0
- package/lib/commonjs/skia/types/Video/index.js.map +1 -0
- package/lib/commonjs/skia/types/index.d.ts +33 -0
- package/lib/commonjs/skia/types/index.js +369 -0
- package/lib/commonjs/skia/types/index.js.map +1 -0
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.d.ts +9 -0
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.js +30 -0
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.js.map +1 -0
- package/lib/commonjs/skia/web/Host.d.ts +20 -0
- package/lib/commonjs/skia/web/Host.js +45 -0
- package/lib/commonjs/skia/web/Host.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.d.ts +11 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js +34 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.js +23 -0
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkCanvas.d.ts +47 -0
- package/lib/commonjs/skia/web/JsiSkCanvas.js +177 -0
- package/lib/commonjs/skia/web/JsiSkCanvas.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/commonjs/skia/web/JsiSkColor.js +305 -0
- package/lib/commonjs/skia/web/JsiSkColor.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.js +20 -0
- package/lib/commonjs/skia/web/JsiSkColorFilter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.d.ts +14 -0
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.js +36 -0
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js +35 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js +28 -0
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkData.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkData.js +20 -0
- package/lib/commonjs/skia/web/JsiSkData.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkDataFactory.d.ts +19 -0
- package/lib/commonjs/skia/web/JsiSkDataFactory.js +33 -0
- package/lib/commonjs/skia/web/JsiSkDataFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkFont.d.ts +35 -0
- package/lib/commonjs/skia/web/JsiSkFont.js +99 -0
- package/lib/commonjs/skia/web/JsiSkFont.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkFontMgr.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkFontMgr.js +26 -0
- package/lib/commonjs/skia/web/JsiSkFontMgr.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImage.d.ts +17 -0
- package/lib/commonjs/skia/web/JsiSkImage.js +121 -0
- package/lib/commonjs/skia/web/JsiSkImage.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.js +68 -0
- package/lib/commonjs/skia/web/JsiSkImageFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.js +20 -0
- package/lib/commonjs/skia/web/JsiSkImageFilter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.d.ts +19 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js +82 -0
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js +20 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.js +18 -0
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.d.ts +20 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.js +73 -0
- package/lib/commonjs/skia/web/JsiSkMatrix.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js +29 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPaint.d.ts +30 -0
- package/lib/commonjs/skia/web/JsiSkPaint.js +96 -0
- package/lib/commonjs/skia/web/JsiSkPaint.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.d.ts +19 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.js +77 -0
- package/lib/commonjs/skia/web/JsiSkParagraph.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.d.ts +15 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js +63 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.js +27 -0
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.d.ts +5 -0
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js +54 -0
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPath.d.ts +58 -0
- package/lib/commonjs/skia/web/JsiSkPath.js +263 -0
- package/lib/commonjs/skia/web/JsiSkPath.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.js +20 -0
- package/lib/commonjs/skia/web/JsiSkPathEffect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.d.ts +15 -0
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js +59 -0
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.js +42 -0
- package/lib/commonjs/skia/web/JsiSkPathFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPicture.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkPicture.js +29 -0
- package/lib/commonjs/skia/web/JsiSkPicture.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPictureFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkPictureFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkPictureFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js +29 -0
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkPoint.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkPoint.js +32 -0
- package/lib/commonjs/skia/web/JsiSkPoint.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRRect.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkRRect.js +50 -0
- package/lib/commonjs/skia/web/JsiSkRRect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.d.ts +14 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.js +44 -0
- package/lib/commonjs/skia/web/JsiSkRSXform.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRect.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkRect.js +44 -0
- package/lib/commonjs/skia/web/JsiSkRect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.d.ts +17 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js +44 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSVG.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkSVG.js +28 -0
- package/lib/commonjs/skia/web/JsiSkSVG.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSVGFactory.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkSVGFactory.js +56 -0
- package/lib/commonjs/skia/web/JsiSkSVGFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkShader.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkShader.js +20 -0
- package/lib/commonjs/skia/web/JsiSkShader.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkShaderFactory.d.ts +16 -0
- package/lib/commonjs/skia/web/JsiSkShaderFactory.js +41 -0
- package/lib/commonjs/skia/web/JsiSkShaderFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSurface.d.ts +12 -0
- package/lib/commonjs/skia/web/JsiSkSurface.js +39 -0
- package/lib/commonjs/skia/web/JsiSkSurface.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.d.ts +9 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js +39 -0
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.js +20 -0
- package/lib/commonjs/skia/web/JsiSkTextBlob.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.js +30 -0
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTextStyle.d.ts +5 -0
- package/lib/commonjs/skia/web/JsiSkTextStyle.js +51 -0
- package/lib/commonjs/skia/web/JsiSkTextStyle.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypeface.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkTypeface.js +31 -0
- package/lib/commonjs/skia/web/JsiSkTypeface.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.d.ts +8 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.js +22 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.d.ts +13 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js +76 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +7 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.js +19 -0
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkVertices.d.ts +10 -0
- package/lib/commonjs/skia/web/JsiSkVertices.js +27 -0
- package/lib/commonjs/skia/web/JsiSkVertices.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.d.ts +4 -0
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.js +30 -0
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.js.map +1 -0
- package/lib/commonjs/skia/web/JsiSkia.d.ts +3 -0
- package/lib/commonjs/skia/web/JsiSkia.js +88 -0
- package/lib/commonjs/skia/web/JsiSkia.js.map +1 -0
- package/lib/commonjs/skia/web/JsiVideo.d.ts +24 -0
- package/lib/commonjs/skia/web/JsiVideo.js +83 -0
- package/lib/commonjs/skia/web/JsiVideo.js.map +1 -0
- package/lib/commonjs/skia/web/index.d.ts +1 -0
- package/lib/commonjs/skia/web/index.js +17 -0
- package/lib/commonjs/skia/web/index.js.map +1 -0
- package/lib/commonjs/specs/NativeSkiaModule.d.ts +6 -0
- package/lib/commonjs/specs/NativeSkiaModule.js +10 -0
- package/lib/commonjs/specs/NativeSkiaModule.js.map +1 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.js +2 -0
- package/lib/commonjs/specs/NativeSkiaModule.web.js.map +1 -0
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.d.ts +8 -0
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js +11 -0
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js.map +1 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.d.ts +8 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js +11 -0
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js.map +1 -0
- package/lib/commonjs/views/SkiaBaseWebView.d.ts +60 -0
- package/lib/commonjs/views/SkiaBaseWebView.js +185 -0
- package/lib/commonjs/views/SkiaBaseWebView.js.map +1 -0
- package/lib/commonjs/views/SkiaDomView.d.ts +30 -0
- package/lib/commonjs/views/SkiaDomView.js +123 -0
- package/lib/commonjs/views/SkiaDomView.js.map +1 -0
- package/lib/commonjs/views/SkiaDomView.web.d.ts +7 -0
- package/lib/commonjs/views/SkiaDomView.web.js +37 -0
- package/lib/commonjs/views/SkiaDomView.web.js.map +1 -0
- package/lib/commonjs/views/SkiaJSDomView.d.ts +31 -0
- package/lib/commonjs/views/SkiaJSDomView.js +130 -0
- package/lib/commonjs/views/SkiaJSDomView.js.map +1 -0
- package/lib/commonjs/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/commonjs/views/SkiaJSDomView.web.js +13 -0
- package/lib/commonjs/views/SkiaJSDomView.web.js.map +1 -0
- package/lib/commonjs/views/SkiaPictureView.d.ts +20 -0
- package/lib/commonjs/views/SkiaPictureView.js +90 -0
- package/lib/commonjs/views/SkiaPictureView.js.map +1 -0
- package/lib/commonjs/views/SkiaPictureView.web.d.ts +7 -0
- package/lib/commonjs/views/SkiaPictureView.web.js +19 -0
- package/lib/commonjs/views/SkiaPictureView.web.js.map +1 -0
- package/lib/commonjs/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/commonjs/views/SkiaViewNativeId.js +10 -0
- package/lib/commonjs/views/SkiaViewNativeId.js.map +1 -0
- package/lib/commonjs/views/api.d.ts +5 -0
- package/lib/commonjs/views/api.js +11 -0
- package/lib/commonjs/views/api.js.map +1 -0
- package/lib/commonjs/views/index.d.ts +4 -0
- package/lib/commonjs/views/index.js +50 -0
- package/lib/commonjs/views/index.js.map +1 -0
- package/lib/commonjs/views/types.d.ts +72 -0
- package/lib/commonjs/views/types.js +14 -0
- package/lib/commonjs/views/types.js.map +1 -0
- package/lib/commonjs/views/useTouchHandler.d.ts +22 -0
- package/lib/commonjs/views/useTouchHandler.js +83 -0
- package/lib/commonjs/views/useTouchHandler.js.map +1 -0
- package/lib/commonjs/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/commonjs/web/LoadSkiaWeb.js +28 -0
- package/lib/commonjs/web/LoadSkiaWeb.js.map +1 -0
- package/lib/commonjs/web/WithSkiaWeb.d.ts +12 -0
- package/lib/commonjs/web/WithSkiaWeb.js +33 -0
- package/lib/commonjs/web/WithSkiaWeb.js.map +1 -0
- package/lib/commonjs/web/index.d.ts +2 -0
- package/lib/commonjs/web/index.js +28 -0
- package/lib/commonjs/web/index.js.map +1 -0
- package/lib/module/Platform/IPlatform.d.ts +10 -0
- package/lib/module/Platform/IPlatform.js +2 -0
- package/lib/module/Platform/IPlatform.js.map +1 -0
- package/lib/module/Platform/Platform.d.ts +2 -0
- package/lib/module/Platform/Platform.js +12 -0
- package/lib/module/Platform/Platform.js.map +1 -0
- package/lib/module/Platform/Platform.web.d.ts +2 -0
- package/lib/module/Platform/Platform.web.js +146 -0
- package/lib/module/Platform/Platform.web.js.map +1 -0
- package/lib/module/Platform/index.d.ts +1 -0
- package/lib/module/Platform/index.js +2 -0
- package/lib/module/Platform/index.js.map +1 -0
- package/lib/module/animation/functions/index.d.ts +4 -0
- package/lib/module/animation/functions/index.js +5 -0
- package/lib/module/animation/functions/index.js.map +1 -0
- package/lib/module/animation/functions/interpolate.d.ts +17 -0
- package/lib/module/animation/functions/interpolate.js +124 -0
- package/lib/module/animation/functions/interpolate.js.map +1 -0
- package/lib/module/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/module/animation/functions/interpolateColors.js +27 -0
- package/lib/module/animation/functions/interpolateColors.js.map +1 -0
- package/lib/module/animation/functions/interpolatePaths.d.ts +19 -0
- package/lib/module/animation/functions/interpolatePaths.js +61 -0
- package/lib/module/animation/functions/interpolatePaths.js.map +1 -0
- package/lib/module/animation/functions/interpolateVector.d.ts +10 -0
- package/lib/module/animation/functions/interpolateVector.js +15 -0
- package/lib/module/animation/functions/interpolateVector.js.map +1 -0
- package/lib/module/animation/index.d.ts +1 -0
- package/lib/module/animation/index.js +2 -0
- package/lib/module/animation/index.js.map +1 -0
- package/lib/module/dom/nodes/DrawingNode.d.ts +14 -0
- package/lib/module/dom/nodes/DrawingNode.js +62 -0
- package/lib/module/dom/nodes/DrawingNode.js.map +1 -0
- package/lib/module/dom/nodes/GroupNode.d.ts +7 -0
- package/lib/module/dom/nodes/GroupNode.js +15 -0
- package/lib/module/dom/nodes/GroupNode.js.map +1 -0
- package/lib/module/dom/nodes/JsiSkDOM.d.ts +68 -0
- package/lib/module/dom/nodes/JsiSkDOM.js +201 -0
- package/lib/module/dom/nodes/JsiSkDOM.js.map +1 -0
- package/lib/module/dom/nodes/LayerNode.d.ts +8 -0
- package/lib/module/dom/nodes/LayerNode.js +32 -0
- package/lib/module/dom/nodes/LayerNode.js.map +1 -0
- package/lib/module/dom/nodes/Node.d.ts +34 -0
- package/lib/module/dom/nodes/Node.js +94 -0
- package/lib/module/dom/nodes/Node.js.map +1 -0
- package/lib/module/dom/nodes/PaintNode.d.ts +8 -0
- package/lib/module/dom/nodes/PaintNode.js +83 -0
- package/lib/module/dom/nodes/PaintNode.js.map +1 -0
- package/lib/module/dom/nodes/RenderNode.d.ts +26 -0
- package/lib/module/dom/nodes/RenderNode.js +125 -0
- package/lib/module/dom/nodes/RenderNode.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Circle.d.ts +7 -0
- package/lib/module/dom/nodes/datatypes/Circle.js +21 -0
- package/lib/module/dom/nodes/datatypes/Circle.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/module/dom/nodes/datatypes/Enum.js +2 -0
- package/lib/module/dom/nodes/datatypes/Enum.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Fitting.d.ts +33 -0
- package/lib/module/dom/nodes/datatypes/Fitting.js +132 -0
- package/lib/module/dom/nodes/datatypes/Fitting.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Gradient.d.ts +252 -0
- package/lib/module/dom/nodes/datatypes/Gradient.js +45 -0
- package/lib/module/dom/nodes/datatypes/Gradient.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Path.d.ts +4 -0
- package/lib/module/dom/nodes/datatypes/Path.js +12 -0
- package/lib/module/dom/nodes/datatypes/Path.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Radius.d.ts +3 -0
- package/lib/module/dom/nodes/datatypes/Radius.js +7 -0
- package/lib/module/dom/nodes/datatypes/Radius.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Rect.d.ts +5 -0
- package/lib/module/dom/nodes/datatypes/Rect.js +31 -0
- package/lib/module/dom/nodes/datatypes/Rect.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/Transform.d.ts +3 -0
- package/lib/module/dom/nodes/datatypes/Transform.js +26 -0
- package/lib/module/dom/nodes/datatypes/Transform.js.map +1 -0
- package/lib/module/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/module/dom/nodes/datatypes/index.js +9 -0
- package/lib/module/dom/nodes/datatypes/index.js.map +1 -0
- package/lib/module/dom/nodes/drawings/AtlasNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/AtlasNode.js +29 -0
- package/lib/module/dom/nodes/drawings/AtlasNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.js +35 -0
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/module/dom/nodes/drawings/Box.js +74 -0
- package/lib/module/dom/nodes/drawings/Box.js.map +1 -0
- package/lib/module/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/CircleNode.js +25 -0
- package/lib/module/dom/nodes/drawings/CircleNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/DiffRectNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/DiffRectNode.js +21 -0
- package/lib/module/dom/nodes/drawings/DiffRectNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/FillNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/FillNode.js +17 -0
- package/lib/module/dom/nodes/drawings/FillNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/ImageNode.d.ts +25 -0
- package/lib/module/dom/nodes/drawings/ImageNode.js +64 -0
- package/lib/module/dom/nodes/drawings/ImageNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/ImageSVG.d.ts +13 -0
- package/lib/module/dom/nodes/drawings/ImageSVG.js +50 -0
- package/lib/module/dom/nodes/drawings/ImageSVG.js.map +1 -0
- package/lib/module/dom/nodes/drawings/LineNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/LineNode.js +21 -0
- package/lib/module/dom/nodes/drawings/LineNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/OvalNode.js +21 -0
- package/lib/module/dom/nodes/drawings/OvalNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/ParagraphNode.js +25 -0
- package/lib/module/dom/nodes/drawings/ParagraphNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PatchNode.d.ts +18 -0
- package/lib/module/dom/nodes/drawings/PatchNode.js +46 -0
- package/lib/module/dom/nodes/drawings/PatchNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/PathNode.js +48 -0
- package/lib/module/dom/nodes/drawings/PathNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/PictureNode.js +19 -0
- package/lib/module/dom/nodes/drawings/PictureNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/PointsNode.d.ts +8 -0
- package/lib/module/dom/nodes/drawings/PointsNode.js +23 -0
- package/lib/module/dom/nodes/drawings/PointsNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/module/dom/nodes/drawings/RRectNode.js +25 -0
- package/lib/module/dom/nodes/drawings/RRectNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/RectNode.js +21 -0
- package/lib/module/dom/nodes/drawings/RectNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/Text.d.ts +30 -0
- package/lib/module/dom/nodes/drawings/Text.js +149 -0
- package/lib/module/dom/nodes/drawings/Text.js.map +1 -0
- package/lib/module/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/module/dom/nodes/drawings/VerticesNode.js +36 -0
- package/lib/module/dom/nodes/drawings/VerticesNode.js.map +1 -0
- package/lib/module/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/module/dom/nodes/drawings/index.js +19 -0
- package/lib/module/dom/nodes/drawings/index.js.map +1 -0
- package/lib/module/dom/nodes/index.d.ts +3 -0
- package/lib/module/dom/nodes/index.js +4 -0
- package/lib/module/dom/nodes/index.js.map +1 -0
- package/lib/module/dom/nodes/paint/BlendNode.d.ts +8 -0
- package/lib/module/dom/nodes/paint/BlendNode.js +30 -0
- package/lib/module/dom/nodes/paint/BlendNode.js.map +1 -0
- package/lib/module/dom/nodes/paint/ColorFilters.d.ts +35 -0
- package/lib/module/dom/nodes/paint/ColorFilters.js +89 -0
- package/lib/module/dom/nodes/paint/ColorFilters.js.map +1 -0
- package/lib/module/dom/nodes/paint/ImageFilters.d.ts +42 -0
- package/lib/module/dom/nodes/paint/ImageFilters.js +169 -0
- package/lib/module/dom/nodes/paint/ImageFilters.js.map +1 -0
- package/lib/module/dom/nodes/paint/MaskFilters.d.ts +8 -0
- package/lib/module/dom/nodes/paint/MaskFilters.js +19 -0
- package/lib/module/dom/nodes/paint/MaskFilters.js.map +1 -0
- package/lib/module/dom/nodes/paint/PathEffects.d.ts +39 -0
- package/lib/module/dom/nodes/paint/PathEffects.js +123 -0
- package/lib/module/dom/nodes/paint/PathEffects.js.map +1 -0
- package/lib/module/dom/nodes/paint/Shaders.d.ts +43 -0
- package/lib/module/dom/nodes/paint/Shaders.js +193 -0
- package/lib/module/dom/nodes/paint/Shaders.js.map +1 -0
- package/lib/module/dom/nodes/paint/index.d.ts +6 -0
- package/lib/module/dom/nodes/paint/index.js +7 -0
- package/lib/module/dom/nodes/paint/index.js.map +1 -0
- package/lib/module/dom/types/ColorFilters.d.ts +12 -0
- package/lib/module/dom/types/ColorFilters.js +2 -0
- package/lib/module/dom/types/ColorFilters.js.map +1 -0
- package/lib/module/dom/types/Common.d.ts +57 -0
- package/lib/module/dom/types/Common.js +2 -0
- package/lib/module/dom/types/Common.js.map +1 -0
- package/lib/module/dom/types/DeclarationContext.d.ts +29 -0
- package/lib/module/dom/types/DeclarationContext.js +83 -0
- package/lib/module/dom/types/DeclarationContext.js.map +1 -0
- package/lib/module/dom/types/DrawingContext.d.ts +22 -0
- package/lib/module/dom/types/DrawingContext.js +256 -0
- package/lib/module/dom/types/DrawingContext.js.map +1 -0
- package/lib/module/dom/types/Drawings.d.ts +111 -0
- package/lib/module/dom/types/Drawings.js +2 -0
- package/lib/module/dom/types/Drawings.js.map +1 -0
- package/lib/module/dom/types/ImageFilters.d.ts +37 -0
- package/lib/module/dom/types/ImageFilters.js +2 -0
- package/lib/module/dom/types/ImageFilters.js.map +1 -0
- package/lib/module/dom/types/MaskFilters.d.ts +7 -0
- package/lib/module/dom/types/MaskFilters.js +2 -0
- package/lib/module/dom/types/MaskFilters.js.map +1 -0
- package/lib/module/dom/types/Node.d.ts +22 -0
- package/lib/module/dom/types/Node.js +2 -0
- package/lib/module/dom/types/Node.js.map +1 -0
- package/lib/module/dom/types/NodeType.d.ts +59 -0
- package/lib/module/dom/types/NodeType.js +61 -0
- package/lib/module/dom/types/NodeType.js.map +1 -0
- package/lib/module/dom/types/Paragraph.d.ts +8 -0
- package/lib/module/dom/types/Paragraph.js +2 -0
- package/lib/module/dom/types/Paragraph.js.map +1 -0
- package/lib/module/dom/types/PathEffects.d.ts +28 -0
- package/lib/module/dom/types/PathEffects.js +2 -0
- package/lib/module/dom/types/PathEffects.js.map +1 -0
- package/lib/module/dom/types/Shaders.d.ts +59 -0
- package/lib/module/dom/types/Shaders.js +2 -0
- package/lib/module/dom/types/Shaders.js.map +1 -0
- package/lib/module/dom/types/SkDOM.d.ts +73 -0
- package/lib/module/dom/types/SkDOM.js +2 -0
- package/lib/module/dom/types/SkDOM.js.map +1 -0
- package/lib/module/dom/types/index.d.ts +13 -0
- package/lib/module/dom/types/index.js +14 -0
- package/lib/module/dom/types/index.js.map +1 -0
- package/lib/module/external/ModuleProxy.d.ts +10 -0
- package/lib/module/external/ModuleProxy.js +28 -0
- package/lib/module/external/ModuleProxy.js.map +1 -0
- package/lib/module/external/index.d.ts +1 -0
- package/lib/module/external/index.js +2 -0
- package/lib/module/external/index.js.map +1 -0
- package/lib/module/external/reanimated/ReanimatedProxy.d.ts +3 -0
- package/lib/module/external/reanimated/ReanimatedProxy.js +12 -0
- package/lib/module/external/reanimated/ReanimatedProxy.js.map +1 -0
- package/lib/module/external/reanimated/buffers.d.ts +7 -0
- package/lib/module/external/reanimated/buffers.js +40 -0
- package/lib/module/external/reanimated/buffers.js.map +1 -0
- package/lib/module/external/reanimated/index.d.ts +7 -0
- package/lib/module/external/reanimated/index.js +8 -0
- package/lib/module/external/reanimated/index.js.map +1 -0
- package/lib/module/external/reanimated/interpolators.d.ts +10 -0
- package/lib/module/external/reanimated/interpolators.js +64 -0
- package/lib/module/external/reanimated/interpolators.js.map +1 -0
- package/lib/module/external/reanimated/renderHelpers.d.ts +6 -0
- package/lib/module/external/reanimated/renderHelpers.js +117 -0
- package/lib/module/external/reanimated/renderHelpers.js.map +1 -0
- package/lib/module/external/reanimated/textures.d.ts +8 -0
- package/lib/module/external/reanimated/textures.js +73 -0
- package/lib/module/external/reanimated/textures.js.map +1 -0
- package/lib/module/external/reanimated/useAnimatedImageValue.d.ts +3 -0
- package/lib/module/external/reanimated/useAnimatedImageValue.js +51 -0
- package/lib/module/external/reanimated/useAnimatedImageValue.js.map +1 -0
- package/lib/module/external/reanimated/useDerivedValueOnJS.d.ts +1 -0
- package/lib/module/external/reanimated/useDerivedValueOnJS.js +16 -0
- package/lib/module/external/reanimated/useDerivedValueOnJS.js.map +1 -0
- package/lib/module/external/reanimated/useVideo.d.ts +21 -0
- package/lib/module/external/reanimated/useVideo.js +140 -0
- package/lib/module/external/reanimated/useVideo.js.map +1 -0
- package/lib/module/external/reanimated/useVideoLoading.d.ts +4 -0
- package/lib/module/external/reanimated/useVideoLoading.js +23 -0
- package/lib/module/external/reanimated/useVideoLoading.js.map +1 -0
- package/lib/module/external/reanimated/useVideoLoading.web.d.ts +4 -0
- package/lib/module/external/reanimated/useVideoLoading.web.js +13 -0
- package/lib/module/external/reanimated/useVideoLoading.web.js.map +1 -0
- package/lib/module/headless/index.d.ts +8 -0
- package/lib/module/headless/index.js +37 -0
- package/lib/module/headless/index.js.map +1 -0
- package/lib/module/index.d.ts +11 -0
- package/lib/module/index.js +12 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/mock/index.d.ts +2 -0
- package/lib/module/mock/index.js +53 -0
- package/lib/module/mock/index.js.map +1 -0
- package/lib/module/renderer/Canvas.d.ts +11 -0
- package/lib/module/renderer/Canvas.js +107 -0
- package/lib/module/renderer/Canvas.js.map +1 -0
- package/lib/module/renderer/Container.d.ts +11 -0
- package/lib/module/renderer/Container.js +23 -0
- package/lib/module/renderer/Container.js.map +1 -0
- package/lib/module/renderer/DrawingContext.d.ts +7 -0
- package/lib/module/renderer/DrawingContext.js +2 -0
- package/lib/module/renderer/DrawingContext.js.map +1 -0
- package/lib/module/renderer/HostComponents.d.ts +132 -0
- package/lib/module/renderer/HostComponents.js +137 -0
- package/lib/module/renderer/HostComponents.js.map +1 -0
- package/lib/module/renderer/HostConfig.d.ts +19 -0
- package/lib/module/renderer/HostConfig.js +142 -0
- package/lib/module/renderer/HostConfig.js.map +1 -0
- package/lib/module/renderer/Offscreen.d.ts +6 -0
- package/lib/module/renderer/Offscreen.js +41 -0
- package/lib/module/renderer/Offscreen.js.map +1 -0
- package/lib/module/renderer/Reconciler.d.ts +10 -0
- package/lib/module/renderer/Reconciler.js +35 -0
- package/lib/module/renderer/Reconciler.js.map +1 -0
- package/lib/module/renderer/components/Blend.d.ts +4 -0
- package/lib/module/renderer/components/Blend.js +5 -0
- package/lib/module/renderer/components/Blend.js.map +1 -0
- package/lib/module/renderer/components/Group.d.ts +8 -0
- package/lib/module/renderer/components/Group.js +14 -0
- package/lib/module/renderer/components/Group.js.map +1 -0
- package/lib/module/renderer/components/Mask.d.ts +10 -0
- package/lib/module/renderer/components/Mask.js +25 -0
- package/lib/module/renderer/components/Mask.js.map +1 -0
- package/lib/module/renderer/components/Paint.d.ts +4 -0
- package/lib/module/renderer/components/Paint.js +5 -0
- package/lib/module/renderer/components/Paint.js.map +1 -0
- package/lib/module/renderer/components/Picture.d.ts +4 -0
- package/lib/module/renderer/components/Picture.js +5 -0
- package/lib/module/renderer/components/Picture.js.map +1 -0
- package/lib/module/renderer/components/backdrop/BackdropBlur.d.ts +9 -0
- package/lib/module/renderer/components/backdrop/BackdropBlur.js +17 -0
- package/lib/module/renderer/components/backdrop/BackdropBlur.js.map +1 -0
- package/lib/module/renderer/components/backdrop/BackdropFilter.d.ts +8 -0
- package/lib/module/renderer/components/backdrop/BackdropFilter.js +10 -0
- package/lib/module/renderer/components/backdrop/BackdropFilter.js.map +1 -0
- package/lib/module/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/module/renderer/components/backdrop/index.js +3 -0
- package/lib/module/renderer/components/backdrop/index.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/BlendColor.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/BlendColor.js +5 -0
- package/lib/module/renderer/components/colorFilters/BlendColor.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/Lerp.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/Lerp.js +5 -0
- package/lib/module/renderer/components/colorFilters/Lerp.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.js +5 -0
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.js +5 -0
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/Matrix.d.ts +5 -0
- package/lib/module/renderer/components/colorFilters/Matrix.js +6 -0
- package/lib/module/renderer/components/colorFilters/Matrix.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +4 -0
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.js +5 -0
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.js.map +1 -0
- package/lib/module/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/module/renderer/components/colorFilters/index.js +7 -0
- package/lib/module/renderer/components/colorFilters/index.js.map +1 -0
- package/lib/module/renderer/components/image/Image.d.ts +4 -0
- package/lib/module/renderer/components/image/Image.js +5 -0
- package/lib/module/renderer/components/image/Image.js.map +1 -0
- package/lib/module/renderer/components/image/ImageSVG.d.ts +4 -0
- package/lib/module/renderer/components/image/ImageSVG.js +5 -0
- package/lib/module/renderer/components/image/ImageSVG.js.map +1 -0
- package/lib/module/renderer/components/image/ImageShader.d.ts +4 -0
- package/lib/module/renderer/components/image/ImageShader.js +21 -0
- package/lib/module/renderer/components/image/ImageShader.js.map +1 -0
- package/lib/module/renderer/components/image/index.d.ts +3 -0
- package/lib/module/renderer/components/image/index.js +4 -0
- package/lib/module/renderer/components/image/index.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Blur.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Blur.js +11 -0
- package/lib/module/renderer/components/imageFilters/Blur.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/DisplacementMap.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/DisplacementMap.js +5 -0
- package/lib/module/renderer/components/imageFilters/DisplacementMap.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Morphology.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Morphology.js +11 -0
- package/lib/module/renderer/components/imageFilters/Morphology.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Offset.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Offset.js +13 -0
- package/lib/module/renderer/components/imageFilters/Offset.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/RuntimeShader.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/RuntimeShader.js +5 -0
- package/lib/module/renderer/components/imageFilters/RuntimeShader.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/Shadow.d.ts +4 -0
- package/lib/module/renderer/components/imageFilters/Shadow.js +5 -0
- package/lib/module/renderer/components/imageFilters/Shadow.js.map +1 -0
- package/lib/module/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/module/renderer/components/imageFilters/index.js +7 -0
- package/lib/module/renderer/components/imageFilters/index.js.map +1 -0
- package/lib/module/renderer/components/index.d.ts +16 -0
- package/lib/module/renderer/components/index.js +17 -0
- package/lib/module/renderer/components/index.js.map +1 -0
- package/lib/module/renderer/components/maskFilters/Blur.d.ts +4 -0
- package/lib/module/renderer/components/maskFilters/Blur.js +13 -0
- package/lib/module/renderer/components/maskFilters/Blur.js.map +1 -0
- package/lib/module/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/module/renderer/components/maskFilters/index.js +2 -0
- package/lib/module/renderer/components/maskFilters/index.js.map +1 -0
- package/lib/module/renderer/components/paragraph/Paragraph.d.ts +4 -0
- package/lib/module/renderer/components/paragraph/Paragraph.js +5 -0
- package/lib/module/renderer/components/paragraph/Paragraph.js.map +1 -0
- package/lib/module/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/module/renderer/components/paragraph/index.js +2 -0
- package/lib/module/renderer/components/paragraph/index.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Corner.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Corner.js +5 -0
- package/lib/module/renderer/components/pathEffects/Corner.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Dash.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Dash.js +5 -0
- package/lib/module/renderer/components/pathEffects/Dash.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Discrete.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Discrete.js +11 -0
- package/lib/module/renderer/components/pathEffects/Discrete.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Line2D.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Line2D.js +5 -0
- package/lib/module/renderer/components/pathEffects/Line2D.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Path1D.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Path1D.js +5 -0
- package/lib/module/renderer/components/pathEffects/Path1D.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Path2D.d.ts +4 -0
- package/lib/module/renderer/components/pathEffects/Path2D.js +5 -0
- package/lib/module/renderer/components/pathEffects/Path2D.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/Sum.d.ts +3 -0
- package/lib/module/renderer/components/pathEffects/Sum.js +5 -0
- package/lib/module/renderer/components/pathEffects/Sum.js.map +1 -0
- package/lib/module/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/module/renderer/components/pathEffects/index.js +8 -0
- package/lib/module/renderer/components/pathEffects/index.js.map +1 -0
- package/lib/module/renderer/components/shaders/Color.d.ts +4 -0
- package/lib/module/renderer/components/shaders/Color.js +5 -0
- package/lib/module/renderer/components/shaders/Color.js.map +1 -0
- package/lib/module/renderer/components/shaders/FractalNoise.d.ts +4 -0
- package/lib/module/renderer/components/shaders/FractalNoise.js +15 -0
- package/lib/module/renderer/components/shaders/FractalNoise.js.map +1 -0
- package/lib/module/renderer/components/shaders/LinearGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/LinearGradient.js +5 -0
- package/lib/module/renderer/components/shaders/LinearGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/RadialGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/RadialGradient.js +5 -0
- package/lib/module/renderer/components/shaders/RadialGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/Shader.d.ts +4 -0
- package/lib/module/renderer/components/shaders/Shader.js +11 -0
- package/lib/module/renderer/components/shaders/Shader.js.map +1 -0
- package/lib/module/renderer/components/shaders/ShaderLib.d.ts +4 -0
- package/lib/module/renderer/components/shaders/ShaderLib.js +45 -0
- package/lib/module/renderer/components/shaders/ShaderLib.js.map +1 -0
- package/lib/module/renderer/components/shaders/SweepGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/SweepGradient.js +5 -0
- package/lib/module/renderer/components/shaders/SweepGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/Turbulence.d.ts +4 -0
- package/lib/module/renderer/components/shaders/Turbulence.js +15 -0
- package/lib/module/renderer/components/shaders/Turbulence.js.map +1 -0
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.d.ts +4 -0
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.js +5 -0
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.js.map +1 -0
- package/lib/module/renderer/components/shaders/index.d.ts +9 -0
- package/lib/module/renderer/components/shaders/index.js +10 -0
- package/lib/module/renderer/components/shaders/index.js.map +1 -0
- package/lib/module/renderer/components/shapes/Atlas.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Atlas.js +5 -0
- package/lib/module/renderer/components/shapes/Atlas.js.map +1 -0
- package/lib/module/renderer/components/shapes/Box.d.ts +5 -0
- package/lib/module/renderer/components/shapes/Box.js +8 -0
- package/lib/module/renderer/components/shapes/Box.js.map +1 -0
- package/lib/module/renderer/components/shapes/Circle.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Circle.js +5 -0
- package/lib/module/renderer/components/shapes/Circle.js.map +1 -0
- package/lib/module/renderer/components/shapes/DiffRect.d.ts +4 -0
- package/lib/module/renderer/components/shapes/DiffRect.js +5 -0
- package/lib/module/renderer/components/shapes/DiffRect.js.map +1 -0
- package/lib/module/renderer/components/shapes/Fill.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Fill.js +5 -0
- package/lib/module/renderer/components/shapes/Fill.js.map +1 -0
- package/lib/module/renderer/components/shapes/FitBox.d.ts +13 -0
- package/lib/module/renderer/components/shapes/FitBox.js +48 -0
- package/lib/module/renderer/components/shapes/FitBox.js.map +1 -0
- package/lib/module/renderer/components/shapes/Line.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Line.js +5 -0
- package/lib/module/renderer/components/shapes/Line.js.map +1 -0
- package/lib/module/renderer/components/shapes/Oval.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Oval.js +5 -0
- package/lib/module/renderer/components/shapes/Oval.js.map +1 -0
- package/lib/module/renderer/components/shapes/Patch.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Patch.js +5 -0
- package/lib/module/renderer/components/shapes/Patch.js.map +1 -0
- package/lib/module/renderer/components/shapes/Path.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Path.js +13 -0
- package/lib/module/renderer/components/shapes/Path.js.map +1 -0
- package/lib/module/renderer/components/shapes/Points.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Points.js +11 -0
- package/lib/module/renderer/components/shapes/Points.js.map +1 -0
- package/lib/module/renderer/components/shapes/Rect.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Rect.js +5 -0
- package/lib/module/renderer/components/shapes/Rect.js.map +1 -0
- package/lib/module/renderer/components/shapes/RoundedRect.d.ts +4 -0
- package/lib/module/renderer/components/shapes/RoundedRect.js +5 -0
- package/lib/module/renderer/components/shapes/RoundedRect.js.map +1 -0
- package/lib/module/renderer/components/shapes/Vertices.d.ts +4 -0
- package/lib/module/renderer/components/shapes/Vertices.js +11 -0
- package/lib/module/renderer/components/shapes/Vertices.js.map +1 -0
- package/lib/module/renderer/components/shapes/index.d.ts +14 -0
- package/lib/module/renderer/components/shapes/index.js +15 -0
- package/lib/module/renderer/components/shapes/index.js.map +1 -0
- package/lib/module/renderer/components/text/Glyphs.d.ts +4 -0
- package/lib/module/renderer/components/text/Glyphs.js +13 -0
- package/lib/module/renderer/components/text/Glyphs.js.map +1 -0
- package/lib/module/renderer/components/text/Text.d.ts +4 -0
- package/lib/module/renderer/components/text/Text.js +13 -0
- package/lib/module/renderer/components/text/Text.js.map +1 -0
- package/lib/module/renderer/components/text/TextBlob.d.ts +4 -0
- package/lib/module/renderer/components/text/TextBlob.js +13 -0
- package/lib/module/renderer/components/text/TextBlob.js.map +1 -0
- package/lib/module/renderer/components/text/TextPath.d.ts +4 -0
- package/lib/module/renderer/components/text/TextPath.js +11 -0
- package/lib/module/renderer/components/text/TextPath.js.map +1 -0
- package/lib/module/renderer/components/text/index.d.ts +4 -0
- package/lib/module/renderer/components/text/index.js +5 -0
- package/lib/module/renderer/components/text/index.js.map +1 -0
- package/lib/module/renderer/index.d.ts +1 -0
- package/lib/module/renderer/index.js +2 -0
- package/lib/module/renderer/index.js.map +1 -0
- package/lib/module/renderer/processors/Animations/Animations.d.ts +13 -0
- package/lib/module/renderer/processors/Animations/Animations.js +2 -0
- package/lib/module/renderer/processors/Animations/Animations.js.map +1 -0
- package/lib/module/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/module/renderer/processors/Animations/index.js +2 -0
- package/lib/module/renderer/processors/Animations/index.js.map +1 -0
- package/lib/module/renderer/processors/index.d.ts +2 -0
- package/lib/module/renderer/processors/index.js +3 -0
- package/lib/module/renderer/processors/index.js.map +1 -0
- package/lib/module/renderer/processors/math/Coordinates.d.ts +29 -0
- package/lib/module/renderer/processors/math/Coordinates.js +43 -0
- package/lib/module/renderer/processors/math/Coordinates.js.map +1 -0
- package/lib/module/renderer/processors/math/Math.d.ts +16 -0
- package/lib/module/renderer/processors/math/Math.js +30 -0
- package/lib/module/renderer/processors/math/Math.js.map +1 -0
- package/lib/module/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/module/renderer/processors/math/Transforms.js +14 -0
- package/lib/module/renderer/processors/math/Transforms.js.map +1 -0
- package/lib/module/renderer/processors/math/index.d.ts +3 -0
- package/lib/module/renderer/processors/math/index.js +4 -0
- package/lib/module/renderer/processors/math/index.js.map +1 -0
- package/lib/module/renderer/typeddash.d.ts +3 -0
- package/lib/module/renderer/typeddash.js +25 -0
- package/lib/module/renderer/typeddash.js.map +1 -0
- package/lib/module/skia/NativeSetup.d.ts +1 -0
- package/lib/module/skia/NativeSetup.js +14 -0
- package/lib/module/skia/NativeSetup.js.map +1 -0
- package/lib/module/skia/Skia.d.ts +8 -0
- package/lib/module/skia/Skia.js +8 -0
- package/lib/module/skia/Skia.js.map +1 -0
- package/lib/module/skia/Skia.web.d.ts +1 -0
- package/lib/module/skia/Skia.web.js +3 -0
- package/lib/module/skia/Skia.web.js.map +1 -0
- package/lib/module/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/module/skia/core/AnimatedImage.js +9 -0
- package/lib/module/skia/core/AnimatedImage.js.map +1 -0
- package/lib/module/skia/core/Data.d.ts +5 -0
- package/lib/module/skia/core/Data.js +72 -0
- package/lib/module/skia/core/Data.js.map +1 -0
- package/lib/module/skia/core/Font.d.ts +18 -0
- package/lib/module/skia/core/Font.js +89 -0
- package/lib/module/skia/core/Font.js.map +1 -0
- package/lib/module/skia/core/Image.d.ts +17 -0
- package/lib/module/skia/core/Image.js +36 -0
- package/lib/module/skia/core/Image.js.map +1 -0
- package/lib/module/skia/core/Matrix.d.ts +2 -0
- package/lib/module/skia/core/Matrix.js +8 -0
- package/lib/module/skia/core/Matrix.js.map +1 -0
- package/lib/module/skia/core/Picture.d.ts +8 -0
- package/lib/module/skia/core/Picture.js +22 -0
- package/lib/module/skia/core/Picture.js.map +1 -0
- package/lib/module/skia/core/RRect.d.ts +2 -0
- package/lib/module/skia/core/RRect.js +7 -0
- package/lib/module/skia/core/RRect.js.map +1 -0
- package/lib/module/skia/core/Rect.d.ts +8 -0
- package/lib/module/skia/core/Rect.js +43 -0
- package/lib/module/skia/core/Rect.js.map +1 -0
- package/lib/module/skia/core/SVG.d.ts +2 -0
- package/lib/module/skia/core/SVG.js +5 -0
- package/lib/module/skia/core/SVG.js.map +1 -0
- package/lib/module/skia/core/SVG.web.d.ts +2 -0
- package/lib/module/skia/core/SVG.web.js +15 -0
- package/lib/module/skia/core/SVG.web.js.map +1 -0
- package/lib/module/skia/core/Typeface.d.ts +5 -0
- package/lib/module/skia/core/Typeface.js +9 -0
- package/lib/module/skia/core/Typeface.js.map +1 -0
- package/lib/module/skia/core/Vector.d.ts +7 -0
- package/lib/module/skia/core/Vector.js +28 -0
- package/lib/module/skia/core/Vector.js.map +1 -0
- package/lib/module/skia/core/index.d.ts +11 -0
- package/lib/module/skia/core/index.js +12 -0
- package/lib/module/skia/core/index.js.map +1 -0
- package/lib/module/skia/index.d.ts +3 -0
- package/lib/module/skia/index.js +4 -0
- package/lib/module/skia/index.js.map +1 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.d.ts +24 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.js +2 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.js.map +1 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +13 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.js +2 -0
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.js.map +1 -0
- package/lib/module/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/module/skia/types/AnimatedImage/index.js +3 -0
- package/lib/module/skia/types/AnimatedImage/index.js.map +1 -0
- package/lib/module/skia/types/Canvas.d.ts +404 -0
- package/lib/module/skia/types/Canvas.js +11 -0
- package/lib/module/skia/types/Canvas.js.map +1 -0
- package/lib/module/skia/types/Color.d.ts +2 -0
- package/lib/module/skia/types/Color.js +2 -0
- package/lib/module/skia/types/Color.js.map +1 -0
- package/lib/module/skia/types/ColorFilter/ColorFilter.d.ts +3 -0
- package/lib/module/skia/types/ColorFilter/ColorFilter.js +2 -0
- package/lib/module/skia/types/ColorFilter/ColorFilter.js.map +1 -0
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.d.ts +43 -0
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.js +2 -0
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.js.map +1 -0
- package/lib/module/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/module/skia/types/ColorFilter/index.js +3 -0
- package/lib/module/skia/types/ColorFilter/index.js.map +1 -0
- package/lib/module/skia/types/ContourMeasure.d.ts +41 -0
- package/lib/module/skia/types/ContourMeasure.js +2 -0
- package/lib/module/skia/types/ContourMeasure.js.map +1 -0
- package/lib/module/skia/types/Data/Data.d.ts +12 -0
- package/lib/module/skia/types/Data/Data.js +2 -0
- package/lib/module/skia/types/Data/Data.js.map +1 -0
- package/lib/module/skia/types/Data/DataFactory.d.ts +18 -0
- package/lib/module/skia/types/Data/DataFactory.js +2 -0
- package/lib/module/skia/types/Data/DataFactory.js.map +1 -0
- package/lib/module/skia/types/Data/index.d.ts +2 -0
- package/lib/module/skia/types/Data/index.js +3 -0
- package/lib/module/skia/types/Data/index.js.map +1 -0
- package/lib/module/skia/types/Font/Font.d.ts +189 -0
- package/lib/module/skia/types/Font/Font.js +57 -0
- package/lib/module/skia/types/Font/Font.js.map +1 -0
- package/lib/module/skia/types/Font/FontMgr.d.ts +8 -0
- package/lib/module/skia/types/Font/FontMgr.js +2 -0
- package/lib/module/skia/types/Font/FontMgr.js.map +1 -0
- package/lib/module/skia/types/Font/FontMgrFactory.d.ts +4 -0
- package/lib/module/skia/types/Font/FontMgrFactory.js +2 -0
- package/lib/module/skia/types/Font/FontMgrFactory.js.map +1 -0
- package/lib/module/skia/types/Font/index.d.ts +3 -0
- package/lib/module/skia/types/Font/index.js +4 -0
- package/lib/module/skia/types/Font/index.js.map +1 -0
- package/lib/module/skia/types/Image/Image.d.ts +102 -0
- package/lib/module/skia/types/Image/Image.js +18 -0
- package/lib/module/skia/types/Image/Image.js.map +1 -0
- package/lib/module/skia/types/Image/ImageFactory.d.ts +80 -0
- package/lib/module/skia/types/Image/ImageFactory.js +28 -0
- package/lib/module/skia/types/Image/ImageFactory.js.map +1 -0
- package/lib/module/skia/types/Image/index.d.ts +2 -0
- package/lib/module/skia/types/Image/index.js +3 -0
- package/lib/module/skia/types/Image/index.js.map +1 -0
- package/lib/module/skia/types/ImageFilter/ImageFilter.d.ts +23 -0
- package/lib/module/skia/types/ImageFilter/ImageFilter.js +9 -0
- package/lib/module/skia/types/ImageFilter/ImageFilter.js.map +1 -0
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.d.ts +130 -0
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js +8 -0
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -0
- package/lib/module/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/module/skia/types/ImageFilter/index.js +3 -0
- package/lib/module/skia/types/ImageFilter/index.js.map +1 -0
- package/lib/module/skia/types/JsiInstance.d.ts +4 -0
- package/lib/module/skia/types/JsiInstance.js +2 -0
- package/lib/module/skia/types/JsiInstance.js.map +1 -0
- package/lib/module/skia/types/MaskFilter.d.ts +21 -0
- package/lib/module/skia/types/MaskFilter.js +13 -0
- package/lib/module/skia/types/MaskFilter.js.map +1 -0
- package/lib/module/skia/types/Matrix.d.ts +23 -0
- package/lib/module/skia/types/Matrix.js +13 -0
- package/lib/module/skia/types/Matrix.js.map +1 -0
- package/lib/module/skia/types/Matrix4.d.ts +103 -0
- package/lib/module/skia/types/Matrix4.js +274 -0
- package/lib/module/skia/types/Matrix4.js.map +1 -0
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.d.ts +20 -0
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.js +5 -0
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -0
- package/lib/module/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/module/skia/types/NativeBuffer/index.js +2 -0
- package/lib/module/skia/types/NativeBuffer/index.js.map +1 -0
- package/lib/module/skia/types/Paint/BlendMode.d.ts +58 -0
- package/lib/module/skia/types/Paint/BlendMode.js +60 -0
- package/lib/module/skia/types/Paint/BlendMode.js.map +1 -0
- package/lib/module/skia/types/Paint/Paint.d.ts +141 -0
- package/lib/module/skia/types/Paint/Paint.js +19 -0
- package/lib/module/skia/types/Paint/Paint.js.map +1 -0
- package/lib/module/skia/types/Paint/index.d.ts +2 -0
- package/lib/module/skia/types/Paint/index.js +3 -0
- package/lib/module/skia/types/Paint/index.js.map +1 -0
- package/lib/module/skia/types/Paragraph/Paragraph.d.ts +79 -0
- package/lib/module/skia/types/Paragraph/Paragraph.js +2 -0
- package/lib/module/skia/types/Paragraph/Paragraph.js.map +1 -0
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.d.ts +60 -0
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.js +10 -0
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.js.map +1 -0
- package/lib/module/skia/types/Paragraph/ParagraphStyle.d.ts +41 -0
- package/lib/module/skia/types/Paragraph/ParagraphStyle.js +22 -0
- package/lib/module/skia/types/Paragraph/ParagraphStyle.js.map +1 -0
- package/lib/module/skia/types/Paragraph/TextStyle.d.ts +62 -0
- package/lib/module/skia/types/Paragraph/TextStyle.js +21 -0
- package/lib/module/skia/types/Paragraph/TextStyle.js.map +1 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.d.ts +10 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.js +2 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.js.map +1 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +4 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.js +2 -0
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +1 -0
- package/lib/module/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/module/skia/types/Paragraph/index.js +7 -0
- package/lib/module/skia/types/Paragraph/index.js.map +1 -0
- package/lib/module/skia/types/Path/Path.d.ts +475 -0
- package/lib/module/skia/types/Path/Path.js +30 -0
- package/lib/module/skia/types/Path/Path.js.map +1 -0
- package/lib/module/skia/types/Path/PathFactory.d.ts +29 -0
- package/lib/module/skia/types/Path/PathFactory.js +2 -0
- package/lib/module/skia/types/Path/PathFactory.js.map +1 -0
- package/lib/module/skia/types/Path/index.d.ts +2 -0
- package/lib/module/skia/types/Path/index.js +3 -0
- package/lib/module/skia/types/Path/index.js.map +1 -0
- package/lib/module/skia/types/PathEffect.d.ts +75 -0
- package/lib/module/skia/types/PathEffect.js +8 -0
- package/lib/module/skia/types/PathEffect.js.map +1 -0
- package/lib/module/skia/types/Picture/Picture.d.ts +27 -0
- package/lib/module/skia/types/Picture/Picture.js +2 -0
- package/lib/module/skia/types/Picture/Picture.js.map +1 -0
- package/lib/module/skia/types/Picture/PictureFactory.d.ts +8 -0
- package/lib/module/skia/types/Picture/PictureFactory.js +2 -0
- package/lib/module/skia/types/Picture/PictureFactory.js.map +1 -0
- package/lib/module/skia/types/Picture/PictureRecorder.d.ts +15 -0
- package/lib/module/skia/types/Picture/PictureRecorder.js +2 -0
- package/lib/module/skia/types/Picture/PictureRecorder.js.map +1 -0
- package/lib/module/skia/types/Picture/index.d.ts +3 -0
- package/lib/module/skia/types/Picture/index.js +4 -0
- package/lib/module/skia/types/Picture/index.js.map +1 -0
- package/lib/module/skia/types/Point.d.ts +10 -0
- package/lib/module/skia/types/Point.js +7 -0
- package/lib/module/skia/types/Point.js.map +1 -0
- package/lib/module/skia/types/RRect.d.ts +16 -0
- package/lib/module/skia/types/RRect.js +5 -0
- package/lib/module/skia/types/RRect.js.map +1 -0
- package/lib/module/skia/types/RSXform.d.ts +8 -0
- package/lib/module/skia/types/RSXform.js +2 -0
- package/lib/module/skia/types/RSXform.js.map +1 -0
- package/lib/module/skia/types/Rect.d.ts +11 -0
- package/lib/module/skia/types/Rect.js +10 -0
- package/lib/module/skia/types/Rect.js.map +1 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.d.ts +52 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.js +2 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.js.map +1 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +10 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.js +2 -0
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +1 -0
- package/lib/module/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/module/skia/types/RuntimeEffect/index.js +3 -0
- package/lib/module/skia/types/RuntimeEffect/index.js.map +1 -0
- package/lib/module/skia/types/SVG/SVG.d.ts +5 -0
- package/lib/module/skia/types/SVG/SVG.js +2 -0
- package/lib/module/skia/types/SVG/SVG.js.map +1 -0
- package/lib/module/skia/types/SVG/SVGFactory.d.ts +6 -0
- package/lib/module/skia/types/SVG/SVGFactory.js +2 -0
- package/lib/module/skia/types/SVG/SVGFactory.js.map +1 -0
- package/lib/module/skia/types/SVG/index.d.ts +2 -0
- package/lib/module/skia/types/SVG/index.js +3 -0
- package/lib/module/skia/types/SVG/index.js.map +1 -0
- package/lib/module/skia/types/Shader/Shader.d.ts +10 -0
- package/lib/module/skia/types/Shader/Shader.js +39 -0
- package/lib/module/skia/types/Shader/Shader.js.map +1 -0
- package/lib/module/skia/types/Shader/ShaderFactory.d.ts +104 -0
- package/lib/module/skia/types/Shader/ShaderFactory.js +2 -0
- package/lib/module/skia/types/Shader/ShaderFactory.js.map +1 -0
- package/lib/module/skia/types/Shader/index.d.ts +2 -0
- package/lib/module/skia/types/Shader/index.js +3 -0
- package/lib/module/skia/types/Shader/index.js.map +1 -0
- package/lib/module/skia/types/Size.d.ts +4 -0
- package/lib/module/skia/types/Size.js +2 -0
- package/lib/module/skia/types/Size.js.map +1 -0
- package/lib/module/skia/types/Skia.d.ts +78 -0
- package/lib/module/skia/types/Skia.js +2 -0
- package/lib/module/skia/types/Skia.js.map +1 -0
- package/lib/module/skia/types/Surface/Surface.d.ts +37 -0
- package/lib/module/skia/types/Surface/Surface.js +2 -0
- package/lib/module/skia/types/Surface/Surface.js.map +1 -0
- package/lib/module/skia/types/Surface/SurfaceFactory.d.ts +17 -0
- package/lib/module/skia/types/Surface/SurfaceFactory.js +2 -0
- package/lib/module/skia/types/Surface/SurfaceFactory.js.map +1 -0
- package/lib/module/skia/types/Surface/index.d.ts +2 -0
- package/lib/module/skia/types/Surface/index.js +3 -0
- package/lib/module/skia/types/Surface/index.js.map +1 -0
- package/lib/module/skia/types/TextBlob.d.ts +44 -0
- package/lib/module/skia/types/TextBlob.js +2 -0
- package/lib/module/skia/types/TextBlob.js.map +1 -0
- package/lib/module/skia/types/Typeface/Typeface.d.ts +11 -0
- package/lib/module/skia/types/Typeface/Typeface.js +2 -0
- package/lib/module/skia/types/Typeface/Typeface.js.map +1 -0
- package/lib/module/skia/types/Typeface/TypefaceFactory.d.ts +5 -0
- package/lib/module/skia/types/Typeface/TypefaceFactory.js +2 -0
- package/lib/module/skia/types/Typeface/TypefaceFactory.js.map +1 -0
- package/lib/module/skia/types/Typeface/index.d.ts +2 -0
- package/lib/module/skia/types/Typeface/index.js +3 -0
- package/lib/module/skia/types/Typeface/index.js.map +1 -0
- package/lib/module/skia/types/Vertices/Vertices.d.ts +17 -0
- package/lib/module/skia/types/Vertices/Vertices.js +7 -0
- package/lib/module/skia/types/Vertices/Vertices.js.map +1 -0
- package/lib/module/skia/types/Vertices/index.d.ts +1 -0
- package/lib/module/skia/types/Vertices/index.js +2 -0
- package/lib/module/skia/types/Vertices/index.js.map +1 -0
- package/lib/module/skia/types/Video/Video.d.ts +17 -0
- package/lib/module/skia/types/Video/Video.js +2 -0
- package/lib/module/skia/types/Video/Video.js.map +1 -0
- package/lib/module/skia/types/Video/index.d.ts +1 -0
- package/lib/module/skia/types/Video/index.js +2 -0
- package/lib/module/skia/types/Video/index.js.map +1 -0
- package/lib/module/skia/types/index.d.ts +33 -0
- package/lib/module/skia/types/index.js +34 -0
- package/lib/module/skia/types/index.js.map +1 -0
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.d.ts +9 -0
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.js +23 -0
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.js.map +1 -0
- package/lib/module/skia/web/Host.d.ts +20 -0
- package/lib/module/skia/web/Host.js +33 -0
- package/lib/module/skia/web/Host.js.map +1 -0
- package/lib/module/skia/web/JsiSkAnimatedImage.d.ts +11 -0
- package/lib/module/skia/web/JsiSkAnimatedImage.js +27 -0
- package/lib/module/skia/web/JsiSkAnimatedImage.js.map +1 -0
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.js +16 -0
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkCanvas.d.ts +47 -0
- package/lib/module/skia/web/JsiSkCanvas.js +170 -0
- package/lib/module/skia/web/JsiSkCanvas.js.map +1 -0
- package/lib/module/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/module/skia/web/JsiSkColor.js +298 -0
- package/lib/module/skia/web/JsiSkColor.js.map +1 -0
- package/lib/module/skia/web/JsiSkColorFilter.d.ts +7 -0
- package/lib/module/skia/web/JsiSkColorFilter.js +13 -0
- package/lib/module/skia/web/JsiSkColorFilter.js.map +1 -0
- package/lib/module/skia/web/JsiSkColorFilterFactory.d.ts +14 -0
- package/lib/module/skia/web/JsiSkColorFilterFactory.js +29 -0
- package/lib/module/skia/web/JsiSkColorFilterFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkContourMeasure.d.ts +13 -0
- package/lib/module/skia/web/JsiSkContourMeasure.js +28 -0
- package/lib/module/skia/web/JsiSkContourMeasure.js.map +1 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.d.ts +9 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.js +21 -0
- package/lib/module/skia/web/JsiSkContourMeasureIter.js.map +1 -0
- package/lib/module/skia/web/JsiSkData.d.ts +9 -0
- package/lib/module/skia/web/JsiSkData.js +13 -0
- package/lib/module/skia/web/JsiSkData.js.map +1 -0
- package/lib/module/skia/web/JsiSkDataFactory.d.ts +19 -0
- package/lib/module/skia/web/JsiSkDataFactory.js +26 -0
- package/lib/module/skia/web/JsiSkDataFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkFont.d.ts +35 -0
- package/lib/module/skia/web/JsiSkFont.js +92 -0
- package/lib/module/skia/web/JsiSkFont.js.map +1 -0
- package/lib/module/skia/web/JsiSkFontMgr.d.ts +10 -0
- package/lib/module/skia/web/JsiSkFontMgr.js +19 -0
- package/lib/module/skia/web/JsiSkFontMgr.js.map +1 -0
- package/lib/module/skia/web/JsiSkFontMgrFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkFontMgrFactory.js +15 -0
- package/lib/module/skia/web/JsiSkFontMgrFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkImage.d.ts +17 -0
- package/lib/module/skia/web/JsiSkImage.js +114 -0
- package/lib/module/skia/web/JsiSkImage.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFactory.d.ts +12 -0
- package/lib/module/skia/web/JsiSkImageFactory.js +61 -0
- package/lib/module/skia/web/JsiSkImageFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFilter.d.ts +7 -0
- package/lib/module/skia/web/JsiSkImageFilter.js +13 -0
- package/lib/module/skia/web/JsiSkImageFilter.js.map +1 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.d.ts +19 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.js +75 -0
- package/lib/module/skia/web/JsiSkImageFilterFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkMaskFilter.d.ts +7 -0
- package/lib/module/skia/web/JsiSkMaskFilter.js +13 -0
- package/lib/module/skia/web/JsiSkMaskFilter.js.map +1 -0
- package/lib/module/skia/web/JsiSkMaskFilterFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkMaskFilterFactory.js +11 -0
- package/lib/module/skia/web/JsiSkMaskFilterFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkMatrix.d.ts +20 -0
- package/lib/module/skia/web/JsiSkMatrix.js +66 -0
- package/lib/module/skia/web/JsiSkMatrix.js.map +1 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js +22 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPaint.d.ts +30 -0
- package/lib/module/skia/web/JsiSkPaint.js +89 -0
- package/lib/module/skia/web/JsiSkPaint.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraph.d.ts +19 -0
- package/lib/module/skia/web/JsiSkParagraph.js +70 -0
- package/lib/module/skia/web/JsiSkParagraph.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.d.ts +15 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.js +56 -0
- package/lib/module/skia/web/JsiSkParagraphBuilder.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.js +20 -0
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkParagraphStyle.d.ts +5 -0
- package/lib/module/skia/web/JsiSkParagraphStyle.js +47 -0
- package/lib/module/skia/web/JsiSkParagraphStyle.js.map +1 -0
- package/lib/module/skia/web/JsiSkPath.d.ts +58 -0
- package/lib/module/skia/web/JsiSkPath.js +256 -0
- package/lib/module/skia/web/JsiSkPath.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathEffect.d.ts +7 -0
- package/lib/module/skia/web/JsiSkPathEffect.js +13 -0
- package/lib/module/skia/web/JsiSkPathEffect.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathEffectFactory.d.ts +15 -0
- package/lib/module/skia/web/JsiSkPathEffectFactory.js +52 -0
- package/lib/module/skia/web/JsiSkPathEffectFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPathFactory.d.ts +13 -0
- package/lib/module/skia/web/JsiSkPathFactory.js +35 -0
- package/lib/module/skia/web/JsiSkPathFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPicture.d.ts +10 -0
- package/lib/module/skia/web/JsiSkPicture.js +24 -0
- package/lib/module/skia/web/JsiSkPicture.js.map +1 -0
- package/lib/module/skia/web/JsiSkPictureFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkPictureFactory.js +15 -0
- package/lib/module/skia/web/JsiSkPictureFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.d.ts +12 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.js +22 -0
- package/lib/module/skia/web/JsiSkPictureRecorder.js.map +1 -0
- package/lib/module/skia/web/JsiSkPoint.d.ts +10 -0
- package/lib/module/skia/web/JsiSkPoint.js +25 -0
- package/lib/module/skia/web/JsiSkPoint.js.map +1 -0
- package/lib/module/skia/web/JsiSkRRect.d.ts +12 -0
- package/lib/module/skia/web/JsiSkRRect.js +43 -0
- package/lib/module/skia/web/JsiSkRRect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRSXform.d.ts +14 -0
- package/lib/module/skia/web/JsiSkRSXform.js +37 -0
- package/lib/module/skia/web/JsiSkRSXform.js.map +1 -0
- package/lib/module/skia/web/JsiSkRect.d.ts +13 -0
- package/lib/module/skia/web/JsiSkRect.js +37 -0
- package/lib/module/skia/web/JsiSkRect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.d.ts +17 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.js +37 -0
- package/lib/module/skia/web/JsiSkRuntimeEffect.js.map +1 -0
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.js +15 -0
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkSVG.d.ts +9 -0
- package/lib/module/skia/web/JsiSkSVG.js +21 -0
- package/lib/module/skia/web/JsiSkSVG.js.map +1 -0
- package/lib/module/skia/web/JsiSkSVGFactory.d.ts +10 -0
- package/lib/module/skia/web/JsiSkSVGFactory.js +49 -0
- package/lib/module/skia/web/JsiSkSVGFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkShader.d.ts +7 -0
- package/lib/module/skia/web/JsiSkShader.js +13 -0
- package/lib/module/skia/web/JsiSkShader.js.map +1 -0
- package/lib/module/skia/web/JsiSkShaderFactory.d.ts +16 -0
- package/lib/module/skia/web/JsiSkShaderFactory.js +34 -0
- package/lib/module/skia/web/JsiSkShaderFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkSurface.d.ts +12 -0
- package/lib/module/skia/web/JsiSkSurface.js +32 -0
- package/lib/module/skia/web/JsiSkSurface.js.map +1 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.d.ts +9 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.js +32 -0
- package/lib/module/skia/web/JsiSkSurfaceFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkTextBlob.d.ts +7 -0
- package/lib/module/skia/web/JsiSkTextBlob.js +13 -0
- package/lib/module/skia/web/JsiSkTextBlob.js.map +1 -0
- package/lib/module/skia/web/JsiSkTextBlobFactory.d.ts +13 -0
- package/lib/module/skia/web/JsiSkTextBlobFactory.js +23 -0
- package/lib/module/skia/web/JsiSkTextBlobFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkTextStyle.d.ts +5 -0
- package/lib/module/skia/web/JsiSkTextStyle.js +44 -0
- package/lib/module/skia/web/JsiSkTextStyle.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypeface.d.ts +10 -0
- package/lib/module/skia/web/JsiSkTypeface.js +24 -0
- package/lib/module/skia/web/JsiSkTypeface.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypefaceFactory.d.ts +8 -0
- package/lib/module/skia/web/JsiSkTypefaceFactory.js +15 -0
- package/lib/module/skia/web/JsiSkTypefaceFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.d.ts +13 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js +69 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js.map +1 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +7 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.js +12 -0
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkVertices.d.ts +10 -0
- package/lib/module/skia/web/JsiSkVertices.js +20 -0
- package/lib/module/skia/web/JsiSkVertices.js.map +1 -0
- package/lib/module/skia/web/JsiSkVerticesFactory.d.ts +4 -0
- package/lib/module/skia/web/JsiSkVerticesFactory.js +23 -0
- package/lib/module/skia/web/JsiSkVerticesFactory.js.map +1 -0
- package/lib/module/skia/web/JsiSkia.d.ts +3 -0
- package/lib/module/skia/web/JsiSkia.js +81 -0
- package/lib/module/skia/web/JsiSkia.js.map +1 -0
- package/lib/module/skia/web/JsiVideo.d.ts +24 -0
- package/lib/module/skia/web/JsiVideo.js +75 -0
- package/lib/module/skia/web/JsiVideo.js.map +1 -0
- package/lib/module/skia/web/index.d.ts +1 -0
- package/lib/module/skia/web/index.js +2 -0
- package/lib/module/skia/web/index.js.map +1 -0
- package/lib/module/specs/NativeSkiaModule.d.ts +6 -0
- package/lib/module/specs/NativeSkiaModule.js +4 -0
- package/lib/module/specs/NativeSkiaModule.js.map +1 -0
- package/lib/module/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/module/specs/NativeSkiaModule.web.js +2 -0
- package/lib/module/specs/NativeSkiaModule.web.js.map +1 -0
- package/lib/module/specs/SkiaDomViewNativeComponent.d.ts +8 -0
- package/lib/module/specs/SkiaDomViewNativeComponent.js +4 -0
- package/lib/module/specs/SkiaDomViewNativeComponent.js.map +1 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.d.ts +8 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.js +4 -0
- package/lib/module/specs/SkiaPictureViewNativeComponent.js.map +1 -0
- package/lib/module/views/SkiaBaseWebView.d.ts +60 -0
- package/lib/module/views/SkiaBaseWebView.js +178 -0
- package/lib/module/views/SkiaBaseWebView.js.map +1 -0
- package/lib/module/views/SkiaDomView.d.ts +30 -0
- package/lib/module/views/SkiaDomView.js +115 -0
- package/lib/module/views/SkiaDomView.js.map +1 -0
- package/lib/module/views/SkiaDomView.web.d.ts +7 -0
- package/lib/module/views/SkiaDomView.web.js +30 -0
- package/lib/module/views/SkiaDomView.web.js.map +1 -0
- package/lib/module/views/SkiaJSDomView.d.ts +31 -0
- package/lib/module/views/SkiaJSDomView.js +122 -0
- package/lib/module/views/SkiaJSDomView.js.map +1 -0
- package/lib/module/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/module/views/SkiaJSDomView.web.js +2 -0
- package/lib/module/views/SkiaJSDomView.web.js.map +1 -0
- package/lib/module/views/SkiaPictureView.d.ts +20 -0
- package/lib/module/views/SkiaPictureView.js +82 -0
- package/lib/module/views/SkiaPictureView.js.map +1 -0
- package/lib/module/views/SkiaPictureView.web.d.ts +7 -0
- package/lib/module/views/SkiaPictureView.web.js +12 -0
- package/lib/module/views/SkiaPictureView.web.js.map +1 -0
- package/lib/module/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/module/views/SkiaViewNativeId.js +4 -0
- package/lib/module/views/SkiaViewNativeId.js.map +1 -0
- package/lib/module/views/api.d.ts +5 -0
- package/lib/module/views/api.js +4 -0
- package/lib/module/views/api.js.map +1 -0
- package/lib/module/views/index.d.ts +4 -0
- package/lib/module/views/index.js +5 -0
- package/lib/module/views/index.js.map +1 -0
- package/lib/module/views/types.d.ts +72 -0
- package/lib/module/views/types.js +8 -0
- package/lib/module/views/types.js.map +1 -0
- package/lib/module/views/useTouchHandler.d.ts +22 -0
- package/lib/module/views/useTouchHandler.js +75 -0
- package/lib/module/views/useTouchHandler.js.map +1 -0
- package/lib/module/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/module/web/LoadSkiaWeb.js +19 -0
- package/lib/module/web/LoadSkiaWeb.js.map +1 -0
- package/lib/module/web/WithSkiaWeb.d.ts +12 -0
- package/lib/module/web/WithSkiaWeb.js +24 -0
- package/lib/module/web/WithSkiaWeb.js.map +1 -0
- package/lib/module/web/index.d.ts +2 -0
- package/lib/module/web/index.js +3 -0
- package/lib/module/web/index.js.map +1 -0
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/jestEnv.d.mts +5 -0
- package/lib/typescript/jestSetup.d.mts +1 -0
- package/lib/typescript/jestSetup.d.ts +1 -0
- package/lib/typescript/src/Platform/IPlatform.d.ts +10 -0
- package/lib/typescript/src/Platform/Platform.d.ts +2 -0
- package/lib/typescript/src/Platform/Platform.web.d.ts +2 -0
- package/lib/typescript/src/Platform/index.d.ts +1 -0
- package/lib/typescript/src/animation/functions/index.d.ts +4 -0
- package/lib/typescript/src/animation/functions/interpolate.d.ts +17 -0
- package/lib/typescript/src/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/typescript/src/animation/functions/interpolatePaths.d.ts +19 -0
- package/lib/typescript/src/animation/functions/interpolateVector.d.ts +10 -0
- package/lib/typescript/src/animation/index.d.ts +1 -0
- package/lib/typescript/src/dom/nodes/DrawingNode.d.ts +14 -0
- package/lib/typescript/src/dom/nodes/GroupNode.d.ts +7 -0
- package/lib/typescript/src/dom/nodes/JsiSkDOM.d.ts +68 -0
- package/lib/typescript/src/dom/nodes/LayerNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/Node.d.ts +34 -0
- package/lib/typescript/src/dom/nodes/PaintNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/RenderNode.d.ts +26 -0
- package/lib/typescript/src/dom/nodes/datatypes/Circle.d.ts +7 -0
- package/lib/typescript/src/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/typescript/src/dom/nodes/datatypes/Fitting.d.ts +33 -0
- package/lib/typescript/src/dom/nodes/datatypes/Gradient.d.ts +252 -0
- package/lib/typescript/src/dom/nodes/datatypes/Path.d.ts +4 -0
- package/lib/typescript/src/dom/nodes/datatypes/Radius.d.ts +3 -0
- package/lib/typescript/src/dom/nodes/datatypes/Rect.d.ts +5 -0
- package/lib/typescript/src/dom/nodes/datatypes/Transform.d.ts +3 -0
- package/lib/typescript/src/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/AtlasNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/BackdropFilterNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/typescript/src/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/DiffRectNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/FillNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/ImageNode.d.ts +25 -0
- package/lib/typescript/src/dom/nodes/drawings/ImageSVG.d.ts +13 -0
- package/lib/typescript/src/dom/nodes/drawings/LineNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/PatchNode.d.ts +18 -0
- package/lib/typescript/src/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/PointsNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/typescript/src/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/Text.d.ts +30 -0
- package/lib/typescript/src/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/typescript/src/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/typescript/src/dom/nodes/index.d.ts +3 -0
- package/lib/typescript/src/dom/nodes/paint/BlendNode.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/paint/ColorFilters.d.ts +35 -0
- package/lib/typescript/src/dom/nodes/paint/ImageFilters.d.ts +42 -0
- package/lib/typescript/src/dom/nodes/paint/MaskFilters.d.ts +8 -0
- package/lib/typescript/src/dom/nodes/paint/PathEffects.d.ts +39 -0
- package/lib/typescript/src/dom/nodes/paint/Shaders.d.ts +43 -0
- package/lib/typescript/src/dom/nodes/paint/index.d.ts +6 -0
- package/lib/typescript/src/dom/types/ColorFilters.d.ts +12 -0
- package/lib/typescript/src/dom/types/Common.d.ts +57 -0
- package/lib/typescript/src/dom/types/DeclarationContext.d.ts +29 -0
- package/lib/typescript/src/dom/types/DrawingContext.d.ts +22 -0
- package/lib/typescript/src/dom/types/Drawings.d.ts +111 -0
- package/lib/typescript/src/dom/types/ImageFilters.d.ts +37 -0
- package/lib/typescript/src/dom/types/MaskFilters.d.ts +7 -0
- package/lib/typescript/src/dom/types/Node.d.ts +22 -0
- package/lib/typescript/src/dom/types/NodeType.d.ts +59 -0
- package/lib/typescript/src/dom/types/Paragraph.d.ts +8 -0
- package/lib/typescript/src/dom/types/PathEffects.d.ts +28 -0
- package/lib/typescript/src/dom/types/Shaders.d.ts +59 -0
- package/lib/typescript/src/dom/types/SkDOM.d.ts +73 -0
- package/lib/typescript/src/dom/types/index.d.ts +13 -0
- package/lib/typescript/src/external/ModuleProxy.d.ts +10 -0
- package/lib/typescript/src/external/index.d.ts +1 -0
- package/lib/typescript/src/external/reanimated/ReanimatedProxy.d.ts +3 -0
- package/lib/typescript/src/external/reanimated/buffers.d.ts +7 -0
- package/lib/typescript/src/external/reanimated/index.d.ts +7 -0
- package/lib/typescript/src/external/reanimated/interpolators.d.ts +10 -0
- package/lib/typescript/src/external/reanimated/renderHelpers.d.ts +6 -0
- package/lib/typescript/src/external/reanimated/textures.d.ts +8 -0
- package/lib/typescript/src/external/reanimated/useAnimatedImageValue.d.ts +3 -0
- package/lib/typescript/src/external/reanimated/useDerivedValueOnJS.d.ts +1 -0
- package/lib/typescript/src/external/reanimated/useVideo.d.ts +21 -0
- package/lib/typescript/src/external/reanimated/useVideoLoading.d.ts +4 -0
- package/lib/typescript/src/external/reanimated/useVideoLoading.web.d.ts +4 -0
- package/lib/typescript/src/headless/index.d.ts +8 -0
- package/lib/typescript/src/index.d.ts +11 -0
- package/lib/typescript/src/mock/index.d.ts +2 -0
- package/lib/typescript/src/renderer/Canvas.d.ts +11 -0
- package/lib/typescript/src/renderer/Container.d.ts +11 -0
- package/lib/typescript/src/renderer/DrawingContext.d.ts +7 -0
- package/lib/typescript/src/renderer/HostComponents.d.ts +132 -0
- package/lib/typescript/src/renderer/HostConfig.d.ts +19 -0
- package/lib/typescript/src/renderer/Offscreen.d.ts +6 -0
- package/lib/typescript/src/renderer/Reconciler.d.ts +10 -0
- package/lib/typescript/src/renderer/components/Blend.d.ts +4 -0
- package/lib/typescript/src/renderer/components/Group.d.ts +8 -0
- package/lib/typescript/src/renderer/components/Mask.d.ts +10 -0
- package/lib/typescript/src/renderer/components/Paint.d.ts +4 -0
- package/lib/typescript/src/renderer/components/Picture.d.ts +4 -0
- package/lib/typescript/src/renderer/components/backdrop/BackdropBlur.d.ts +9 -0
- package/lib/typescript/src/renderer/components/backdrop/BackdropFilter.d.ts +8 -0
- package/lib/typescript/src/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/typescript/src/renderer/components/colorFilters/BlendColor.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/Lerp.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/LumaColorFilter.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/Matrix.d.ts +5 -0
- package/lib/typescript/src/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +4 -0
- package/lib/typescript/src/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/typescript/src/renderer/components/image/Image.d.ts +4 -0
- package/lib/typescript/src/renderer/components/image/ImageSVG.d.ts +4 -0
- package/lib/typescript/src/renderer/components/image/ImageShader.d.ts +4 -0
- package/lib/typescript/src/renderer/components/image/index.d.ts +3 -0
- package/lib/typescript/src/renderer/components/imageFilters/Blur.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/DisplacementMap.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/Morphology.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/Offset.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/RuntimeShader.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/Shadow.d.ts +4 -0
- package/lib/typescript/src/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/typescript/src/renderer/components/index.d.ts +16 -0
- package/lib/typescript/src/renderer/components/maskFilters/Blur.d.ts +4 -0
- package/lib/typescript/src/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/typescript/src/renderer/components/paragraph/Paragraph.d.ts +4 -0
- package/lib/typescript/src/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/typescript/src/renderer/components/pathEffects/Corner.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Dash.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Discrete.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Line2D.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Path1D.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Path2D.d.ts +4 -0
- package/lib/typescript/src/renderer/components/pathEffects/Sum.d.ts +3 -0
- package/lib/typescript/src/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/typescript/src/renderer/components/shaders/Color.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/FractalNoise.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/LinearGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/RadialGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/Shader.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/ShaderLib.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/SweepGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/Turbulence.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/TwoPointConicalGradient.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shaders/index.d.ts +9 -0
- package/lib/typescript/src/renderer/components/shapes/Atlas.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Box.d.ts +5 -0
- package/lib/typescript/src/renderer/components/shapes/Circle.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/DiffRect.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Fill.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/FitBox.d.ts +13 -0
- package/lib/typescript/src/renderer/components/shapes/Line.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Oval.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Patch.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Path.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Points.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Rect.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/RoundedRect.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/Vertices.d.ts +4 -0
- package/lib/typescript/src/renderer/components/shapes/index.d.ts +14 -0
- package/lib/typescript/src/renderer/components/text/Glyphs.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/Text.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/TextBlob.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/TextPath.d.ts +4 -0
- package/lib/typescript/src/renderer/components/text/index.d.ts +4 -0
- package/lib/typescript/src/renderer/index.d.ts +1 -0
- package/lib/typescript/src/renderer/processors/Animations/Animations.d.ts +13 -0
- package/lib/typescript/src/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/typescript/src/renderer/processors/index.d.ts +2 -0
- package/lib/typescript/src/renderer/processors/math/Coordinates.d.ts +29 -0
- package/lib/typescript/src/renderer/processors/math/Math.d.ts +16 -0
- package/lib/typescript/src/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/typescript/src/renderer/processors/math/index.d.ts +3 -0
- package/lib/typescript/src/renderer/typeddash.d.ts +3 -0
- package/lib/typescript/src/skia/NativeSetup.d.ts +1 -0
- package/lib/typescript/src/skia/Skia.d.ts +8 -0
- package/lib/typescript/src/skia/Skia.web.d.ts +1 -0
- package/lib/typescript/src/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/typescript/src/skia/core/Data.d.ts +5 -0
- package/lib/typescript/src/skia/core/Font.d.ts +18 -0
- package/lib/typescript/src/skia/core/Image.d.ts +17 -0
- package/lib/typescript/src/skia/core/Matrix.d.ts +2 -0
- package/lib/typescript/src/skia/core/Picture.d.ts +8 -0
- package/lib/typescript/src/skia/core/RRect.d.ts +2 -0
- package/lib/typescript/src/skia/core/Rect.d.ts +8 -0
- package/lib/typescript/src/skia/core/SVG.d.ts +2 -0
- package/lib/typescript/src/skia/core/SVG.web.d.ts +2 -0
- package/lib/typescript/src/skia/core/Typeface.d.ts +5 -0
- package/lib/typescript/src/skia/core/Vector.d.ts +7 -0
- package/lib/typescript/src/skia/core/index.d.ts +11 -0
- package/lib/typescript/src/skia/index.d.ts +3 -0
- package/lib/typescript/src/skia/types/AnimatedImage/AnimatedImage.d.ts +24 -0
- package/lib/typescript/src/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +13 -0
- package/lib/typescript/src/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Canvas.d.ts +404 -0
- package/lib/typescript/src/skia/types/Color.d.ts +2 -0
- package/lib/typescript/src/skia/types/ColorFilter/ColorFilter.d.ts +3 -0
- package/lib/typescript/src/skia/types/ColorFilter/ColorFilterFactory.d.ts +43 -0
- package/lib/typescript/src/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/ContourMeasure.d.ts +41 -0
- package/lib/typescript/src/skia/types/Data/Data.d.ts +12 -0
- package/lib/typescript/src/skia/types/Data/DataFactory.d.ts +18 -0
- package/lib/typescript/src/skia/types/Data/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Font/Font.d.ts +189 -0
- package/lib/typescript/src/skia/types/Font/FontMgr.d.ts +8 -0
- package/lib/typescript/src/skia/types/Font/FontMgrFactory.d.ts +4 -0
- package/lib/typescript/src/skia/types/Font/index.d.ts +3 -0
- package/lib/typescript/src/skia/types/Image/Image.d.ts +102 -0
- package/lib/typescript/src/skia/types/Image/ImageFactory.d.ts +80 -0
- package/lib/typescript/src/skia/types/Image/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/ImageFilter/ImageFilter.d.ts +23 -0
- package/lib/typescript/src/skia/types/ImageFilter/ImageFilterFactory.d.ts +130 -0
- package/lib/typescript/src/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/JsiInstance.d.ts +4 -0
- package/lib/typescript/src/skia/types/MaskFilter.d.ts +21 -0
- package/lib/typescript/src/skia/types/Matrix.d.ts +23 -0
- package/lib/typescript/src/skia/types/Matrix4.d.ts +103 -0
- package/lib/typescript/src/skia/types/NativeBuffer/NativeBufferFactory.d.ts +20 -0
- package/lib/typescript/src/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/Paint/BlendMode.d.ts +58 -0
- package/lib/typescript/src/skia/types/Paint/Paint.d.ts +141 -0
- package/lib/typescript/src/skia/types/Paint/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Paragraph/Paragraph.d.ts +79 -0
- package/lib/typescript/src/skia/types/Paragraph/ParagraphBuilder.d.ts +60 -0
- package/lib/typescript/src/skia/types/Paragraph/ParagraphStyle.d.ts +41 -0
- package/lib/typescript/src/skia/types/Paragraph/TextStyle.d.ts +62 -0
- package/lib/typescript/src/skia/types/Paragraph/TypefaceFontProvider.d.ts +10 -0
- package/lib/typescript/src/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +4 -0
- package/lib/typescript/src/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/typescript/src/skia/types/Path/Path.d.ts +475 -0
- package/lib/typescript/src/skia/types/Path/PathFactory.d.ts +29 -0
- package/lib/typescript/src/skia/types/Path/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/PathEffect.d.ts +75 -0
- package/lib/typescript/src/skia/types/Picture/Picture.d.ts +27 -0
- package/lib/typescript/src/skia/types/Picture/PictureFactory.d.ts +8 -0
- package/lib/typescript/src/skia/types/Picture/PictureRecorder.d.ts +15 -0
- package/lib/typescript/src/skia/types/Picture/index.d.ts +3 -0
- package/lib/typescript/src/skia/types/Point.d.ts +10 -0
- package/lib/typescript/src/skia/types/RRect.d.ts +16 -0
- package/lib/typescript/src/skia/types/RSXform.d.ts +8 -0
- package/lib/typescript/src/skia/types/Rect.d.ts +11 -0
- package/lib/typescript/src/skia/types/RuntimeEffect/RuntimeEffect.d.ts +52 -0
- package/lib/typescript/src/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +10 -0
- package/lib/typescript/src/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/SVG/SVG.d.ts +5 -0
- package/lib/typescript/src/skia/types/SVG/SVGFactory.d.ts +6 -0
- package/lib/typescript/src/skia/types/SVG/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Shader/Shader.d.ts +10 -0
- package/lib/typescript/src/skia/types/Shader/ShaderFactory.d.ts +104 -0
- package/lib/typescript/src/skia/types/Shader/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Size.d.ts +4 -0
- package/lib/typescript/src/skia/types/Skia.d.ts +78 -0
- package/lib/typescript/src/skia/types/Surface/Surface.d.ts +37 -0
- package/lib/typescript/src/skia/types/Surface/SurfaceFactory.d.ts +17 -0
- package/lib/typescript/src/skia/types/Surface/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/TextBlob.d.ts +44 -0
- package/lib/typescript/src/skia/types/Typeface/Typeface.d.ts +11 -0
- package/lib/typescript/src/skia/types/Typeface/TypefaceFactory.d.ts +5 -0
- package/lib/typescript/src/skia/types/Typeface/index.d.ts +2 -0
- package/lib/typescript/src/skia/types/Vertices/Vertices.d.ts +17 -0
- package/lib/typescript/src/skia/types/Vertices/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/Video/Video.d.ts +17 -0
- package/lib/typescript/src/skia/types/Video/index.d.ts +1 -0
- package/lib/typescript/src/skia/types/index.d.ts +33 -0
- package/lib/typescript/src/skia/web/CanvasKitWebGLBufferImpl.d.ts +9 -0
- package/lib/typescript/src/skia/web/Host.d.ts +20 -0
- package/lib/typescript/src/skia/web/JsiSkAnimatedImage.d.ts +11 -0
- package/lib/typescript/src/skia/web/JsiSkAnimatedImageFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkCanvas.d.ts +47 -0
- package/lib/typescript/src/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/typescript/src/skia/web/JsiSkColorFilter.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkColorFilterFactory.d.ts +14 -0
- package/lib/typescript/src/skia/web/JsiSkContourMeasure.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkContourMeasureIter.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkData.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkDataFactory.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkFont.d.ts +35 -0
- package/lib/typescript/src/skia/web/JsiSkFontMgr.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkFontMgrFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkImage.d.ts +17 -0
- package/lib/typescript/src/skia/web/JsiSkImageFactory.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkImageFilter.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkImageFilterFactory.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkMaskFilter.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkMaskFilterFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkMatrix.d.ts +20 -0
- package/lib/typescript/src/skia/web/JsiSkNativeBufferFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkPaint.d.ts +30 -0
- package/lib/typescript/src/skia/web/JsiSkParagraph.d.ts +19 -0
- package/lib/typescript/src/skia/web/JsiSkParagraphBuilder.d.ts +15 -0
- package/lib/typescript/src/skia/web/JsiSkParagraphBuilderFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkParagraphStyle.d.ts +5 -0
- package/lib/typescript/src/skia/web/JsiSkPath.d.ts +58 -0
- package/lib/typescript/src/skia/web/JsiSkPathEffect.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkPathEffectFactory.d.ts +15 -0
- package/lib/typescript/src/skia/web/JsiSkPathFactory.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkPicture.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkPictureFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkPictureRecorder.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkPoint.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkRRect.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkRSXform.d.ts +14 -0
- package/lib/typescript/src/skia/web/JsiSkRect.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkRuntimeEffect.d.ts +17 -0
- package/lib/typescript/src/skia/web/JsiSkRuntimeEffectFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkSVG.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkSVGFactory.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkShader.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkShaderFactory.d.ts +16 -0
- package/lib/typescript/src/skia/web/JsiSkSurface.d.ts +12 -0
- package/lib/typescript/src/skia/web/JsiSkSurfaceFactory.d.ts +9 -0
- package/lib/typescript/src/skia/web/JsiSkTextBlob.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkTextBlobFactory.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkTextStyle.d.ts +5 -0
- package/lib/typescript/src/skia/web/JsiSkTypeface.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFactory.d.ts +8 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFontProvider.d.ts +13 -0
- package/lib/typescript/src/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +7 -0
- package/lib/typescript/src/skia/web/JsiSkVertices.d.ts +10 -0
- package/lib/typescript/src/skia/web/JsiSkVerticesFactory.d.ts +4 -0
- package/lib/typescript/src/skia/web/JsiSkia.d.ts +3 -0
- package/lib/typescript/src/skia/web/JsiVideo.d.ts +24 -0
- package/lib/typescript/src/skia/web/index.d.ts +1 -0
- package/lib/typescript/src/specs/NativeSkiaModule.d.ts +6 -0
- package/lib/typescript/src/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/typescript/src/specs/SkiaDomViewNativeComponent.d.ts +8 -0
- package/lib/typescript/src/specs/SkiaPictureViewNativeComponent.d.ts +8 -0
- package/lib/typescript/src/views/SkiaBaseWebView.d.ts +60 -0
- package/lib/typescript/src/views/SkiaDomView.d.ts +30 -0
- package/lib/typescript/src/views/SkiaDomView.web.d.ts +7 -0
- package/lib/typescript/src/views/SkiaJSDomView.d.ts +31 -0
- package/lib/typescript/src/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/typescript/src/views/SkiaPictureView.d.ts +20 -0
- package/lib/typescript/src/views/SkiaPictureView.web.d.ts +7 -0
- package/lib/typescript/src/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/typescript/src/views/api.d.ts +5 -0
- package/lib/typescript/src/views/index.d.ts +4 -0
- package/lib/typescript/src/views/types.d.ts +72 -0
- package/lib/typescript/src/views/useTouchHandler.d.ts +22 -0
- package/lib/typescript/src/web/LoadSkiaWeb.d.ts +6 -0
- package/lib/typescript/src/web/WithSkiaWeb.d.ts +12 -0
- package/lib/typescript/src/web/index.d.ts +2 -0
- package/libs/android/arm64-v8a/libskia.a +0 -0
- package/libs/android/arm64-v8a/libskottie.a +0 -0
- package/libs/android/arm64-v8a/libskparagraph.a +0 -0
- package/libs/android/arm64-v8a/libsksg.a +0 -0
- package/libs/android/arm64-v8a/libskshaper.a +0 -0
- package/libs/android/arm64-v8a/libskunicode.a +0 -0
- package/libs/android/arm64-v8a/libsvg.a +0 -0
- package/libs/android/armeabi-v7a/libskia.a +0 -0
- package/libs/android/armeabi-v7a/libskottie.a +0 -0
- package/libs/android/armeabi-v7a/libskparagraph.a +0 -0
- package/libs/android/armeabi-v7a/libsksg.a +0 -0
- package/libs/android/armeabi-v7a/libskshaper.a +0 -0
- package/libs/android/armeabi-v7a/libskunicode.a +0 -0
- package/libs/android/armeabi-v7a/libsvg.a +0 -0
- package/libs/android/x86/libskia.a +0 -0
- package/libs/android/x86/libskottie.a +0 -0
- package/libs/android/x86/libskparagraph.a +0 -0
- package/libs/android/x86/libsksg.a +0 -0
- package/libs/android/x86/libskshaper.a +0 -0
- package/libs/android/x86/libskunicode.a +0 -0
- package/libs/android/x86/libsvg.a +0 -0
- package/libs/android/x86_64/libskia.a +0 -0
- package/libs/android/x86_64/libskottie.a +0 -0
- package/libs/android/x86_64/libskparagraph.a +0 -0
- package/libs/android/x86_64/libsksg.a +0 -0
- package/libs/android/x86_64/libskshaper.a +0 -0
- package/libs/android/x86_64/libskunicode.a +0 -0
- package/libs/android/x86_64/libsvg.a +0 -0
- package/libs/ios/libskia.xcframework/Info.plist +46 -0
- package/libs/ios/libskia.xcframework/ios-arm64_arm64e/libskia.a +0 -0
- package/libs/ios/libskia.xcframework/ios-arm64_arm64e_x86_64-simulator/libskia.a +0 -0
- package/libs/ios/libskottie.xcframework/Info.plist +46 -0
- package/libs/ios/libskottie.xcframework/ios-arm64_arm64e/libskottie.a +0 -0
- package/libs/ios/libskottie.xcframework/ios-arm64_arm64e_x86_64-simulator/libskottie.a +0 -0
- package/libs/ios/libskparagraph.xcframework/Info.plist +46 -0
- package/libs/ios/libskparagraph.xcframework/ios-arm64_arm64e/libskparagraph.a +0 -0
- package/libs/ios/libskparagraph.xcframework/ios-arm64_arm64e_x86_64-simulator/libskparagraph.a +0 -0
- package/libs/ios/libsksg.xcframework/Info.plist +46 -0
- package/libs/ios/libsksg.xcframework/ios-arm64_arm64e/libsksg.a +0 -0
- package/libs/ios/libsksg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsksg.a +0 -0
- package/libs/ios/libskshaper.xcframework/Info.plist +46 -0
- package/libs/ios/libskshaper.xcframework/ios-arm64_arm64e/libskshaper.a +0 -0
- package/libs/ios/libskshaper.xcframework/ios-arm64_arm64e_x86_64-simulator/libskshaper.a +0 -0
- package/libs/ios/libskunicode.xcframework/Info.plist +46 -0
- package/libs/ios/libskunicode.xcframework/ios-arm64_arm64e/libskunicode.a +0 -0
- package/libs/ios/libskunicode.xcframework/ios-arm64_arm64e_x86_64-simulator/libskunicode.a +0 -0
- package/libs/ios/libsvg.xcframework/Info.plist +46 -0
- package/libs/ios/libsvg.xcframework/ios-arm64_arm64e/libsvg.a +0 -0
- package/libs/ios/libsvg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsvg.a +0 -0
- package/package.json +143 -0
- package/react-native-skia.podspec +59 -0
- package/scripts/setup-canvaskit.js +105 -0
- package/src/Platform/IPlatform.ts +18 -0
- package/src/Platform/Platform.ts +24 -0
- package/src/Platform/Platform.web.tsx +150 -0
- package/src/Platform/index.ts +1 -0
- package/src/animation/functions/index.ts +4 -0
- package/src/animation/functions/interpolate.ts +189 -0
- package/src/animation/functions/interpolateColors.ts +61 -0
- package/src/animation/functions/interpolatePaths.ts +92 -0
- package/src/animation/functions/interpolateVector.ts +31 -0
- package/src/animation/index.ts +1 -0
- package/src/dom/nodes/DrawingNode.ts +74 -0
- package/src/dom/nodes/GroupNode.ts +19 -0
- package/src/dom/nodes/JsiSkDOM.ts +481 -0
- package/src/dom/nodes/LayerNode.ts +37 -0
- package/src/dom/nodes/Node.ts +121 -0
- package/src/dom/nodes/PaintNode.ts +91 -0
- package/src/dom/nodes/RenderNode.ts +172 -0
- package/src/dom/nodes/datatypes/Circle.ts +14 -0
- package/src/dom/nodes/datatypes/Enum.ts +2 -0
- package/src/dom/nodes/datatypes/Fitting.ts +131 -0
- package/src/dom/nodes/datatypes/Gradient.ts +48 -0
- package/src/dom/nodes/datatypes/Path.ts +18 -0
- package/src/dom/nodes/datatypes/Radius.ts +9 -0
- package/src/dom/nodes/datatypes/Rect.ts +40 -0
- package/src/dom/nodes/datatypes/Transform.ts +24 -0
- package/src/dom/nodes/datatypes/index.ts +8 -0
- package/src/dom/nodes/drawings/AtlasNode.ts +24 -0
- package/src/dom/nodes/drawings/BackdropFilterNode.ts +37 -0
- package/src/dom/nodes/drawings/Box.ts +110 -0
- package/src/dom/nodes/drawings/CircleNode.ts +24 -0
- package/src/dom/nodes/drawings/DiffRectNode.ts +19 -0
- package/src/dom/nodes/drawings/FillNode.ts +18 -0
- package/src/dom/nodes/drawings/ImageNode.ts +49 -0
- package/src/dom/nodes/drawings/ImageSVG.ts +38 -0
- package/src/dom/nodes/drawings/LineNode.ts +19 -0
- package/src/dom/nodes/drawings/OvalNode.ts +23 -0
- package/src/dom/nodes/drawings/ParagraphNode.ts +22 -0
- package/src/dom/nodes/drawings/PatchNode.ts +54 -0
- package/src/dom/nodes/drawings/PathNode.ts +51 -0
- package/src/dom/nodes/drawings/PictureNode.ts +19 -0
- package/src/dom/nodes/drawings/PointsNode.ts +21 -0
- package/src/dom/nodes/drawings/RRectNode.ts +25 -0
- package/src/dom/nodes/drawings/RectNode.ts +23 -0
- package/src/dom/nodes/drawings/Text.ts +145 -0
- package/src/dom/nodes/drawings/VerticesNode.ts +35 -0
- package/src/dom/nodes/drawings/index.ts +18 -0
- package/src/dom/nodes/index.ts +3 -0
- package/src/dom/nodes/paint/BlendNode.ts +32 -0
- package/src/dom/nodes/paint/ColorFilters.ts +106 -0
- package/src/dom/nodes/paint/ImageFilters.ts +221 -0
- package/src/dom/nodes/paint/MaskFilters.ts +23 -0
- package/src/dom/nodes/paint/PathEffects.ts +139 -0
- package/src/dom/nodes/paint/Shaders.ts +233 -0
- package/src/dom/nodes/paint/index.ts +6 -0
- package/src/dom/types/ColorFilters.ts +16 -0
- package/src/dom/types/Common.ts +90 -0
- package/src/dom/types/DeclarationContext.ts +105 -0
- package/src/dom/types/DrawingContext.ts +322 -0
- package/src/dom/types/Drawings.ts +163 -0
- package/src/dom/types/ImageFilters.ts +53 -0
- package/src/dom/types/MaskFilters.ts +9 -0
- package/src/dom/types/Node.ts +30 -0
- package/src/dom/types/NodeType.ts +74 -0
- package/src/dom/types/Paragraph.ts +10 -0
- package/src/dom/types/PathEffects.ts +35 -0
- package/src/dom/types/Shaders.ts +86 -0
- package/src/dom/types/SkDOM.ts +184 -0
- package/src/dom/types/index.ts +13 -0
- package/src/external/ModuleProxy.ts +30 -0
- package/src/external/index.ts +1 -0
- package/src/external/reanimated/ReanimatedProxy.ts +18 -0
- package/src/external/reanimated/buffers.ts +58 -0
- package/src/external/reanimated/index.ts +7 -0
- package/src/external/reanimated/interpolators.ts +124 -0
- package/src/external/reanimated/renderHelpers.ts +132 -0
- package/src/external/reanimated/textures.tsx +93 -0
- package/src/external/reanimated/useAnimatedImageValue.ts +63 -0
- package/src/external/reanimated/useDerivedValueOnJS.ts +20 -0
- package/src/external/reanimated/useVideo.ts +157 -0
- package/src/external/reanimated/useVideoLoading.ts +29 -0
- package/src/external/reanimated/useVideoLoading.web.ts +17 -0
- package/src/headless/index.ts +42 -0
- package/src/index.ts +11 -0
- package/src/mock/index.ts +51 -0
- package/src/renderer/Canvas.tsx +148 -0
- package/src/renderer/Container.tsx +30 -0
- package/src/renderer/DrawingContext.ts +8 -0
- package/src/renderer/HostComponents.ts +407 -0
- package/src/renderer/HostConfig.ts +244 -0
- package/src/renderer/Offscreen.tsx +48 -0
- package/src/renderer/Reconciler.tsx +57 -0
- package/src/renderer/components/Blend.tsx +8 -0
- package/src/renderer/components/Group.tsx +21 -0
- package/src/renderer/components/Mask.tsx +36 -0
- package/src/renderer/components/Paint.tsx +8 -0
- package/src/renderer/components/Picture.tsx +8 -0
- package/src/renderer/components/backdrop/BackdropBlur.tsx +24 -0
- package/src/renderer/components/backdrop/BackdropFilter.tsx +23 -0
- package/src/renderer/components/backdrop/index.ts +2 -0
- package/src/renderer/components/colorFilters/BlendColor.tsx +8 -0
- package/src/renderer/components/colorFilters/Lerp.tsx +8 -0
- package/src/renderer/components/colorFilters/LinearToSRGBGamma.tsx +8 -0
- package/src/renderer/components/colorFilters/LumaColorFilter.tsx +8 -0
- package/src/renderer/components/colorFilters/Matrix.tsx +31 -0
- package/src/renderer/components/colorFilters/SRGBToLinearGamma.tsx +8 -0
- package/src/renderer/components/colorFilters/index.ts +6 -0
- package/src/renderer/components/image/Image.tsx +8 -0
- package/src/renderer/components/image/ImageSVG.tsx +8 -0
- package/src/renderer/components/image/ImageShader.tsx +29 -0
- package/src/renderer/components/image/index.ts +3 -0
- package/src/renderer/components/imageFilters/Blur.tsx +11 -0
- package/src/renderer/components/imageFilters/DisplacementMap.tsx +10 -0
- package/src/renderer/components/imageFilters/Morphology.tsx +11 -0
- package/src/renderer/components/imageFilters/Offset.tsx +12 -0
- package/src/renderer/components/imageFilters/RuntimeShader.tsx +10 -0
- package/src/renderer/components/imageFilters/Shadow.tsx +8 -0
- package/src/renderer/components/imageFilters/index.ts +6 -0
- package/src/renderer/components/index.ts +18 -0
- package/src/renderer/components/maskFilters/Blur.tsx +12 -0
- package/src/renderer/components/maskFilters/index.ts +1 -0
- package/src/renderer/components/paragraph/Paragraph.tsx +8 -0
- package/src/renderer/components/paragraph/index.ts +1 -0
- package/src/renderer/components/pathEffects/Corner.tsx +8 -0
- package/src/renderer/components/pathEffects/Dash.tsx +8 -0
- package/src/renderer/components/pathEffects/Discrete.tsx +11 -0
- package/src/renderer/components/pathEffects/Line2D.tsx +8 -0
- package/src/renderer/components/pathEffects/Path1D.tsx +8 -0
- package/src/renderer/components/pathEffects/Path2D.tsx +8 -0
- package/src/renderer/components/pathEffects/Sum.tsx +7 -0
- package/src/renderer/components/pathEffects/index.ts +7 -0
- package/src/renderer/components/shaders/Color.tsx +8 -0
- package/src/renderer/components/shaders/FractalNoise.tsx +23 -0
- package/src/renderer/components/shaders/LinearGradient.tsx +8 -0
- package/src/renderer/components/shaders/RadialGradient.tsx +8 -0
- package/src/renderer/components/shaders/Shader.tsx +11 -0
- package/src/renderer/components/shaders/ShaderLib.ts +46 -0
- package/src/renderer/components/shaders/SweepGradient.tsx +8 -0
- package/src/renderer/components/shaders/Turbulence.tsx +20 -0
- package/src/renderer/components/shaders/TwoPointConicalGradient.tsx +10 -0
- package/src/renderer/components/shaders/index.ts +9 -0
- package/src/renderer/components/shapes/Atlas.tsx +8 -0
- package/src/renderer/components/shapes/Box.tsx +12 -0
- package/src/renderer/components/shapes/Circle.tsx +8 -0
- package/src/renderer/components/shapes/DiffRect.tsx +8 -0
- package/src/renderer/components/shapes/Fill.tsx +8 -0
- package/src/renderer/components/shapes/FitBox.tsx +58 -0
- package/src/renderer/components/shapes/Line.tsx +8 -0
- package/src/renderer/components/shapes/Oval.tsx +8 -0
- package/src/renderer/components/shapes/Patch.tsx +8 -0
- package/src/renderer/components/shapes/Path.tsx +12 -0
- package/src/renderer/components/shapes/Points.tsx +11 -0
- package/src/renderer/components/shapes/Rect.tsx +8 -0
- package/src/renderer/components/shapes/RoundedRect.tsx +8 -0
- package/src/renderer/components/shapes/Vertices.tsx +11 -0
- package/src/renderer/components/shapes/index.ts +14 -0
- package/src/renderer/components/text/Glyphs.tsx +12 -0
- package/src/renderer/components/text/Text.tsx +12 -0
- package/src/renderer/components/text/TextBlob.tsx +12 -0
- package/src/renderer/components/text/TextPath.tsx +11 -0
- package/src/renderer/components/text/index.ts +4 -0
- package/src/renderer/index.ts +1 -0
- package/src/renderer/processors/Animations/Animations.ts +27 -0
- package/src/renderer/processors/Animations/index.ts +1 -0
- package/src/renderer/processors/index.ts +2 -0
- package/src/renderer/processors/math/Coordinates.ts +48 -0
- package/src/renderer/processors/math/Math.ts +31 -0
- package/src/renderer/processors/math/Transforms.ts +9 -0
- package/src/renderer/processors/math/index.ts +3 -0
- package/src/renderer/typeddash.ts +25 -0
- package/src/skia/NativeSetup.ts +19 -0
- package/src/skia/Skia.ts +11 -0
- package/src/skia/Skia.web.ts +3 -0
- package/src/skia/core/AnimatedImage.ts +17 -0
- package/src/skia/core/Data.ts +109 -0
- package/src/skia/core/Font.ts +134 -0
- package/src/skia/core/Image.ts +55 -0
- package/src/skia/core/Matrix.ts +8 -0
- package/src/skia/core/Picture.ts +23 -0
- package/src/skia/core/RRect.tsx +7 -0
- package/src/skia/core/Rect.ts +50 -0
- package/src/skia/core/SVG.ts +11 -0
- package/src/skia/core/SVG.web.ts +29 -0
- package/src/skia/core/Typeface.ts +14 -0
- package/src/skia/core/Vector.ts +24 -0
- package/src/skia/core/index.ts +11 -0
- package/src/skia/index.ts +3 -0
- package/src/skia/types/AnimatedImage/AnimatedImage.ts +29 -0
- package/src/skia/types/AnimatedImage/AnimatedImageFactory.ts +15 -0
- package/src/skia/types/AnimatedImage/index.ts +2 -0
- package/src/skia/types/Canvas.ts +539 -0
- package/src/skia/types/Color.ts +4 -0
- package/src/skia/types/ColorFilter/ColorFilter.ts +7 -0
- package/src/skia/types/ColorFilter/ColorFilterFactory.ts +52 -0
- package/src/skia/types/ColorFilter/index.ts +2 -0
- package/src/skia/types/ContourMeasure.tsx +48 -0
- package/src/skia/types/Data/Data.ts +15 -0
- package/src/skia/types/Data/DataFactory.ts +19 -0
- package/src/skia/types/Data/index.ts +2 -0
- package/src/skia/types/Font/Font.ts +229 -0
- package/src/skia/types/Font/FontMgr.ts +10 -0
- package/src/skia/types/Font/FontMgrFactory.ts +5 -0
- package/src/skia/types/Font/index.ts +3 -0
- package/src/skia/types/Image/Image.ts +133 -0
- package/src/skia/types/Image/ImageFactory.ts +90 -0
- package/src/skia/types/Image/index.ts +2 -0
- package/src/skia/types/ImageFilter/ImageFilter.ts +31 -0
- package/src/skia/types/ImageFilter/ImageFilterFactory.ts +192 -0
- package/src/skia/types/ImageFilter/index.ts +2 -0
- package/src/skia/types/JsiInstance.ts +4 -0
- package/src/skia/types/MaskFilter.ts +27 -0
- package/src/skia/types/Matrix.ts +41 -0
- package/src/skia/types/Matrix4.ts +377 -0
- package/src/skia/types/NativeBuffer/NativeBufferFactory.ts +46 -0
- package/src/skia/types/NativeBuffer/index.ts +1 -0
- package/src/skia/types/Paint/BlendMode.ts +61 -0
- package/src/skia/types/Paint/Paint.ts +170 -0
- package/src/skia/types/Paint/index.ts +2 -0
- package/src/skia/types/Paragraph/Paragraph.ts +84 -0
- package/src/skia/types/Paragraph/ParagraphBuilder.ts +96 -0
- package/src/skia/types/Paragraph/ParagraphStyle.ts +45 -0
- package/src/skia/types/Paragraph/TextStyle.ts +70 -0
- package/src/skia/types/Paragraph/TypefaceFontProvider.ts +11 -0
- package/src/skia/types/Paragraph/TypefaceFontProviderFactory.ts +5 -0
- package/src/skia/types/Paragraph/index.ts +6 -0
- package/src/skia/types/Path/Path.ts +578 -0
- package/src/skia/types/Path/PathFactory.ts +34 -0
- package/src/skia/types/Path/index.ts +2 -0
- package/src/skia/types/PathEffect.ts +97 -0
- package/src/skia/types/Picture/Picture.ts +35 -0
- package/src/skia/types/Picture/PictureFactory.ts +9 -0
- package/src/skia/types/Picture/PictureRecorder.ts +18 -0
- package/src/skia/types/Picture/index.ts +3 -0
- package/src/skia/types/Point.ts +12 -0
- package/src/skia/types/RRect.ts +23 -0
- package/src/skia/types/RSXform.ts +9 -0
- package/src/skia/types/Rect.ts +26 -0
- package/src/skia/types/RuntimeEffect/RuntimeEffect.ts +66 -0
- package/src/skia/types/RuntimeEffect/RuntimeEffectFactory.ts +12 -0
- package/src/skia/types/RuntimeEffect/index.ts +2 -0
- package/src/skia/types/SVG/SVG.ts +6 -0
- package/src/skia/types/SVG/SVGFactory.ts +8 -0
- package/src/skia/types/SVG/index.ts +2 -0
- package/src/skia/types/Shader/Shader.ts +64 -0
- package/src/skia/types/Shader/ShaderFactory.ts +169 -0
- package/src/skia/types/Shader/index.ts +2 -0
- package/src/skia/types/Size.ts +4 -0
- package/src/skia/types/Skia.ts +101 -0
- package/src/skia/types/Surface/Surface.ts +42 -0
- package/src/skia/types/Surface/SurfaceFactory.ts +19 -0
- package/src/skia/types/Surface/index.ts +2 -0
- package/src/skia/types/TextBlob.ts +52 -0
- package/src/skia/types/Typeface/Typeface.ts +12 -0
- package/src/skia/types/Typeface/TypefaceFactory.ts +7 -0
- package/src/skia/types/Typeface/index.ts +2 -0
- package/src/skia/types/Vertices/Vertices.tsx +20 -0
- package/src/skia/types/Vertices/index.ts +1 -0
- package/src/skia/types/Video/Video.ts +16 -0
- package/src/skia/types/Video/index.ts +1 -0
- package/src/skia/types/index.ts +33 -0
- package/src/skia/web/CanvasKitWebGLBufferImpl.ts +22 -0
- package/src/skia/web/Host.ts +51 -0
- package/src/skia/web/JsiSkAnimatedImage.ts +35 -0
- package/src/skia/web/JsiSkAnimatedImageFactory.ts +27 -0
- package/src/skia/web/JsiSkCanvas.ts +437 -0
- package/src/skia/web/JsiSkColor.ts +340 -0
- package/src/skia/web/JsiSkColorFilter.ts +18 -0
- package/src/skia/web/JsiSkColorFilterFactory.ts +80 -0
- package/src/skia/web/JsiSkContourMeasure.ts +43 -0
- package/src/skia/web/JsiSkContourMeasureIter.ts +27 -0
- package/src/skia/web/JsiSkData.ts +17 -0
- package/src/skia/web/JsiSkDataFactory.ts +34 -0
- package/src/skia/web/JsiSkFont.ts +141 -0
- package/src/skia/web/JsiSkFontMgr.ts +26 -0
- package/src/skia/web/JsiSkFontMgrFactory.ts +20 -0
- package/src/skia/web/JsiSkImage.ts +173 -0
- package/src/skia/web/JsiSkImageFactory.ts +96 -0
- package/src/skia/web/JsiSkImageFilter.ts +18 -0
- package/src/skia/web/JsiSkImageFilterFactory.ts +216 -0
- package/src/skia/web/JsiSkMaskFilter.ts +18 -0
- package/src/skia/web/JsiSkMaskFilterFactory.ts +24 -0
- package/src/skia/web/JsiSkMatrix.ts +91 -0
- package/src/skia/web/JsiSkNativeBufferFactory.ts +35 -0
- package/src/skia/web/JsiSkPaint.ts +124 -0
- package/src/skia/web/JsiSkParagraph.ts +80 -0
- package/src/skia/web/JsiSkParagraphBuilder.ts +99 -0
- package/src/skia/web/JsiSkParagraphBuilderFactory.ts +48 -0
- package/src/skia/web/JsiSkParagraphStyle.ts +65 -0
- package/src/skia/web/JsiSkPath.ts +417 -0
- package/src/skia/web/JsiSkPathEffect.ts +18 -0
- package/src/skia/web/JsiSkPathEffectFactory.ts +90 -0
- package/src/skia/web/JsiSkPathFactory.ts +54 -0
- package/src/skia/web/JsiSkPicture.ts +51 -0
- package/src/skia/web/JsiSkPictureFactory.ts +20 -0
- package/src/skia/web/JsiSkPictureRecorder.ts +40 -0
- package/src/skia/web/JsiSkPoint.ts +33 -0
- package/src/skia/web/JsiSkRRect.ts +77 -0
- package/src/skia/web/JsiSkRSXform.ts +44 -0
- package/src/skia/web/JsiSkRect.ts +48 -0
- package/src/skia/web/JsiSkRuntimeEffect.ts +70 -0
- package/src/skia/web/JsiSkRuntimeEffectFactory.ts +23 -0
- package/src/skia/web/JsiSkSVG.ts +27 -0
- package/src/skia/web/JsiSkSVGFactory.ts +61 -0
- package/src/skia/web/JsiSkShader.ts +18 -0
- package/src/skia/web/JsiSkShaderFactory.ts +190 -0
- package/src/skia/web/JsiSkSurface.ts +46 -0
- package/src/skia/web/JsiSkSurfaceFactory.ts +41 -0
- package/src/skia/web/JsiSkTextBlob.ts +18 -0
- package/src/skia/web/JsiSkTextBlobFactory.ts +55 -0
- package/src/skia/web/JsiSkTextStyle.ts +53 -0
- package/src/skia/web/JsiSkTypeface.ts +36 -0
- package/src/skia/web/JsiSkTypefaceFactory.tsx +22 -0
- package/src/skia/web/JsiSkTypefaceFontProvider.ts +85 -0
- package/src/skia/web/JsiSkTypefaceFontProviderFactory.ts +18 -0
- package/src/skia/web/JsiSkVertices.ts +27 -0
- package/src/skia/web/JsiSkVerticesFactory.ts +41 -0
- package/src/skia/web/JsiSkia.ts +132 -0
- package/src/skia/web/JsiVideo.ts +96 -0
- package/src/skia/web/index.ts +1 -0
- package/src/specs/NativeSkiaModule.ts +9 -0
- package/src/specs/NativeSkiaModule.web.ts +0 -0
- package/src/specs/SkiaDomViewNativeComponent.ts +10 -0
- package/src/specs/SkiaPictureViewNativeComponent.ts +10 -0
- package/src/views/SkiaBaseWebView.tsx +189 -0
- package/src/views/SkiaDomView.tsx +122 -0
- package/src/views/SkiaDomView.web.tsx +30 -0
- package/src/views/SkiaJSDomView.tsx +129 -0
- package/src/views/SkiaJSDomView.web.tsx +1 -0
- package/src/views/SkiaPictureView.tsx +86 -0
- package/src/views/SkiaPictureView.web.tsx +16 -0
- package/src/views/SkiaViewNativeId.ts +1 -0
- package/src/views/api.ts +7 -0
- package/src/views/index.ts +4 -0
- package/src/views/types.ts +86 -0
- package/src/views/useTouchHandler.ts +107 -0
- package/src/web/LoadSkiaWeb.tsx +27 -0
- package/src/web/WithSkiaWeb.tsx +40 -0
- package/src/web/index.ts +2 -0
@@ -0,0 +1,1909 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2006 The Android Open Source Project
|
3
|
+
*
|
4
|
+
* Use of this source code is governed by a BSD-style license that can be
|
5
|
+
* found in the LICENSE file.
|
6
|
+
*/
|
7
|
+
|
8
|
+
#ifndef SkPath_DEFINED
|
9
|
+
#define SkPath_DEFINED
|
10
|
+
|
11
|
+
#include "include/core/SkMatrix.h"
|
12
|
+
#include "include/core/SkPathTypes.h"
|
13
|
+
#include "include/core/SkPoint.h"
|
14
|
+
#include "include/core/SkRect.h"
|
15
|
+
#include "include/core/SkRefCnt.h"
|
16
|
+
#include "include/core/SkScalar.h"
|
17
|
+
#include "include/core/SkTypes.h"
|
18
|
+
#include "include/private/base/SkDebug.h"
|
19
|
+
#include "include/private/base/SkTo.h"
|
20
|
+
#include "include/private/base/SkTypeTraits.h"
|
21
|
+
|
22
|
+
#include <atomic>
|
23
|
+
#include <cstddef>
|
24
|
+
#include <cstdint>
|
25
|
+
#include <initializer_list>
|
26
|
+
#include <tuple>
|
27
|
+
#include <type_traits>
|
28
|
+
|
29
|
+
class SkData;
|
30
|
+
class SkPathRef;
|
31
|
+
class SkRRect;
|
32
|
+
class SkWStream;
|
33
|
+
enum class SkPathConvexity;
|
34
|
+
enum class SkPathFirstDirection;
|
35
|
+
struct SkPathVerbAnalysis;
|
36
|
+
|
37
|
+
// WIP -- define this locally, and fix call-sites to use SkPathBuilder (skbug.com/9000)
|
38
|
+
//#define SK_HIDE_PATH_EDIT_METHODS
|
39
|
+
|
40
|
+
/** \class SkPath
|
41
|
+
SkPath contain geometry. SkPath may be empty, or contain one or more verbs that
|
42
|
+
outline a figure. SkPath always starts with a move verb to a Cartesian coordinate,
|
43
|
+
and may be followed by additional verbs that add lines or curves.
|
44
|
+
Adding a close verb makes the geometry into a continuous loop, a closed contour.
|
45
|
+
SkPath may contain any number of contours, each beginning with a move verb.
|
46
|
+
|
47
|
+
SkPath contours may contain only a move verb, or may also contain lines,
|
48
|
+
quadratic beziers, conics, and cubic beziers. SkPath contours may be open or
|
49
|
+
closed.
|
50
|
+
|
51
|
+
When used to draw a filled area, SkPath describes whether the fill is inside or
|
52
|
+
outside the geometry. SkPath also describes the winding rule used to fill
|
53
|
+
overlapping contours.
|
54
|
+
|
55
|
+
Internally, SkPath lazily computes metrics likes bounds and convexity. Call
|
56
|
+
SkPath::updateBoundsCache to make SkPath thread safe.
|
57
|
+
*/
|
58
|
+
class SK_API SkPath {
|
59
|
+
public:
|
60
|
+
/**
|
61
|
+
* Create a new path with the specified segments.
|
62
|
+
*
|
63
|
+
* The points and weights arrays are read in order, based on the sequence of verbs.
|
64
|
+
*
|
65
|
+
* Move 1 point
|
66
|
+
* Line 1 point
|
67
|
+
* Quad 2 points
|
68
|
+
* Conic 2 points and 1 weight
|
69
|
+
* Cubic 3 points
|
70
|
+
* Close 0 points
|
71
|
+
*
|
72
|
+
* If an illegal sequence of verbs is encountered, or the specified number of points
|
73
|
+
* or weights is not sufficient given the verbs, an empty Path is returned.
|
74
|
+
*
|
75
|
+
* A legal sequence of verbs consists of any number of Contours. A contour always begins
|
76
|
+
* with a Move verb, followed by 0 or more segments: Line, Quad, Conic, Cubic, followed
|
77
|
+
* by an optional Close.
|
78
|
+
*/
|
79
|
+
static SkPath Make(const SkPoint[], int pointCount,
|
80
|
+
const uint8_t[], int verbCount,
|
81
|
+
const SkScalar[], int conicWeightCount,
|
82
|
+
SkPathFillType, bool isVolatile = false);
|
83
|
+
|
84
|
+
static SkPath Rect(const SkRect&, SkPathDirection = SkPathDirection::kCW,
|
85
|
+
unsigned startIndex = 0);
|
86
|
+
static SkPath Oval(const SkRect&, SkPathDirection = SkPathDirection::kCW);
|
87
|
+
static SkPath Oval(const SkRect&, SkPathDirection, unsigned startIndex);
|
88
|
+
static SkPath Circle(SkScalar center_x, SkScalar center_y, SkScalar radius,
|
89
|
+
SkPathDirection dir = SkPathDirection::kCW);
|
90
|
+
static SkPath RRect(const SkRRect&, SkPathDirection dir = SkPathDirection::kCW);
|
91
|
+
static SkPath RRect(const SkRRect&, SkPathDirection, unsigned startIndex);
|
92
|
+
static SkPath RRect(const SkRect& bounds, SkScalar rx, SkScalar ry,
|
93
|
+
SkPathDirection dir = SkPathDirection::kCW);
|
94
|
+
|
95
|
+
static SkPath Polygon(const SkPoint pts[], int count, bool isClosed,
|
96
|
+
SkPathFillType = SkPathFillType::kWinding,
|
97
|
+
bool isVolatile = false);
|
98
|
+
|
99
|
+
static SkPath Polygon(const std::initializer_list<SkPoint>& list, bool isClosed,
|
100
|
+
SkPathFillType fillType = SkPathFillType::kWinding,
|
101
|
+
bool isVolatile = false) {
|
102
|
+
return Polygon(list.begin(), SkToInt(list.size()), isClosed, fillType, isVolatile);
|
103
|
+
}
|
104
|
+
|
105
|
+
static SkPath Line(const SkPoint a, const SkPoint b) {
|
106
|
+
return Polygon({a, b}, false);
|
107
|
+
}
|
108
|
+
|
109
|
+
/** Constructs an empty SkPath. By default, SkPath has no verbs, no SkPoint, and no weights.
|
110
|
+
FillType is set to kWinding.
|
111
|
+
|
112
|
+
@return empty SkPath
|
113
|
+
|
114
|
+
example: https://fiddle.skia.org/c/@Path_empty_constructor
|
115
|
+
*/
|
116
|
+
SkPath();
|
117
|
+
|
118
|
+
/** Constructs a copy of an existing path.
|
119
|
+
Copy constructor makes two paths identical by value. Internally, path and
|
120
|
+
the returned result share pointer values. The underlying verb array, SkPoint array
|
121
|
+
and weights are copied when modified.
|
122
|
+
|
123
|
+
Creating a SkPath copy is very efficient and never allocates memory.
|
124
|
+
SkPath are always copied by value from the interface; the underlying shared
|
125
|
+
pointers are not exposed.
|
126
|
+
|
127
|
+
@param path SkPath to copy by value
|
128
|
+
@return copy of SkPath
|
129
|
+
|
130
|
+
example: https://fiddle.skia.org/c/@Path_copy_const_SkPath
|
131
|
+
*/
|
132
|
+
SkPath(const SkPath& path);
|
133
|
+
|
134
|
+
/** Releases ownership of any shared data and deletes data if SkPath is sole owner.
|
135
|
+
|
136
|
+
example: https://fiddle.skia.org/c/@Path_destructor
|
137
|
+
*/
|
138
|
+
~SkPath();
|
139
|
+
|
140
|
+
/** Constructs a copy of an existing path.
|
141
|
+
SkPath assignment makes two paths identical by value. Internally, assignment
|
142
|
+
shares pointer values. The underlying verb array, SkPoint array and weights
|
143
|
+
are copied when modified.
|
144
|
+
|
145
|
+
Copying SkPath by assignment is very efficient and never allocates memory.
|
146
|
+
SkPath are always copied by value from the interface; the underlying shared
|
147
|
+
pointers are not exposed.
|
148
|
+
|
149
|
+
@param path verb array, SkPoint array, weights, and SkPath::FillType to copy
|
150
|
+
@return SkPath copied by value
|
151
|
+
|
152
|
+
example: https://fiddle.skia.org/c/@Path_copy_operator
|
153
|
+
*/
|
154
|
+
SkPath& operator=(const SkPath& path);
|
155
|
+
|
156
|
+
/** Compares a and b; returns true if SkPath::FillType, verb array, SkPoint array, and weights
|
157
|
+
are equivalent.
|
158
|
+
|
159
|
+
@param a SkPath to compare
|
160
|
+
@param b SkPath to compare
|
161
|
+
@return true if SkPath pair are equivalent
|
162
|
+
*/
|
163
|
+
friend SK_API bool operator==(const SkPath& a, const SkPath& b);
|
164
|
+
|
165
|
+
/** Compares a and b; returns true if SkPath::FillType, verb array, SkPoint array, and weights
|
166
|
+
are not equivalent.
|
167
|
+
|
168
|
+
@param a SkPath to compare
|
169
|
+
@param b SkPath to compare
|
170
|
+
@return true if SkPath pair are not equivalent
|
171
|
+
*/
|
172
|
+
friend bool operator!=(const SkPath& a, const SkPath& b) {
|
173
|
+
return !(a == b);
|
174
|
+
}
|
175
|
+
|
176
|
+
/** Returns true if SkPath contain equal verbs and equal weights.
|
177
|
+
If SkPath contain one or more conics, the weights must match.
|
178
|
+
|
179
|
+
conicTo() may add different verbs depending on conic weight, so it is not
|
180
|
+
trivial to interpolate a pair of SkPath containing conics with different
|
181
|
+
conic weight values.
|
182
|
+
|
183
|
+
@param compare SkPath to compare
|
184
|
+
@return true if SkPath verb array and weights are equivalent
|
185
|
+
|
186
|
+
example: https://fiddle.skia.org/c/@Path_isInterpolatable
|
187
|
+
*/
|
188
|
+
bool isInterpolatable(const SkPath& compare) const;
|
189
|
+
|
190
|
+
/** Interpolates between SkPath with SkPoint array of equal size.
|
191
|
+
Copy verb array and weights to out, and set out SkPoint array to a weighted
|
192
|
+
average of this SkPoint array and ending SkPoint array, using the formula:
|
193
|
+
(Path Point * weight) + ending Point * (1 - weight).
|
194
|
+
|
195
|
+
weight is most useful when between zero (ending SkPoint array) and
|
196
|
+
one (this Point_Array); will work with values outside of this
|
197
|
+
range.
|
198
|
+
|
199
|
+
interpolate() returns false and leaves out unchanged if SkPoint array is not
|
200
|
+
the same size as ending SkPoint array. Call isInterpolatable() to check SkPath
|
201
|
+
compatibility prior to calling interpolate().
|
202
|
+
|
203
|
+
@param ending SkPoint array averaged with this SkPoint array
|
204
|
+
@param weight contribution of this SkPoint array, and
|
205
|
+
one minus contribution of ending SkPoint array
|
206
|
+
@param out SkPath replaced by interpolated averages
|
207
|
+
@return true if SkPath contain same number of SkPoint
|
208
|
+
|
209
|
+
example: https://fiddle.skia.org/c/@Path_interpolate
|
210
|
+
*/
|
211
|
+
bool interpolate(const SkPath& ending, SkScalar weight, SkPath* out) const;
|
212
|
+
|
213
|
+
/** Returns SkPathFillType, the rule used to fill SkPath.
|
214
|
+
|
215
|
+
@return current SkPathFillType setting
|
216
|
+
*/
|
217
|
+
SkPathFillType getFillType() const { return (SkPathFillType)fFillType; }
|
218
|
+
|
219
|
+
/** Sets FillType, the rule used to fill SkPath. While there is no check
|
220
|
+
that ft is legal, values outside of FillType are not supported.
|
221
|
+
*/
|
222
|
+
void setFillType(SkPathFillType ft) {
|
223
|
+
fFillType = SkToU8(ft);
|
224
|
+
}
|
225
|
+
|
226
|
+
/** Returns if FillType describes area outside SkPath geometry. The inverse fill area
|
227
|
+
extends indefinitely.
|
228
|
+
|
229
|
+
@return true if FillType is kInverseWinding or kInverseEvenOdd
|
230
|
+
*/
|
231
|
+
bool isInverseFillType() const { return SkPathFillType_IsInverse(this->getFillType()); }
|
232
|
+
|
233
|
+
/** Replaces FillType with its inverse. The inverse of FillType describes the area
|
234
|
+
unmodified by the original FillType.
|
235
|
+
*/
|
236
|
+
void toggleInverseFillType() {
|
237
|
+
fFillType ^= 2;
|
238
|
+
}
|
239
|
+
|
240
|
+
/** Returns true if the path is convex. If necessary, it will first compute the convexity.
|
241
|
+
*/
|
242
|
+
bool isConvex() const;
|
243
|
+
|
244
|
+
/** Returns true if this path is recognized as an oval or circle.
|
245
|
+
|
246
|
+
bounds receives bounds of oval.
|
247
|
+
|
248
|
+
bounds is unmodified if oval is not found.
|
249
|
+
|
250
|
+
@param bounds storage for bounding SkRect of oval; may be nullptr
|
251
|
+
@return true if SkPath is recognized as an oval or circle
|
252
|
+
|
253
|
+
example: https://fiddle.skia.org/c/@Path_isOval
|
254
|
+
*/
|
255
|
+
bool isOval(SkRect* bounds) const;
|
256
|
+
|
257
|
+
/** Returns true if path is representable as SkRRect.
|
258
|
+
Returns false if path is representable as oval, circle, or SkRect.
|
259
|
+
|
260
|
+
rrect receives bounds of SkRRect.
|
261
|
+
|
262
|
+
rrect is unmodified if SkRRect is not found.
|
263
|
+
|
264
|
+
@param rrect storage for bounding SkRect of SkRRect; may be nullptr
|
265
|
+
@return true if SkPath contains only SkRRect
|
266
|
+
|
267
|
+
example: https://fiddle.skia.org/c/@Path_isRRect
|
268
|
+
*/
|
269
|
+
bool isRRect(SkRRect* rrect) const;
|
270
|
+
|
271
|
+
/** Sets SkPath to its initial state.
|
272
|
+
Removes verb array, SkPoint array, and weights, and sets FillType to kWinding.
|
273
|
+
Internal storage associated with SkPath is released.
|
274
|
+
|
275
|
+
@return reference to SkPath
|
276
|
+
|
277
|
+
example: https://fiddle.skia.org/c/@Path_reset
|
278
|
+
*/
|
279
|
+
SkPath& reset();
|
280
|
+
|
281
|
+
/** Sets SkPath to its initial state, preserving internal storage.
|
282
|
+
Removes verb array, SkPoint array, and weights, and sets FillType to kWinding.
|
283
|
+
Internal storage associated with SkPath is retained.
|
284
|
+
|
285
|
+
Use rewind() instead of reset() if SkPath storage will be reused and performance
|
286
|
+
is critical.
|
287
|
+
|
288
|
+
@return reference to SkPath
|
289
|
+
|
290
|
+
example: https://fiddle.skia.org/c/@Path_rewind
|
291
|
+
*/
|
292
|
+
SkPath& rewind();
|
293
|
+
|
294
|
+
/** Returns if SkPath is empty.
|
295
|
+
Empty SkPath may have FillType but has no SkPoint, SkPath::Verb, or conic weight.
|
296
|
+
SkPath() constructs empty SkPath; reset() and rewind() make SkPath empty.
|
297
|
+
|
298
|
+
@return true if the path contains no SkPath::Verb array
|
299
|
+
*/
|
300
|
+
bool isEmpty() const;
|
301
|
+
|
302
|
+
/** Returns if contour is closed.
|
303
|
+
Contour is closed if SkPath SkPath::Verb array was last modified by close(). When stroked,
|
304
|
+
closed contour draws SkPaint::Join instead of SkPaint::Cap at first and last SkPoint.
|
305
|
+
|
306
|
+
@return true if the last contour ends with a kClose_Verb
|
307
|
+
|
308
|
+
example: https://fiddle.skia.org/c/@Path_isLastContourClosed
|
309
|
+
*/
|
310
|
+
bool isLastContourClosed() const;
|
311
|
+
|
312
|
+
/** Returns true for finite SkPoint array values between negative SK_ScalarMax and
|
313
|
+
positive SK_ScalarMax. Returns false for any SkPoint array value of
|
314
|
+
SK_ScalarInfinity, SK_ScalarNegativeInfinity, or SK_ScalarNaN.
|
315
|
+
|
316
|
+
@return true if all SkPoint values are finite
|
317
|
+
*/
|
318
|
+
bool isFinite() const;
|
319
|
+
|
320
|
+
/** Returns true if the path is volatile; it will not be altered or discarded
|
321
|
+
by the caller after it is drawn. SkPath by default have volatile set false, allowing
|
322
|
+
SkSurface to attach a cache of data which speeds repeated drawing. If true, SkSurface
|
323
|
+
may not speed repeated drawing.
|
324
|
+
|
325
|
+
@return true if caller will alter SkPath after drawing
|
326
|
+
*/
|
327
|
+
bool isVolatile() const {
|
328
|
+
return SkToBool(fIsVolatile);
|
329
|
+
}
|
330
|
+
|
331
|
+
/** Specifies whether SkPath is volatile; whether it will be altered or discarded
|
332
|
+
by the caller after it is drawn. SkPath by default have volatile set false, allowing
|
333
|
+
Skia to attach a cache of data which speeds repeated drawing.
|
334
|
+
|
335
|
+
Mark temporary paths, discarded or modified after use, as volatile
|
336
|
+
to inform Skia that the path need not be cached.
|
337
|
+
|
338
|
+
Mark animating SkPath volatile to improve performance.
|
339
|
+
Mark unchanging SkPath non-volatile to improve repeated rendering.
|
340
|
+
|
341
|
+
raster surface SkPath draws are affected by volatile for some shadows.
|
342
|
+
GPU surface SkPath draws are affected by volatile for some shadows and concave geometries.
|
343
|
+
|
344
|
+
@param isVolatile true if caller will alter SkPath after drawing
|
345
|
+
@return reference to SkPath
|
346
|
+
*/
|
347
|
+
SkPath& setIsVolatile(bool isVolatile) {
|
348
|
+
fIsVolatile = isVolatile;
|
349
|
+
return *this;
|
350
|
+
}
|
351
|
+
|
352
|
+
/** Tests if line between SkPoint pair is degenerate.
|
353
|
+
Line with no length or that moves a very short distance is degenerate; it is
|
354
|
+
treated as a point.
|
355
|
+
|
356
|
+
exact changes the equality test. If true, returns true only if p1 equals p2.
|
357
|
+
If false, returns true if p1 equals or nearly equals p2.
|
358
|
+
|
359
|
+
@param p1 line start point
|
360
|
+
@param p2 line end point
|
361
|
+
@param exact if false, allow nearly equals
|
362
|
+
@return true if line is degenerate; its length is effectively zero
|
363
|
+
|
364
|
+
example: https://fiddle.skia.org/c/@Path_IsLineDegenerate
|
365
|
+
*/
|
366
|
+
static bool IsLineDegenerate(const SkPoint& p1, const SkPoint& p2, bool exact);
|
367
|
+
|
368
|
+
/** Tests if quad is degenerate.
|
369
|
+
Quad with no length or that moves a very short distance is degenerate; it is
|
370
|
+
treated as a point.
|
371
|
+
|
372
|
+
@param p1 quad start point
|
373
|
+
@param p2 quad control point
|
374
|
+
@param p3 quad end point
|
375
|
+
@param exact if true, returns true only if p1, p2, and p3 are equal;
|
376
|
+
if false, returns true if p1, p2, and p3 are equal or nearly equal
|
377
|
+
@return true if quad is degenerate; its length is effectively zero
|
378
|
+
*/
|
379
|
+
static bool IsQuadDegenerate(const SkPoint& p1, const SkPoint& p2,
|
380
|
+
const SkPoint& p3, bool exact);
|
381
|
+
|
382
|
+
/** Tests if cubic is degenerate.
|
383
|
+
Cubic with no length or that moves a very short distance is degenerate; it is
|
384
|
+
treated as a point.
|
385
|
+
|
386
|
+
@param p1 cubic start point
|
387
|
+
@param p2 cubic control point 1
|
388
|
+
@param p3 cubic control point 2
|
389
|
+
@param p4 cubic end point
|
390
|
+
@param exact if true, returns true only if p1, p2, p3, and p4 are equal;
|
391
|
+
if false, returns true if p1, p2, p3, and p4 are equal or nearly equal
|
392
|
+
@return true if cubic is degenerate; its length is effectively zero
|
393
|
+
*/
|
394
|
+
static bool IsCubicDegenerate(const SkPoint& p1, const SkPoint& p2,
|
395
|
+
const SkPoint& p3, const SkPoint& p4, bool exact);
|
396
|
+
|
397
|
+
/** Returns true if SkPath contains only one line;
|
398
|
+
SkPath::Verb array has two entries: kMove_Verb, kLine_Verb.
|
399
|
+
If SkPath contains one line and line is not nullptr, line is set to
|
400
|
+
line start point and line end point.
|
401
|
+
Returns false if SkPath is not one line; line is unaltered.
|
402
|
+
|
403
|
+
@param line storage for line. May be nullptr
|
404
|
+
@return true if SkPath contains exactly one line
|
405
|
+
|
406
|
+
example: https://fiddle.skia.org/c/@Path_isLine
|
407
|
+
*/
|
408
|
+
bool isLine(SkPoint line[2]) const;
|
409
|
+
|
410
|
+
/** Returns the number of points in SkPath.
|
411
|
+
SkPoint count is initially zero.
|
412
|
+
|
413
|
+
@return SkPath SkPoint array length
|
414
|
+
|
415
|
+
example: https://fiddle.skia.org/c/@Path_countPoints
|
416
|
+
*/
|
417
|
+
int countPoints() const;
|
418
|
+
|
419
|
+
/** Returns SkPoint at index in SkPoint array. Valid range for index is
|
420
|
+
0 to countPoints() - 1.
|
421
|
+
Returns (0, 0) if index is out of range.
|
422
|
+
|
423
|
+
@param index SkPoint array element selector
|
424
|
+
@return SkPoint array value or (0, 0)
|
425
|
+
|
426
|
+
example: https://fiddle.skia.org/c/@Path_getPoint
|
427
|
+
*/
|
428
|
+
SkPoint getPoint(int index) const;
|
429
|
+
|
430
|
+
/** Returns number of points in SkPath. Up to max points are copied.
|
431
|
+
points may be nullptr; then, max must be zero.
|
432
|
+
If max is greater than number of points, excess points storage is unaltered.
|
433
|
+
|
434
|
+
@param points storage for SkPath SkPoint array. May be nullptr
|
435
|
+
@param max maximum to copy; must be greater than or equal to zero
|
436
|
+
@return SkPath SkPoint array length
|
437
|
+
|
438
|
+
example: https://fiddle.skia.org/c/@Path_getPoints
|
439
|
+
*/
|
440
|
+
int getPoints(SkPoint points[], int max) const;
|
441
|
+
|
442
|
+
/** Returns the number of verbs: kMove_Verb, kLine_Verb, kQuad_Verb, kConic_Verb,
|
443
|
+
kCubic_Verb, and kClose_Verb; added to SkPath.
|
444
|
+
|
445
|
+
@return length of verb array
|
446
|
+
|
447
|
+
example: https://fiddle.skia.org/c/@Path_countVerbs
|
448
|
+
*/
|
449
|
+
int countVerbs() const;
|
450
|
+
|
451
|
+
/** Returns the number of verbs in the path. Up to max verbs are copied. The
|
452
|
+
verbs are copied as one byte per verb.
|
453
|
+
|
454
|
+
@param verbs storage for verbs, may be nullptr
|
455
|
+
@param max maximum number to copy into verbs
|
456
|
+
@return the actual number of verbs in the path
|
457
|
+
|
458
|
+
example: https://fiddle.skia.org/c/@Path_getVerbs
|
459
|
+
*/
|
460
|
+
int getVerbs(uint8_t verbs[], int max) const;
|
461
|
+
|
462
|
+
/** Returns the approximate byte size of the SkPath in memory.
|
463
|
+
|
464
|
+
@return approximate size
|
465
|
+
*/
|
466
|
+
size_t approximateBytesUsed() const;
|
467
|
+
|
468
|
+
/** Exchanges the verb array, SkPoint array, weights, and SkPath::FillType with other.
|
469
|
+
Cached state is also exchanged. swap() internally exchanges pointers, so
|
470
|
+
it is lightweight and does not allocate memory.
|
471
|
+
|
472
|
+
swap() usage has largely been replaced by operator=(const SkPath& path).
|
473
|
+
SkPath do not copy their content on assignment until they are written to,
|
474
|
+
making assignment as efficient as swap().
|
475
|
+
|
476
|
+
@param other SkPath exchanged by value
|
477
|
+
|
478
|
+
example: https://fiddle.skia.org/c/@Path_swap
|
479
|
+
*/
|
480
|
+
void swap(SkPath& other);
|
481
|
+
|
482
|
+
/** Returns minimum and maximum axes values of SkPoint array.
|
483
|
+
Returns (0, 0, 0, 0) if SkPath contains no points. Returned bounds width and height may
|
484
|
+
be larger or smaller than area affected when SkPath is drawn.
|
485
|
+
|
486
|
+
SkRect returned includes all SkPoint added to SkPath, including SkPoint associated with
|
487
|
+
kMove_Verb that define empty contours.
|
488
|
+
|
489
|
+
@return bounds of all SkPoint in SkPoint array
|
490
|
+
*/
|
491
|
+
const SkRect& getBounds() const;
|
492
|
+
|
493
|
+
/** Updates internal bounds so that subsequent calls to getBounds() are instantaneous.
|
494
|
+
Unaltered copies of SkPath may also access cached bounds through getBounds().
|
495
|
+
|
496
|
+
For now, identical to calling getBounds() and ignoring the returned value.
|
497
|
+
|
498
|
+
Call to prepare SkPath subsequently drawn from multiple threads,
|
499
|
+
to avoid a race condition where each draw separately computes the bounds.
|
500
|
+
*/
|
501
|
+
void updateBoundsCache() const {
|
502
|
+
// for now, just calling getBounds() is sufficient
|
503
|
+
this->getBounds();
|
504
|
+
}
|
505
|
+
|
506
|
+
/** Returns minimum and maximum axes values of the lines and curves in SkPath.
|
507
|
+
Returns (0, 0, 0, 0) if SkPath contains no points.
|
508
|
+
Returned bounds width and height may be larger or smaller than area affected
|
509
|
+
when SkPath is drawn.
|
510
|
+
|
511
|
+
Includes SkPoint associated with kMove_Verb that define empty
|
512
|
+
contours.
|
513
|
+
|
514
|
+
Behaves identically to getBounds() when SkPath contains
|
515
|
+
only lines. If SkPath contains curves, computed bounds includes
|
516
|
+
the maximum extent of the quad, conic, or cubic; is slower than getBounds();
|
517
|
+
and unlike getBounds(), does not cache the result.
|
518
|
+
|
519
|
+
@return tight bounds of curves in SkPath
|
520
|
+
|
521
|
+
example: https://fiddle.skia.org/c/@Path_computeTightBounds
|
522
|
+
*/
|
523
|
+
SkRect computeTightBounds() const;
|
524
|
+
|
525
|
+
/** Returns true if rect is contained by SkPath.
|
526
|
+
May return false when rect is contained by SkPath.
|
527
|
+
|
528
|
+
For now, only returns true if SkPath has one contour and is convex.
|
529
|
+
rect may share points and edges with SkPath and be contained.
|
530
|
+
Returns true if rect is empty, that is, it has zero width or height; and
|
531
|
+
the SkPoint or line described by rect is contained by SkPath.
|
532
|
+
|
533
|
+
@param rect SkRect, line, or SkPoint checked for containment
|
534
|
+
@return true if rect is contained
|
535
|
+
|
536
|
+
example: https://fiddle.skia.org/c/@Path_conservativelyContainsRect
|
537
|
+
*/
|
538
|
+
bool conservativelyContainsRect(const SkRect& rect) const;
|
539
|
+
|
540
|
+
/** Grows SkPath verb array and SkPoint array to contain extraPtCount additional SkPoint.
|
541
|
+
May improve performance and use less memory by
|
542
|
+
reducing the number and size of allocations when creating SkPath.
|
543
|
+
|
544
|
+
@param extraPtCount number of additional SkPoint to allocate
|
545
|
+
|
546
|
+
example: https://fiddle.skia.org/c/@Path_incReserve
|
547
|
+
*/
|
548
|
+
void incReserve(int extraPtCount);
|
549
|
+
|
550
|
+
#ifdef SK_HIDE_PATH_EDIT_METHODS
|
551
|
+
private:
|
552
|
+
#endif
|
553
|
+
|
554
|
+
/** Adds beginning of contour at SkPoint (x, y).
|
555
|
+
|
556
|
+
@param x x-axis value of contour start
|
557
|
+
@param y y-axis value of contour start
|
558
|
+
@return reference to SkPath
|
559
|
+
|
560
|
+
example: https://fiddle.skia.org/c/@Path_moveTo
|
561
|
+
*/
|
562
|
+
SkPath& moveTo(SkScalar x, SkScalar y);
|
563
|
+
|
564
|
+
/** Adds beginning of contour at SkPoint p.
|
565
|
+
|
566
|
+
@param p contour start
|
567
|
+
@return reference to SkPath
|
568
|
+
*/
|
569
|
+
SkPath& moveTo(const SkPoint& p) {
|
570
|
+
return this->moveTo(p.fX, p.fY);
|
571
|
+
}
|
572
|
+
|
573
|
+
/** Adds beginning of contour relative to last point.
|
574
|
+
If SkPath is empty, starts contour at (dx, dy).
|
575
|
+
Otherwise, start contour at last point offset by (dx, dy).
|
576
|
+
Function name stands for "relative move to".
|
577
|
+
|
578
|
+
@param dx offset from last point to contour start on x-axis
|
579
|
+
@param dy offset from last point to contour start on y-axis
|
580
|
+
@return reference to SkPath
|
581
|
+
|
582
|
+
example: https://fiddle.skia.org/c/@Path_rMoveTo
|
583
|
+
*/
|
584
|
+
SkPath& rMoveTo(SkScalar dx, SkScalar dy);
|
585
|
+
|
586
|
+
/** Adds line from last point to (x, y). If SkPath is empty, or last SkPath::Verb is
|
587
|
+
kClose_Verb, last point is set to (0, 0) before adding line.
|
588
|
+
|
589
|
+
lineTo() appends kMove_Verb to verb array and (0, 0) to SkPoint array, if needed.
|
590
|
+
lineTo() then appends kLine_Verb to verb array and (x, y) to SkPoint array.
|
591
|
+
|
592
|
+
@param x end of added line on x-axis
|
593
|
+
@param y end of added line on y-axis
|
594
|
+
@return reference to SkPath
|
595
|
+
|
596
|
+
example: https://fiddle.skia.org/c/@Path_lineTo
|
597
|
+
*/
|
598
|
+
SkPath& lineTo(SkScalar x, SkScalar y);
|
599
|
+
|
600
|
+
/** Adds line from last point to SkPoint p. If SkPath is empty, or last SkPath::Verb is
|
601
|
+
kClose_Verb, last point is set to (0, 0) before adding line.
|
602
|
+
|
603
|
+
lineTo() first appends kMove_Verb to verb array and (0, 0) to SkPoint array, if needed.
|
604
|
+
lineTo() then appends kLine_Verb to verb array and SkPoint p to SkPoint array.
|
605
|
+
|
606
|
+
@param p end SkPoint of added line
|
607
|
+
@return reference to SkPath
|
608
|
+
*/
|
609
|
+
SkPath& lineTo(const SkPoint& p) {
|
610
|
+
return this->lineTo(p.fX, p.fY);
|
611
|
+
}
|
612
|
+
|
613
|
+
/** Adds line from last point to vector (dx, dy). If SkPath is empty, or last SkPath::Verb is
|
614
|
+
kClose_Verb, last point is set to (0, 0) before adding line.
|
615
|
+
|
616
|
+
Appends kMove_Verb to verb array and (0, 0) to SkPoint array, if needed;
|
617
|
+
then appends kLine_Verb to verb array and line end to SkPoint array.
|
618
|
+
Line end is last point plus vector (dx, dy).
|
619
|
+
Function name stands for "relative line to".
|
620
|
+
|
621
|
+
@param dx offset from last point to line end on x-axis
|
622
|
+
@param dy offset from last point to line end on y-axis
|
623
|
+
@return reference to SkPath
|
624
|
+
|
625
|
+
example: https://fiddle.skia.org/c/@Path_rLineTo
|
626
|
+
example: https://fiddle.skia.org/c/@Quad_a
|
627
|
+
example: https://fiddle.skia.org/c/@Quad_b
|
628
|
+
*/
|
629
|
+
SkPath& rLineTo(SkScalar dx, SkScalar dy);
|
630
|
+
|
631
|
+
/** Adds quad from last point towards (x1, y1), to (x2, y2).
|
632
|
+
If SkPath is empty, or last SkPath::Verb is kClose_Verb, last point is set to (0, 0)
|
633
|
+
before adding quad.
|
634
|
+
|
635
|
+
Appends kMove_Verb to verb array and (0, 0) to SkPoint array, if needed;
|
636
|
+
then appends kQuad_Verb to verb array; and (x1, y1), (x2, y2)
|
637
|
+
to SkPoint array.
|
638
|
+
|
639
|
+
@param x1 control SkPoint of quad on x-axis
|
640
|
+
@param y1 control SkPoint of quad on y-axis
|
641
|
+
@param x2 end SkPoint of quad on x-axis
|
642
|
+
@param y2 end SkPoint of quad on y-axis
|
643
|
+
@return reference to SkPath
|
644
|
+
|
645
|
+
example: https://fiddle.skia.org/c/@Path_quadTo
|
646
|
+
*/
|
647
|
+
SkPath& quadTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2);
|
648
|
+
|
649
|
+
/** Adds quad from last point towards SkPoint p1, to SkPoint p2.
|
650
|
+
If SkPath is empty, or last SkPath::Verb is kClose_Verb, last point is set to (0, 0)
|
651
|
+
before adding quad.
|
652
|
+
|
653
|
+
Appends kMove_Verb to verb array and (0, 0) to SkPoint array, if needed;
|
654
|
+
then appends kQuad_Verb to verb array; and SkPoint p1, p2
|
655
|
+
to SkPoint array.
|
656
|
+
|
657
|
+
@param p1 control SkPoint of added quad
|
658
|
+
@param p2 end SkPoint of added quad
|
659
|
+
@return reference to SkPath
|
660
|
+
*/
|
661
|
+
SkPath& quadTo(const SkPoint& p1, const SkPoint& p2) {
|
662
|
+
return this->quadTo(p1.fX, p1.fY, p2.fX, p2.fY);
|
663
|
+
}
|
664
|
+
|
665
|
+
/** Adds quad from last point towards vector (dx1, dy1), to vector (dx2, dy2).
|
666
|
+
If SkPath is empty, or last SkPath::Verb
|
667
|
+
is kClose_Verb, last point is set to (0, 0) before adding quad.
|
668
|
+
|
669
|
+
Appends kMove_Verb to verb array and (0, 0) to SkPoint array,
|
670
|
+
if needed; then appends kQuad_Verb to verb array; and appends quad
|
671
|
+
control and quad end to SkPoint array.
|
672
|
+
Quad control is last point plus vector (dx1, dy1).
|
673
|
+
Quad end is last point plus vector (dx2, dy2).
|
674
|
+
Function name stands for "relative quad to".
|
675
|
+
|
676
|
+
@param dx1 offset from last point to quad control on x-axis
|
677
|
+
@param dy1 offset from last point to quad control on y-axis
|
678
|
+
@param dx2 offset from last point to quad end on x-axis
|
679
|
+
@param dy2 offset from last point to quad end on y-axis
|
680
|
+
@return reference to SkPath
|
681
|
+
|
682
|
+
example: https://fiddle.skia.org/c/@Conic_Weight_a
|
683
|
+
example: https://fiddle.skia.org/c/@Conic_Weight_b
|
684
|
+
example: https://fiddle.skia.org/c/@Conic_Weight_c
|
685
|
+
example: https://fiddle.skia.org/c/@Path_rQuadTo
|
686
|
+
*/
|
687
|
+
SkPath& rQuadTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2);
|
688
|
+
|
689
|
+
/** Adds conic from last point towards (x1, y1), to (x2, y2), weighted by w.
|
690
|
+
If SkPath is empty, or last SkPath::Verb is kClose_Verb, last point is set to (0, 0)
|
691
|
+
before adding conic.
|
692
|
+
|
693
|
+
Appends kMove_Verb to verb array and (0, 0) to SkPoint array, if needed.
|
694
|
+
|
695
|
+
If w is finite and not one, appends kConic_Verb to verb array;
|
696
|
+
and (x1, y1), (x2, y2) to SkPoint array; and w to conic weights.
|
697
|
+
|
698
|
+
If w is one, appends kQuad_Verb to verb array, and
|
699
|
+
(x1, y1), (x2, y2) to SkPoint array.
|
700
|
+
|
701
|
+
If w is not finite, appends kLine_Verb twice to verb array, and
|
702
|
+
(x1, y1), (x2, y2) to SkPoint array.
|
703
|
+
|
704
|
+
@param x1 control SkPoint of conic on x-axis
|
705
|
+
@param y1 control SkPoint of conic on y-axis
|
706
|
+
@param x2 end SkPoint of conic on x-axis
|
707
|
+
@param y2 end SkPoint of conic on y-axis
|
708
|
+
@param w weight of added conic
|
709
|
+
@return reference to SkPath
|
710
|
+
*/
|
711
|
+
SkPath& conicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2,
|
712
|
+
SkScalar w);
|
713
|
+
|
714
|
+
/** Adds conic from last point towards SkPoint p1, to SkPoint p2, weighted by w.
|
715
|
+
If SkPath is empty, or last SkPath::Verb is kClose_Verb, last point is set to (0, 0)
|
716
|
+
before adding conic.
|
717
|
+
|
718
|
+
Appends kMove_Verb to verb array and (0, 0) to SkPoint array, if needed.
|
719
|
+
|
720
|
+
If w is finite and not one, appends kConic_Verb to verb array;
|
721
|
+
and SkPoint p1, p2 to SkPoint array; and w to conic weights.
|
722
|
+
|
723
|
+
If w is one, appends kQuad_Verb to verb array, and SkPoint p1, p2
|
724
|
+
to SkPoint array.
|
725
|
+
|
726
|
+
If w is not finite, appends kLine_Verb twice to verb array, and
|
727
|
+
SkPoint p1, p2 to SkPoint array.
|
728
|
+
|
729
|
+
@param p1 control SkPoint of added conic
|
730
|
+
@param p2 end SkPoint of added conic
|
731
|
+
@param w weight of added conic
|
732
|
+
@return reference to SkPath
|
733
|
+
*/
|
734
|
+
SkPath& conicTo(const SkPoint& p1, const SkPoint& p2, SkScalar w) {
|
735
|
+
return this->conicTo(p1.fX, p1.fY, p2.fX, p2.fY, w);
|
736
|
+
}
|
737
|
+
|
738
|
+
/** Adds conic from last point towards vector (dx1, dy1), to vector (dx2, dy2),
|
739
|
+
weighted by w. If SkPath is empty, or last SkPath::Verb
|
740
|
+
is kClose_Verb, last point is set to (0, 0) before adding conic.
|
741
|
+
|
742
|
+
Appends kMove_Verb to verb array and (0, 0) to SkPoint array,
|
743
|
+
if needed.
|
744
|
+
|
745
|
+
If w is finite and not one, next appends kConic_Verb to verb array,
|
746
|
+
and w is recorded as conic weight; otherwise, if w is one, appends
|
747
|
+
kQuad_Verb to verb array; or if w is not finite, appends kLine_Verb
|
748
|
+
twice to verb array.
|
749
|
+
|
750
|
+
In all cases appends SkPoint control and end to SkPoint array.
|
751
|
+
control is last point plus vector (dx1, dy1).
|
752
|
+
end is last point plus vector (dx2, dy2).
|
753
|
+
|
754
|
+
Function name stands for "relative conic to".
|
755
|
+
|
756
|
+
@param dx1 offset from last point to conic control on x-axis
|
757
|
+
@param dy1 offset from last point to conic control on y-axis
|
758
|
+
@param dx2 offset from last point to conic end on x-axis
|
759
|
+
@param dy2 offset from last point to conic end on y-axis
|
760
|
+
@param w weight of added conic
|
761
|
+
@return reference to SkPath
|
762
|
+
*/
|
763
|
+
SkPath& rConicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
|
764
|
+
SkScalar w);
|
765
|
+
|
766
|
+
/** Adds cubic from last point towards (x1, y1), then towards (x2, y2), ending at
|
767
|
+
(x3, y3). If SkPath is empty, or last SkPath::Verb is kClose_Verb, last point is set to
|
768
|
+
(0, 0) before adding cubic.
|
769
|
+
|
770
|
+
Appends kMove_Verb to verb array and (0, 0) to SkPoint array, if needed;
|
771
|
+
then appends kCubic_Verb to verb array; and (x1, y1), (x2, y2), (x3, y3)
|
772
|
+
to SkPoint array.
|
773
|
+
|
774
|
+
@param x1 first control SkPoint of cubic on x-axis
|
775
|
+
@param y1 first control SkPoint of cubic on y-axis
|
776
|
+
@param x2 second control SkPoint of cubic on x-axis
|
777
|
+
@param y2 second control SkPoint of cubic on y-axis
|
778
|
+
@param x3 end SkPoint of cubic on x-axis
|
779
|
+
@param y3 end SkPoint of cubic on y-axis
|
780
|
+
@return reference to SkPath
|
781
|
+
*/
|
782
|
+
SkPath& cubicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2,
|
783
|
+
SkScalar x3, SkScalar y3);
|
784
|
+
|
785
|
+
/** Adds cubic from last point towards SkPoint p1, then towards SkPoint p2, ending at
|
786
|
+
SkPoint p3. If SkPath is empty, or last SkPath::Verb is kClose_Verb, last point is set to
|
787
|
+
(0, 0) before adding cubic.
|
788
|
+
|
789
|
+
Appends kMove_Verb to verb array and (0, 0) to SkPoint array, if needed;
|
790
|
+
then appends kCubic_Verb to verb array; and SkPoint p1, p2, p3
|
791
|
+
to SkPoint array.
|
792
|
+
|
793
|
+
@param p1 first control SkPoint of cubic
|
794
|
+
@param p2 second control SkPoint of cubic
|
795
|
+
@param p3 end SkPoint of cubic
|
796
|
+
@return reference to SkPath
|
797
|
+
*/
|
798
|
+
SkPath& cubicTo(const SkPoint& p1, const SkPoint& p2, const SkPoint& p3) {
|
799
|
+
return this->cubicTo(p1.fX, p1.fY, p2.fX, p2.fY, p3.fX, p3.fY);
|
800
|
+
}
|
801
|
+
|
802
|
+
/** Adds cubic from last point towards vector (dx1, dy1), then towards
|
803
|
+
vector (dx2, dy2), to vector (dx3, dy3).
|
804
|
+
If SkPath is empty, or last SkPath::Verb
|
805
|
+
is kClose_Verb, last point is set to (0, 0) before adding cubic.
|
806
|
+
|
807
|
+
Appends kMove_Verb to verb array and (0, 0) to SkPoint array,
|
808
|
+
if needed; then appends kCubic_Verb to verb array; and appends cubic
|
809
|
+
control and cubic end to SkPoint array.
|
810
|
+
Cubic control is last point plus vector (dx1, dy1).
|
811
|
+
Cubic end is last point plus vector (dx2, dy2).
|
812
|
+
Function name stands for "relative cubic to".
|
813
|
+
|
814
|
+
@param dx1 offset from last point to first cubic control on x-axis
|
815
|
+
@param dy1 offset from last point to first cubic control on y-axis
|
816
|
+
@param dx2 offset from last point to second cubic control on x-axis
|
817
|
+
@param dy2 offset from last point to second cubic control on y-axis
|
818
|
+
@param dx3 offset from last point to cubic end on x-axis
|
819
|
+
@param dy3 offset from last point to cubic end on y-axis
|
820
|
+
@return reference to SkPath
|
821
|
+
*/
|
822
|
+
SkPath& rCubicTo(SkScalar dx1, SkScalar dy1, SkScalar dx2, SkScalar dy2,
|
823
|
+
SkScalar dx3, SkScalar dy3);
|
824
|
+
|
825
|
+
/** Appends arc to SkPath. Arc added is part of ellipse
|
826
|
+
bounded by oval, from startAngle through sweepAngle. Both startAngle and
|
827
|
+
sweepAngle are measured in degrees, where zero degrees is aligned with the
|
828
|
+
positive x-axis, and positive sweeps extends arc clockwise.
|
829
|
+
|
830
|
+
arcTo() adds line connecting SkPath last SkPoint to initial arc SkPoint if forceMoveTo
|
831
|
+
is false and SkPath is not empty. Otherwise, added contour begins with first point
|
832
|
+
of arc. Angles greater than -360 and less than 360 are treated modulo 360.
|
833
|
+
|
834
|
+
@param oval bounds of ellipse containing arc
|
835
|
+
@param startAngle starting angle of arc in degrees
|
836
|
+
@param sweepAngle sweep, in degrees. Positive is clockwise; treated modulo 360
|
837
|
+
@param forceMoveTo true to start a new contour with arc
|
838
|
+
@return reference to SkPath
|
839
|
+
|
840
|
+
example: https://fiddle.skia.org/c/@Path_arcTo
|
841
|
+
*/
|
842
|
+
SkPath& arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo);
|
843
|
+
|
844
|
+
/** Appends arc to SkPath, after appending line if needed. Arc is implemented by conic
|
845
|
+
weighted to describe part of circle. Arc is contained by tangent from
|
846
|
+
last SkPath point to (x1, y1), and tangent from (x1, y1) to (x2, y2). Arc
|
847
|
+
is part of circle sized to radius, positioned so it touches both tangent lines.
|
848
|
+
|
849
|
+
If last Path Point does not start Arc, arcTo appends connecting Line to Path.
|
850
|
+
The length of Vector from (x1, y1) to (x2, y2) does not affect Arc.
|
851
|
+
|
852
|
+
Arc sweep is always less than 180 degrees. If radius is zero, or if
|
853
|
+
tangents are nearly parallel, arcTo appends Line from last Path Point to (x1, y1).
|
854
|
+
|
855
|
+
arcTo appends at most one Line and one conic.
|
856
|
+
arcTo implements the functionality of PostScript arct and HTML Canvas arcTo.
|
857
|
+
|
858
|
+
@param x1 x-axis value common to pair of tangents
|
859
|
+
@param y1 y-axis value common to pair of tangents
|
860
|
+
@param x2 x-axis value end of second tangent
|
861
|
+
@param y2 y-axis value end of second tangent
|
862
|
+
@param radius distance from arc to circle center
|
863
|
+
@return reference to SkPath
|
864
|
+
|
865
|
+
example: https://fiddle.skia.org/c/@Path_arcTo_2_a
|
866
|
+
example: https://fiddle.skia.org/c/@Path_arcTo_2_b
|
867
|
+
example: https://fiddle.skia.org/c/@Path_arcTo_2_c
|
868
|
+
*/
|
869
|
+
SkPath& arcTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar radius);
|
870
|
+
|
871
|
+
/** Appends arc to SkPath, after appending line if needed. Arc is implemented by conic
|
872
|
+
weighted to describe part of circle. Arc is contained by tangent from
|
873
|
+
last SkPath point to p1, and tangent from p1 to p2. Arc
|
874
|
+
is part of circle sized to radius, positioned so it touches both tangent lines.
|
875
|
+
|
876
|
+
If last SkPath SkPoint does not start arc, arcTo() appends connecting line to SkPath.
|
877
|
+
The length of vector from p1 to p2 does not affect arc.
|
878
|
+
|
879
|
+
Arc sweep is always less than 180 degrees. If radius is zero, or if
|
880
|
+
tangents are nearly parallel, arcTo() appends line from last SkPath SkPoint to p1.
|
881
|
+
|
882
|
+
arcTo() appends at most one line and one conic.
|
883
|
+
arcTo() implements the functionality of PostScript arct and HTML Canvas arcTo.
|
884
|
+
|
885
|
+
@param p1 SkPoint common to pair of tangents
|
886
|
+
@param p2 end of second tangent
|
887
|
+
@param radius distance from arc to circle center
|
888
|
+
@return reference to SkPath
|
889
|
+
*/
|
890
|
+
SkPath& arcTo(const SkPoint p1, const SkPoint p2, SkScalar radius) {
|
891
|
+
return this->arcTo(p1.fX, p1.fY, p2.fX, p2.fY, radius);
|
892
|
+
}
|
893
|
+
|
894
|
+
/** \enum SkPath::ArcSize
|
895
|
+
Four oval parts with radii (rx, ry) start at last SkPath SkPoint and ends at (x, y).
|
896
|
+
ArcSize and Direction select one of the four oval parts.
|
897
|
+
*/
|
898
|
+
enum ArcSize {
|
899
|
+
kSmall_ArcSize, //!< smaller of arc pair
|
900
|
+
kLarge_ArcSize, //!< larger of arc pair
|
901
|
+
};
|
902
|
+
|
903
|
+
/** Appends arc to SkPath. Arc is implemented by one or more conics weighted to
|
904
|
+
describe part of oval with radii (rx, ry) rotated by xAxisRotate degrees. Arc
|
905
|
+
curves from last SkPath SkPoint to (x, y), choosing one of four possible routes:
|
906
|
+
clockwise or counterclockwise, and smaller or larger.
|
907
|
+
|
908
|
+
Arc sweep is always less than 360 degrees. arcTo() appends line to (x, y) if
|
909
|
+
either radii are zero, or if last SkPath SkPoint equals (x, y). arcTo() scales radii
|
910
|
+
(rx, ry) to fit last SkPath SkPoint and (x, y) if both are greater than zero but
|
911
|
+
too small.
|
912
|
+
|
913
|
+
arcTo() appends up to four conic curves.
|
914
|
+
arcTo() implements the functionality of SVG arc, although SVG sweep-flag value
|
915
|
+
is opposite the integer value of sweep; SVG sweep-flag uses 1 for clockwise,
|
916
|
+
while kCW_Direction cast to int is zero.
|
917
|
+
|
918
|
+
@param rx radius on x-axis before x-axis rotation
|
919
|
+
@param ry radius on y-axis before x-axis rotation
|
920
|
+
@param xAxisRotate x-axis rotation in degrees; positive values are clockwise
|
921
|
+
@param largeArc chooses smaller or larger arc
|
922
|
+
@param sweep chooses clockwise or counterclockwise arc
|
923
|
+
@param x end of arc
|
924
|
+
@param y end of arc
|
925
|
+
@return reference to SkPath
|
926
|
+
*/
|
927
|
+
SkPath& arcTo(SkScalar rx, SkScalar ry, SkScalar xAxisRotate, ArcSize largeArc,
|
928
|
+
SkPathDirection sweep, SkScalar x, SkScalar y);
|
929
|
+
|
930
|
+
/** Appends arc to SkPath. Arc is implemented by one or more conic weighted to describe
|
931
|
+
part of oval with radii (r.fX, r.fY) rotated by xAxisRotate degrees. Arc curves
|
932
|
+
from last SkPath SkPoint to (xy.fX, xy.fY), choosing one of four possible routes:
|
933
|
+
clockwise or counterclockwise,
|
934
|
+
and smaller or larger.
|
935
|
+
|
936
|
+
Arc sweep is always less than 360 degrees. arcTo() appends line to xy if either
|
937
|
+
radii are zero, or if last SkPath SkPoint equals (xy.fX, xy.fY). arcTo() scales radii r to
|
938
|
+
fit last SkPath SkPoint and xy if both are greater than zero but too small to describe
|
939
|
+
an arc.
|
940
|
+
|
941
|
+
arcTo() appends up to four conic curves.
|
942
|
+
arcTo() implements the functionality of SVG arc, although SVG sweep-flag value is
|
943
|
+
opposite the integer value of sweep; SVG sweep-flag uses 1 for clockwise, while
|
944
|
+
kCW_Direction cast to int is zero.
|
945
|
+
|
946
|
+
@param r radii on axes before x-axis rotation
|
947
|
+
@param xAxisRotate x-axis rotation in degrees; positive values are clockwise
|
948
|
+
@param largeArc chooses smaller or larger arc
|
949
|
+
@param sweep chooses clockwise or counterclockwise arc
|
950
|
+
@param xy end of arc
|
951
|
+
@return reference to SkPath
|
952
|
+
*/
|
953
|
+
SkPath& arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, SkPathDirection sweep,
|
954
|
+
const SkPoint xy) {
|
955
|
+
return this->arcTo(r.fX, r.fY, xAxisRotate, largeArc, sweep, xy.fX, xy.fY);
|
956
|
+
}
|
957
|
+
|
958
|
+
/** Appends arc to SkPath, relative to last SkPath SkPoint. Arc is implemented by one or
|
959
|
+
more conic, weighted to describe part of oval with radii (rx, ry) rotated by
|
960
|
+
xAxisRotate degrees. Arc curves from last SkPath SkPoint to relative end SkPoint:
|
961
|
+
(dx, dy), choosing one of four possible routes: clockwise or
|
962
|
+
counterclockwise, and smaller or larger. If SkPath is empty, the start arc SkPoint
|
963
|
+
is (0, 0).
|
964
|
+
|
965
|
+
Arc sweep is always less than 360 degrees. arcTo() appends line to end SkPoint
|
966
|
+
if either radii are zero, or if last SkPath SkPoint equals end SkPoint.
|
967
|
+
arcTo() scales radii (rx, ry) to fit last SkPath SkPoint and end SkPoint if both are
|
968
|
+
greater than zero but too small to describe an arc.
|
969
|
+
|
970
|
+
arcTo() appends up to four conic curves.
|
971
|
+
arcTo() implements the functionality of svg arc, although SVG "sweep-flag" value is
|
972
|
+
opposite the integer value of sweep; SVG "sweep-flag" uses 1 for clockwise, while
|
973
|
+
kCW_Direction cast to int is zero.
|
974
|
+
|
975
|
+
@param rx radius before x-axis rotation
|
976
|
+
@param ry radius before x-axis rotation
|
977
|
+
@param xAxisRotate x-axis rotation in degrees; positive values are clockwise
|
978
|
+
@param largeArc chooses smaller or larger arc
|
979
|
+
@param sweep chooses clockwise or counterclockwise arc
|
980
|
+
@param dx x-axis offset end of arc from last SkPath SkPoint
|
981
|
+
@param dy y-axis offset end of arc from last SkPath SkPoint
|
982
|
+
@return reference to SkPath
|
983
|
+
*/
|
984
|
+
SkPath& rArcTo(SkScalar rx, SkScalar ry, SkScalar xAxisRotate, ArcSize largeArc,
|
985
|
+
SkPathDirection sweep, SkScalar dx, SkScalar dy);
|
986
|
+
|
987
|
+
/** Appends kClose_Verb to SkPath. A closed contour connects the first and last SkPoint
|
988
|
+
with line, forming a continuous loop. Open and closed contour draw the same
|
989
|
+
with SkPaint::kFill_Style. With SkPaint::kStroke_Style, open contour draws
|
990
|
+
SkPaint::Cap at contour start and end; closed contour draws
|
991
|
+
SkPaint::Join at contour start and end.
|
992
|
+
|
993
|
+
close() has no effect if SkPath is empty or last SkPath SkPath::Verb is kClose_Verb.
|
994
|
+
|
995
|
+
@return reference to SkPath
|
996
|
+
|
997
|
+
example: https://fiddle.skia.org/c/@Path_close
|
998
|
+
*/
|
999
|
+
SkPath& close();
|
1000
|
+
|
1001
|
+
#ifdef SK_HIDE_PATH_EDIT_METHODS
|
1002
|
+
public:
|
1003
|
+
#endif
|
1004
|
+
|
1005
|
+
/** Approximates conic with quad array. Conic is constructed from start SkPoint p0,
|
1006
|
+
control SkPoint p1, end SkPoint p2, and weight w.
|
1007
|
+
Quad array is stored in pts; this storage is supplied by caller.
|
1008
|
+
Maximum quad count is 2 to the pow2.
|
1009
|
+
Every third point in array shares last SkPoint of previous quad and first SkPoint of
|
1010
|
+
next quad. Maximum pts storage size is given by:
|
1011
|
+
(1 + 2 * (1 << pow2)) * sizeof(SkPoint).
|
1012
|
+
|
1013
|
+
Returns quad count used the approximation, which may be smaller
|
1014
|
+
than the number requested.
|
1015
|
+
|
1016
|
+
conic weight determines the amount of influence conic control point has on the curve.
|
1017
|
+
w less than one represents an elliptical section. w greater than one represents
|
1018
|
+
a hyperbolic section. w equal to one represents a parabolic section.
|
1019
|
+
|
1020
|
+
Two quad curves are sufficient to approximate an elliptical conic with a sweep
|
1021
|
+
of up to 90 degrees; in this case, set pow2 to one.
|
1022
|
+
|
1023
|
+
@param p0 conic start SkPoint
|
1024
|
+
@param p1 conic control SkPoint
|
1025
|
+
@param p2 conic end SkPoint
|
1026
|
+
@param w conic weight
|
1027
|
+
@param pts storage for quad array
|
1028
|
+
@param pow2 quad count, as power of two, normally 0 to 5 (1 to 32 quad curves)
|
1029
|
+
@return number of quad curves written to pts
|
1030
|
+
*/
|
1031
|
+
static int ConvertConicToQuads(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2,
|
1032
|
+
SkScalar w, SkPoint pts[], int pow2);
|
1033
|
+
|
1034
|
+
/** Returns true if SkPath is equivalent to SkRect when filled.
|
1035
|
+
If false: rect, isClosed, and direction are unchanged.
|
1036
|
+
If true: rect, isClosed, and direction are written to if not nullptr.
|
1037
|
+
|
1038
|
+
rect may be smaller than the SkPath bounds. SkPath bounds may include kMove_Verb points
|
1039
|
+
that do not alter the area drawn by the returned rect.
|
1040
|
+
|
1041
|
+
@param rect storage for bounds of SkRect; may be nullptr
|
1042
|
+
@param isClosed storage set to true if SkPath is closed; may be nullptr
|
1043
|
+
@param direction storage set to SkRect direction; may be nullptr
|
1044
|
+
@return true if SkPath contains SkRect
|
1045
|
+
|
1046
|
+
example: https://fiddle.skia.org/c/@Path_isRect
|
1047
|
+
*/
|
1048
|
+
bool isRect(SkRect* rect, bool* isClosed = nullptr, SkPathDirection* direction = nullptr) const;
|
1049
|
+
|
1050
|
+
#ifdef SK_HIDE_PATH_EDIT_METHODS
|
1051
|
+
private:
|
1052
|
+
#endif
|
1053
|
+
|
1054
|
+
/** Adds a new contour to the path, defined by the rect, and wound in the
|
1055
|
+
specified direction. The verbs added to the path will be:
|
1056
|
+
|
1057
|
+
kMove, kLine, kLine, kLine, kClose
|
1058
|
+
|
1059
|
+
start specifies which corner to begin the contour:
|
1060
|
+
0: upper-left corner
|
1061
|
+
1: upper-right corner
|
1062
|
+
2: lower-right corner
|
1063
|
+
3: lower-left corner
|
1064
|
+
|
1065
|
+
This start point also acts as the implied beginning of the subsequent,
|
1066
|
+
contour, if it does not have an explicit moveTo(). e.g.
|
1067
|
+
|
1068
|
+
path.addRect(...)
|
1069
|
+
// if we don't say moveTo() here, we will use the rect's start point
|
1070
|
+
path.lineTo(...)
|
1071
|
+
|
1072
|
+
@param rect SkRect to add as a closed contour
|
1073
|
+
@param dir SkPath::Direction to orient the new contour
|
1074
|
+
@param start initial corner of SkRect to add
|
1075
|
+
@return reference to SkPath
|
1076
|
+
|
1077
|
+
example: https://fiddle.skia.org/c/@Path_addRect_2
|
1078
|
+
*/
|
1079
|
+
SkPath& addRect(const SkRect& rect, SkPathDirection dir, unsigned start);
|
1080
|
+
|
1081
|
+
SkPath& addRect(const SkRect& rect, SkPathDirection dir = SkPathDirection::kCW) {
|
1082
|
+
return this->addRect(rect, dir, 0);
|
1083
|
+
}
|
1084
|
+
|
1085
|
+
SkPath& addRect(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom,
|
1086
|
+
SkPathDirection dir = SkPathDirection::kCW) {
|
1087
|
+
return this->addRect({left, top, right, bottom}, dir, 0);
|
1088
|
+
}
|
1089
|
+
|
1090
|
+
/** Adds oval to path, appending kMove_Verb, four kConic_Verb, and kClose_Verb.
|
1091
|
+
Oval is upright ellipse bounded by SkRect oval with radii equal to half oval width
|
1092
|
+
and half oval height. Oval begins at (oval.fRight, oval.centerY()) and continues
|
1093
|
+
clockwise if dir is kCW_Direction, counterclockwise if dir is kCCW_Direction.
|
1094
|
+
|
1095
|
+
@param oval bounds of ellipse added
|
1096
|
+
@param dir SkPath::Direction to wind ellipse
|
1097
|
+
@return reference to SkPath
|
1098
|
+
|
1099
|
+
example: https://fiddle.skia.org/c/@Path_addOval
|
1100
|
+
*/
|
1101
|
+
SkPath& addOval(const SkRect& oval, SkPathDirection dir = SkPathDirection::kCW);
|
1102
|
+
|
1103
|
+
/** Adds oval to SkPath, appending kMove_Verb, four kConic_Verb, and kClose_Verb.
|
1104
|
+
Oval is upright ellipse bounded by SkRect oval with radii equal to half oval width
|
1105
|
+
and half oval height. Oval begins at start and continues
|
1106
|
+
clockwise if dir is kCW_Direction, counterclockwise if dir is kCCW_Direction.
|
1107
|
+
|
1108
|
+
@param oval bounds of ellipse added
|
1109
|
+
@param dir SkPath::Direction to wind ellipse
|
1110
|
+
@param start index of initial point of ellipse
|
1111
|
+
@return reference to SkPath
|
1112
|
+
|
1113
|
+
example: https://fiddle.skia.org/c/@Path_addOval_2
|
1114
|
+
*/
|
1115
|
+
SkPath& addOval(const SkRect& oval, SkPathDirection dir, unsigned start);
|
1116
|
+
|
1117
|
+
/** Adds circle centered at (x, y) of size radius to SkPath, appending kMove_Verb,
|
1118
|
+
four kConic_Verb, and kClose_Verb. Circle begins at: (x + radius, y), continuing
|
1119
|
+
clockwise if dir is kCW_Direction, and counterclockwise if dir is kCCW_Direction.
|
1120
|
+
|
1121
|
+
Has no effect if radius is zero or negative.
|
1122
|
+
|
1123
|
+
@param x center of circle
|
1124
|
+
@param y center of circle
|
1125
|
+
@param radius distance from center to edge
|
1126
|
+
@param dir SkPath::Direction to wind circle
|
1127
|
+
@return reference to SkPath
|
1128
|
+
*/
|
1129
|
+
SkPath& addCircle(SkScalar x, SkScalar y, SkScalar radius,
|
1130
|
+
SkPathDirection dir = SkPathDirection::kCW);
|
1131
|
+
|
1132
|
+
/** Appends arc to SkPath, as the start of new contour. Arc added is part of ellipse
|
1133
|
+
bounded by oval, from startAngle through sweepAngle. Both startAngle and
|
1134
|
+
sweepAngle are measured in degrees, where zero degrees is aligned with the
|
1135
|
+
positive x-axis, and positive sweeps extends arc clockwise.
|
1136
|
+
|
1137
|
+
If sweepAngle <= -360, or sweepAngle >= 360; and startAngle modulo 90 is nearly
|
1138
|
+
zero, append oval instead of arc. Otherwise, sweepAngle values are treated
|
1139
|
+
modulo 360, and arc may or may not draw depending on numeric rounding.
|
1140
|
+
|
1141
|
+
@param oval bounds of ellipse containing arc
|
1142
|
+
@param startAngle starting angle of arc in degrees
|
1143
|
+
@param sweepAngle sweep, in degrees. Positive is clockwise; treated modulo 360
|
1144
|
+
@return reference to SkPath
|
1145
|
+
|
1146
|
+
example: https://fiddle.skia.org/c/@Path_addArc
|
1147
|
+
*/
|
1148
|
+
SkPath& addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle);
|
1149
|
+
|
1150
|
+
/** Appends SkRRect to SkPath, creating a new closed contour. SkRRect has bounds
|
1151
|
+
equal to rect; each corner is 90 degrees of an ellipse with radii (rx, ry). If
|
1152
|
+
dir is kCW_Direction, SkRRect starts at top-left of the lower-left corner and
|
1153
|
+
winds clockwise. If dir is kCCW_Direction, SkRRect starts at the bottom-left
|
1154
|
+
of the upper-left corner and winds counterclockwise.
|
1155
|
+
|
1156
|
+
If either rx or ry is too large, rx and ry are scaled uniformly until the
|
1157
|
+
corners fit. If rx or ry is less than or equal to zero, addRoundRect() appends
|
1158
|
+
SkRect rect to SkPath.
|
1159
|
+
|
1160
|
+
After appending, SkPath may be empty, or may contain: SkRect, oval, or SkRRect.
|
1161
|
+
|
1162
|
+
@param rect bounds of SkRRect
|
1163
|
+
@param rx x-axis radius of rounded corners on the SkRRect
|
1164
|
+
@param ry y-axis radius of rounded corners on the SkRRect
|
1165
|
+
@param dir SkPath::Direction to wind SkRRect
|
1166
|
+
@return reference to SkPath
|
1167
|
+
*/
|
1168
|
+
SkPath& addRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry,
|
1169
|
+
SkPathDirection dir = SkPathDirection::kCW);
|
1170
|
+
|
1171
|
+
/** Appends SkRRect to SkPath, creating a new closed contour. SkRRect has bounds
|
1172
|
+
equal to rect; each corner is 90 degrees of an ellipse with radii from the
|
1173
|
+
array.
|
1174
|
+
|
1175
|
+
@param rect bounds of SkRRect
|
1176
|
+
@param radii array of 8 SkScalar values, a radius pair for each corner
|
1177
|
+
@param dir SkPath::Direction to wind SkRRect
|
1178
|
+
@return reference to SkPath
|
1179
|
+
*/
|
1180
|
+
SkPath& addRoundRect(const SkRect& rect, const SkScalar radii[],
|
1181
|
+
SkPathDirection dir = SkPathDirection::kCW);
|
1182
|
+
|
1183
|
+
/** Adds rrect to SkPath, creating a new closed contour. If
|
1184
|
+
dir is kCW_Direction, rrect starts at top-left of the lower-left corner and
|
1185
|
+
winds clockwise. If dir is kCCW_Direction, rrect starts at the bottom-left
|
1186
|
+
of the upper-left corner and winds counterclockwise.
|
1187
|
+
|
1188
|
+
After appending, SkPath may be empty, or may contain: SkRect, oval, or SkRRect.
|
1189
|
+
|
1190
|
+
@param rrect bounds and radii of rounded rectangle
|
1191
|
+
@param dir SkPath::Direction to wind SkRRect
|
1192
|
+
@return reference to SkPath
|
1193
|
+
|
1194
|
+
example: https://fiddle.skia.org/c/@Path_addRRect
|
1195
|
+
*/
|
1196
|
+
SkPath& addRRect(const SkRRect& rrect, SkPathDirection dir = SkPathDirection::kCW);
|
1197
|
+
|
1198
|
+
/** Adds rrect to SkPath, creating a new closed contour. If dir is kCW_Direction, rrect
|
1199
|
+
winds clockwise; if dir is kCCW_Direction, rrect winds counterclockwise.
|
1200
|
+
start determines the first point of rrect to add.
|
1201
|
+
|
1202
|
+
@param rrect bounds and radii of rounded rectangle
|
1203
|
+
@param dir SkPath::Direction to wind SkRRect
|
1204
|
+
@param start index of initial point of SkRRect
|
1205
|
+
@return reference to SkPath
|
1206
|
+
|
1207
|
+
example: https://fiddle.skia.org/c/@Path_addRRect_2
|
1208
|
+
*/
|
1209
|
+
SkPath& addRRect(const SkRRect& rrect, SkPathDirection dir, unsigned start);
|
1210
|
+
|
1211
|
+
/** Adds contour created from line array, adding (count - 1) line segments.
|
1212
|
+
Contour added starts at pts[0], then adds a line for every additional SkPoint
|
1213
|
+
in pts array. If close is true, appends kClose_Verb to SkPath, connecting
|
1214
|
+
pts[count - 1] and pts[0].
|
1215
|
+
|
1216
|
+
If count is zero, append kMove_Verb to path.
|
1217
|
+
Has no effect if count is less than one.
|
1218
|
+
|
1219
|
+
@param pts array of line sharing end and start SkPoint
|
1220
|
+
@param count length of SkPoint array
|
1221
|
+
@param close true to add line connecting contour end and start
|
1222
|
+
@return reference to SkPath
|
1223
|
+
|
1224
|
+
example: https://fiddle.skia.org/c/@Path_addPoly
|
1225
|
+
*/
|
1226
|
+
SkPath& addPoly(const SkPoint pts[], int count, bool close);
|
1227
|
+
|
1228
|
+
/** Adds contour created from list. Contour added starts at list[0], then adds a line
|
1229
|
+
for every additional SkPoint in list. If close is true, appends kClose_Verb to SkPath,
|
1230
|
+
connecting last and first SkPoint in list.
|
1231
|
+
|
1232
|
+
If list is empty, append kMove_Verb to path.
|
1233
|
+
|
1234
|
+
@param list array of SkPoint
|
1235
|
+
@param close true to add line connecting contour end and start
|
1236
|
+
@return reference to SkPath
|
1237
|
+
*/
|
1238
|
+
SkPath& addPoly(const std::initializer_list<SkPoint>& list, bool close) {
|
1239
|
+
return this->addPoly(list.begin(), SkToInt(list.size()), close);
|
1240
|
+
}
|
1241
|
+
|
1242
|
+
#ifdef SK_HIDE_PATH_EDIT_METHODS
|
1243
|
+
public:
|
1244
|
+
#endif
|
1245
|
+
|
1246
|
+
/** \enum SkPath::AddPathMode
|
1247
|
+
AddPathMode chooses how addPath() appends. Adding one SkPath to another can extend
|
1248
|
+
the last contour or start a new contour.
|
1249
|
+
*/
|
1250
|
+
enum AddPathMode {
|
1251
|
+
/** Contours are appended to the destination path as new contours.
|
1252
|
+
*/
|
1253
|
+
kAppend_AddPathMode,
|
1254
|
+
/** Extends the last contour of the destination path with the first countour
|
1255
|
+
of the source path, connecting them with a line. If the last contour is
|
1256
|
+
closed, a new empty contour starting at its start point is extended instead.
|
1257
|
+
If the destination path is empty, the result is the source path.
|
1258
|
+
The last path of the result is closed only if the last path of the source is.
|
1259
|
+
*/
|
1260
|
+
kExtend_AddPathMode,
|
1261
|
+
};
|
1262
|
+
|
1263
|
+
/** Appends src to SkPath, offset by (dx, dy).
|
1264
|
+
|
1265
|
+
If mode is kAppend_AddPathMode, src verb array, SkPoint array, and conic weights are
|
1266
|
+
added unaltered. If mode is kExtend_AddPathMode, add line before appending
|
1267
|
+
verbs, SkPoint, and conic weights.
|
1268
|
+
|
1269
|
+
@param src SkPath verbs, SkPoint, and conic weights to add
|
1270
|
+
@param dx offset added to src SkPoint array x-axis coordinates
|
1271
|
+
@param dy offset added to src SkPoint array y-axis coordinates
|
1272
|
+
@param mode kAppend_AddPathMode or kExtend_AddPathMode
|
1273
|
+
@return reference to SkPath
|
1274
|
+
*/
|
1275
|
+
SkPath& addPath(const SkPath& src, SkScalar dx, SkScalar dy,
|
1276
|
+
AddPathMode mode = kAppend_AddPathMode);
|
1277
|
+
|
1278
|
+
/** Appends src to SkPath.
|
1279
|
+
|
1280
|
+
If mode is kAppend_AddPathMode, src verb array, SkPoint array, and conic weights are
|
1281
|
+
added unaltered. If mode is kExtend_AddPathMode, add line before appending
|
1282
|
+
verbs, SkPoint, and conic weights.
|
1283
|
+
|
1284
|
+
@param src SkPath verbs, SkPoint, and conic weights to add
|
1285
|
+
@param mode kAppend_AddPathMode or kExtend_AddPathMode
|
1286
|
+
@return reference to SkPath
|
1287
|
+
*/
|
1288
|
+
SkPath& addPath(const SkPath& src, AddPathMode mode = kAppend_AddPathMode) {
|
1289
|
+
SkMatrix m;
|
1290
|
+
m.reset();
|
1291
|
+
return this->addPath(src, m, mode);
|
1292
|
+
}
|
1293
|
+
|
1294
|
+
/** Appends src to SkPath, transformed by matrix. Transformed curves may have different
|
1295
|
+
verbs, SkPoint, and conic weights.
|
1296
|
+
|
1297
|
+
If mode is kAppend_AddPathMode, src verb array, SkPoint array, and conic weights are
|
1298
|
+
added unaltered. If mode is kExtend_AddPathMode, add line before appending
|
1299
|
+
verbs, SkPoint, and conic weights.
|
1300
|
+
|
1301
|
+
@param src SkPath verbs, SkPoint, and conic weights to add
|
1302
|
+
@param matrix transform applied to src
|
1303
|
+
@param mode kAppend_AddPathMode or kExtend_AddPathMode
|
1304
|
+
@return reference to SkPath
|
1305
|
+
*/
|
1306
|
+
SkPath& addPath(const SkPath& src, const SkMatrix& matrix,
|
1307
|
+
AddPathMode mode = kAppend_AddPathMode);
|
1308
|
+
|
1309
|
+
/** Appends src to SkPath, from back to front.
|
1310
|
+
Reversed src always appends a new contour to SkPath.
|
1311
|
+
|
1312
|
+
@param src SkPath verbs, SkPoint, and conic weights to add
|
1313
|
+
@return reference to SkPath
|
1314
|
+
|
1315
|
+
example: https://fiddle.skia.org/c/@Path_reverseAddPath
|
1316
|
+
*/
|
1317
|
+
SkPath& reverseAddPath(const SkPath& src);
|
1318
|
+
|
1319
|
+
/** Offsets SkPoint array by (dx, dy). Offset SkPath replaces dst.
|
1320
|
+
If dst is nullptr, SkPath is replaced by offset data.
|
1321
|
+
|
1322
|
+
@param dx offset added to SkPoint array x-axis coordinates
|
1323
|
+
@param dy offset added to SkPoint array y-axis coordinates
|
1324
|
+
@param dst overwritten, translated copy of SkPath; may be nullptr
|
1325
|
+
|
1326
|
+
example: https://fiddle.skia.org/c/@Path_offset
|
1327
|
+
*/
|
1328
|
+
void offset(SkScalar dx, SkScalar dy, SkPath* dst) const;
|
1329
|
+
|
1330
|
+
/** Offsets SkPoint array by (dx, dy). SkPath is replaced by offset data.
|
1331
|
+
|
1332
|
+
@param dx offset added to SkPoint array x-axis coordinates
|
1333
|
+
@param dy offset added to SkPoint array y-axis coordinates
|
1334
|
+
*/
|
1335
|
+
void offset(SkScalar dx, SkScalar dy) {
|
1336
|
+
this->offset(dx, dy, this);
|
1337
|
+
}
|
1338
|
+
|
1339
|
+
/** Transforms verb array, SkPoint array, and weight by matrix.
|
1340
|
+
transform may change verbs and increase their number.
|
1341
|
+
Transformed SkPath replaces dst; if dst is nullptr, original data
|
1342
|
+
is replaced.
|
1343
|
+
|
1344
|
+
@param matrix SkMatrix to apply to SkPath
|
1345
|
+
@param dst overwritten, transformed copy of SkPath; may be nullptr
|
1346
|
+
@param pc whether to apply perspective clipping
|
1347
|
+
|
1348
|
+
example: https://fiddle.skia.org/c/@Path_transform
|
1349
|
+
*/
|
1350
|
+
void transform(const SkMatrix& matrix, SkPath* dst,
|
1351
|
+
SkApplyPerspectiveClip pc = SkApplyPerspectiveClip::kYes) const;
|
1352
|
+
|
1353
|
+
/** Transforms verb array, SkPoint array, and weight by matrix.
|
1354
|
+
transform may change verbs and increase their number.
|
1355
|
+
SkPath is replaced by transformed data.
|
1356
|
+
|
1357
|
+
@param matrix SkMatrix to apply to SkPath
|
1358
|
+
@param pc whether to apply perspective clipping
|
1359
|
+
*/
|
1360
|
+
void transform(const SkMatrix& matrix,
|
1361
|
+
SkApplyPerspectiveClip pc = SkApplyPerspectiveClip::kYes) {
|
1362
|
+
this->transform(matrix, this, pc);
|
1363
|
+
}
|
1364
|
+
|
1365
|
+
SkPath makeTransform(const SkMatrix& m,
|
1366
|
+
SkApplyPerspectiveClip pc = SkApplyPerspectiveClip::kYes) const {
|
1367
|
+
SkPath dst;
|
1368
|
+
this->transform(m, &dst, pc);
|
1369
|
+
return dst;
|
1370
|
+
}
|
1371
|
+
|
1372
|
+
SkPath makeScale(SkScalar sx, SkScalar sy) {
|
1373
|
+
return this->makeTransform(SkMatrix::Scale(sx, sy), SkApplyPerspectiveClip::kNo);
|
1374
|
+
}
|
1375
|
+
|
1376
|
+
/** Returns last point on SkPath in lastPt. Returns false if SkPoint array is empty,
|
1377
|
+
storing (0, 0) if lastPt is not nullptr.
|
1378
|
+
|
1379
|
+
@param lastPt storage for final SkPoint in SkPoint array; may be nullptr
|
1380
|
+
@return true if SkPoint array contains one or more SkPoint
|
1381
|
+
|
1382
|
+
example: https://fiddle.skia.org/c/@Path_getLastPt
|
1383
|
+
*/
|
1384
|
+
bool getLastPt(SkPoint* lastPt) const;
|
1385
|
+
|
1386
|
+
/** Sets last point to (x, y). If SkPoint array is empty, append kMove_Verb to
|
1387
|
+
verb array and append (x, y) to SkPoint array.
|
1388
|
+
|
1389
|
+
@param x set x-axis value of last point
|
1390
|
+
@param y set y-axis value of last point
|
1391
|
+
|
1392
|
+
example: https://fiddle.skia.org/c/@Path_setLastPt
|
1393
|
+
*/
|
1394
|
+
void setLastPt(SkScalar x, SkScalar y);
|
1395
|
+
|
1396
|
+
/** Sets the last point on the path. If SkPoint array is empty, append kMove_Verb to
|
1397
|
+
verb array and append p to SkPoint array.
|
1398
|
+
|
1399
|
+
@param p set value of last point
|
1400
|
+
*/
|
1401
|
+
void setLastPt(const SkPoint& p) {
|
1402
|
+
this->setLastPt(p.fX, p.fY);
|
1403
|
+
}
|
1404
|
+
|
1405
|
+
/** \enum SkPath::SegmentMask
|
1406
|
+
SegmentMask constants correspond to each drawing Verb type in SkPath; for
|
1407
|
+
instance, if SkPath only contains lines, only the kLine_SegmentMask bit is set.
|
1408
|
+
*/
|
1409
|
+
enum SegmentMask {
|
1410
|
+
kLine_SegmentMask = kLine_SkPathSegmentMask,
|
1411
|
+
kQuad_SegmentMask = kQuad_SkPathSegmentMask,
|
1412
|
+
kConic_SegmentMask = kConic_SkPathSegmentMask,
|
1413
|
+
kCubic_SegmentMask = kCubic_SkPathSegmentMask,
|
1414
|
+
};
|
1415
|
+
|
1416
|
+
/** Returns a mask, where each set bit corresponds to a SegmentMask constant
|
1417
|
+
if SkPath contains one or more verbs of that type.
|
1418
|
+
Returns zero if SkPath contains no lines, or curves: quads, conics, or cubics.
|
1419
|
+
|
1420
|
+
getSegmentMasks() returns a cached result; it is very fast.
|
1421
|
+
|
1422
|
+
@return SegmentMask bits or zero
|
1423
|
+
*/
|
1424
|
+
uint32_t getSegmentMasks() const;
|
1425
|
+
|
1426
|
+
/** \enum SkPath::Verb
|
1427
|
+
Verb instructs SkPath how to interpret one or more SkPoint and optional conic weight;
|
1428
|
+
manage contour, and terminate SkPath.
|
1429
|
+
*/
|
1430
|
+
enum Verb {
|
1431
|
+
kMove_Verb = static_cast<int>(SkPathVerb::kMove),
|
1432
|
+
kLine_Verb = static_cast<int>(SkPathVerb::kLine),
|
1433
|
+
kQuad_Verb = static_cast<int>(SkPathVerb::kQuad),
|
1434
|
+
kConic_Verb = static_cast<int>(SkPathVerb::kConic),
|
1435
|
+
kCubic_Verb = static_cast<int>(SkPathVerb::kCubic),
|
1436
|
+
kClose_Verb = static_cast<int>(SkPathVerb::kClose),
|
1437
|
+
kDone_Verb = kClose_Verb + 1
|
1438
|
+
};
|
1439
|
+
|
1440
|
+
/** \class SkPath::Iter
|
1441
|
+
Iterates through verb array, and associated SkPoint array and conic weight.
|
1442
|
+
Provides options to treat open contours as closed, and to ignore
|
1443
|
+
degenerate data.
|
1444
|
+
*/
|
1445
|
+
class SK_API Iter {
|
1446
|
+
public:
|
1447
|
+
|
1448
|
+
/** Initializes SkPath::Iter with an empty SkPath. next() on SkPath::Iter returns
|
1449
|
+
kDone_Verb.
|
1450
|
+
Call setPath to initialize SkPath::Iter at a later time.
|
1451
|
+
|
1452
|
+
@return SkPath::Iter of empty SkPath
|
1453
|
+
|
1454
|
+
example: https://fiddle.skia.org/c/@Path_Iter_Iter
|
1455
|
+
*/
|
1456
|
+
Iter();
|
1457
|
+
|
1458
|
+
/** Sets SkPath::Iter to return elements of verb array, SkPoint array, and conic weight in
|
1459
|
+
path. If forceClose is true, SkPath::Iter will add kLine_Verb and kClose_Verb after each
|
1460
|
+
open contour. path is not altered.
|
1461
|
+
|
1462
|
+
@param path SkPath to iterate
|
1463
|
+
@param forceClose true if open contours generate kClose_Verb
|
1464
|
+
@return SkPath::Iter of path
|
1465
|
+
|
1466
|
+
example: https://fiddle.skia.org/c/@Path_Iter_const_SkPath
|
1467
|
+
*/
|
1468
|
+
Iter(const SkPath& path, bool forceClose);
|
1469
|
+
|
1470
|
+
/** Sets SkPath::Iter to return elements of verb array, SkPoint array, and conic weight in
|
1471
|
+
path. If forceClose is true, SkPath::Iter will add kLine_Verb and kClose_Verb after each
|
1472
|
+
open contour. path is not altered.
|
1473
|
+
|
1474
|
+
@param path SkPath to iterate
|
1475
|
+
@param forceClose true if open contours generate kClose_Verb
|
1476
|
+
|
1477
|
+
example: https://fiddle.skia.org/c/@Path_Iter_setPath
|
1478
|
+
*/
|
1479
|
+
void setPath(const SkPath& path, bool forceClose);
|
1480
|
+
|
1481
|
+
/** Returns next SkPath::Verb in verb array, and advances SkPath::Iter.
|
1482
|
+
When verb array is exhausted, returns kDone_Verb.
|
1483
|
+
|
1484
|
+
Zero to four SkPoint are stored in pts, depending on the returned SkPath::Verb.
|
1485
|
+
|
1486
|
+
@param pts storage for SkPoint data describing returned SkPath::Verb
|
1487
|
+
@return next SkPath::Verb from verb array
|
1488
|
+
|
1489
|
+
example: https://fiddle.skia.org/c/@Path_RawIter_next
|
1490
|
+
*/
|
1491
|
+
Verb next(SkPoint pts[4]);
|
1492
|
+
|
1493
|
+
/** Returns conic weight if next() returned kConic_Verb.
|
1494
|
+
|
1495
|
+
If next() has not been called, or next() did not return kConic_Verb,
|
1496
|
+
result is undefined.
|
1497
|
+
|
1498
|
+
@return conic weight for conic SkPoint returned by next()
|
1499
|
+
*/
|
1500
|
+
SkScalar conicWeight() const { return *fConicWeights; }
|
1501
|
+
|
1502
|
+
/** Returns true if last kLine_Verb returned by next() was generated
|
1503
|
+
by kClose_Verb. When true, the end point returned by next() is
|
1504
|
+
also the start point of contour.
|
1505
|
+
|
1506
|
+
If next() has not been called, or next() did not return kLine_Verb,
|
1507
|
+
result is undefined.
|
1508
|
+
|
1509
|
+
@return true if last kLine_Verb was generated by kClose_Verb
|
1510
|
+
*/
|
1511
|
+
bool isCloseLine() const { return SkToBool(fCloseLine); }
|
1512
|
+
|
1513
|
+
/** Returns true if subsequent calls to next() return kClose_Verb before returning
|
1514
|
+
kMove_Verb. if true, contour SkPath::Iter is processing may end with kClose_Verb, or
|
1515
|
+
SkPath::Iter may have been initialized with force close set to true.
|
1516
|
+
|
1517
|
+
@return true if contour is closed
|
1518
|
+
|
1519
|
+
example: https://fiddle.skia.org/c/@Path_Iter_isClosedContour
|
1520
|
+
*/
|
1521
|
+
bool isClosedContour() const;
|
1522
|
+
|
1523
|
+
private:
|
1524
|
+
const SkPoint* fPts;
|
1525
|
+
const uint8_t* fVerbs;
|
1526
|
+
const uint8_t* fVerbStop;
|
1527
|
+
const SkScalar* fConicWeights;
|
1528
|
+
SkPoint fMoveTo;
|
1529
|
+
SkPoint fLastPt;
|
1530
|
+
bool fForceClose;
|
1531
|
+
bool fNeedClose;
|
1532
|
+
bool fCloseLine;
|
1533
|
+
|
1534
|
+
Verb autoClose(SkPoint pts[2]);
|
1535
|
+
};
|
1536
|
+
|
1537
|
+
private:
|
1538
|
+
/** \class SkPath::RangeIter
|
1539
|
+
Iterates through a raw range of path verbs, points, and conics. All values are returned
|
1540
|
+
unaltered.
|
1541
|
+
|
1542
|
+
NOTE: This class will be moved into SkPathPriv once RangeIter is removed.
|
1543
|
+
*/
|
1544
|
+
class RangeIter {
|
1545
|
+
public:
|
1546
|
+
RangeIter() = default;
|
1547
|
+
RangeIter(const uint8_t* verbs, const SkPoint* points, const SkScalar* weights)
|
1548
|
+
: fVerb(verbs), fPoints(points), fWeights(weights) {
|
1549
|
+
SkDEBUGCODE(fInitialPoints = fPoints;)
|
1550
|
+
}
|
1551
|
+
bool operator!=(const RangeIter& that) const {
|
1552
|
+
return fVerb != that.fVerb;
|
1553
|
+
}
|
1554
|
+
bool operator==(const RangeIter& that) const {
|
1555
|
+
return fVerb == that.fVerb;
|
1556
|
+
}
|
1557
|
+
RangeIter& operator++() {
|
1558
|
+
auto verb = static_cast<SkPathVerb>(*fVerb++);
|
1559
|
+
fPoints += pts_advance_after_verb(verb);
|
1560
|
+
if (verb == SkPathVerb::kConic) {
|
1561
|
+
++fWeights;
|
1562
|
+
}
|
1563
|
+
return *this;
|
1564
|
+
}
|
1565
|
+
RangeIter operator++(int) {
|
1566
|
+
RangeIter copy = *this;
|
1567
|
+
this->operator++();
|
1568
|
+
return copy;
|
1569
|
+
}
|
1570
|
+
SkPathVerb peekVerb() const {
|
1571
|
+
return static_cast<SkPathVerb>(*fVerb);
|
1572
|
+
}
|
1573
|
+
std::tuple<SkPathVerb, const SkPoint*, const SkScalar*> operator*() const {
|
1574
|
+
SkPathVerb verb = this->peekVerb();
|
1575
|
+
// We provide the starting point for beziers by peeking backwards from the current
|
1576
|
+
// point, which works fine as long as there is always a kMove before any geometry.
|
1577
|
+
// (SkPath::injectMoveToIfNeeded should have guaranteed this to be the case.)
|
1578
|
+
int backset = pts_backset_for_verb(verb);
|
1579
|
+
SkASSERT(fPoints + backset >= fInitialPoints);
|
1580
|
+
return {verb, fPoints + backset, fWeights};
|
1581
|
+
}
|
1582
|
+
private:
|
1583
|
+
constexpr static int pts_advance_after_verb(SkPathVerb verb) {
|
1584
|
+
switch (verb) {
|
1585
|
+
case SkPathVerb::kMove: return 1;
|
1586
|
+
case SkPathVerb::kLine: return 1;
|
1587
|
+
case SkPathVerb::kQuad: return 2;
|
1588
|
+
case SkPathVerb::kConic: return 2;
|
1589
|
+
case SkPathVerb::kCubic: return 3;
|
1590
|
+
case SkPathVerb::kClose: return 0;
|
1591
|
+
}
|
1592
|
+
SkUNREACHABLE;
|
1593
|
+
}
|
1594
|
+
constexpr static int pts_backset_for_verb(SkPathVerb verb) {
|
1595
|
+
switch (verb) {
|
1596
|
+
case SkPathVerb::kMove: return 0;
|
1597
|
+
case SkPathVerb::kLine: return -1;
|
1598
|
+
case SkPathVerb::kQuad: return -1;
|
1599
|
+
case SkPathVerb::kConic: return -1;
|
1600
|
+
case SkPathVerb::kCubic: return -1;
|
1601
|
+
case SkPathVerb::kClose: return -1;
|
1602
|
+
}
|
1603
|
+
SkUNREACHABLE;
|
1604
|
+
}
|
1605
|
+
const uint8_t* fVerb = nullptr;
|
1606
|
+
const SkPoint* fPoints = nullptr;
|
1607
|
+
const SkScalar* fWeights = nullptr;
|
1608
|
+
SkDEBUGCODE(const SkPoint* fInitialPoints = nullptr;)
|
1609
|
+
};
|
1610
|
+
public:
|
1611
|
+
|
1612
|
+
/** \class SkPath::RawIter
|
1613
|
+
Use Iter instead. This class will soon be removed and RangeIter will be made private.
|
1614
|
+
*/
|
1615
|
+
class SK_API RawIter {
|
1616
|
+
public:
|
1617
|
+
|
1618
|
+
/** Initializes RawIter with an empty SkPath. next() on RawIter returns kDone_Verb.
|
1619
|
+
Call setPath to initialize SkPath::Iter at a later time.
|
1620
|
+
|
1621
|
+
@return RawIter of empty SkPath
|
1622
|
+
*/
|
1623
|
+
RawIter() {}
|
1624
|
+
|
1625
|
+
/** Sets RawIter to return elements of verb array, SkPoint array, and conic weight in path.
|
1626
|
+
|
1627
|
+
@param path SkPath to iterate
|
1628
|
+
@return RawIter of path
|
1629
|
+
*/
|
1630
|
+
RawIter(const SkPath& path) {
|
1631
|
+
setPath(path);
|
1632
|
+
}
|
1633
|
+
|
1634
|
+
/** Sets SkPath::Iter to return elements of verb array, SkPoint array, and conic weight in
|
1635
|
+
path.
|
1636
|
+
|
1637
|
+
@param path SkPath to iterate
|
1638
|
+
*/
|
1639
|
+
void setPath(const SkPath&);
|
1640
|
+
|
1641
|
+
/** Returns next SkPath::Verb in verb array, and advances RawIter.
|
1642
|
+
When verb array is exhausted, returns kDone_Verb.
|
1643
|
+
Zero to four SkPoint are stored in pts, depending on the returned SkPath::Verb.
|
1644
|
+
|
1645
|
+
@param pts storage for SkPoint data describing returned SkPath::Verb
|
1646
|
+
@return next SkPath::Verb from verb array
|
1647
|
+
*/
|
1648
|
+
Verb next(SkPoint[4]);
|
1649
|
+
|
1650
|
+
/** Returns next SkPath::Verb, but does not advance RawIter.
|
1651
|
+
|
1652
|
+
@return next SkPath::Verb from verb array
|
1653
|
+
*/
|
1654
|
+
Verb peek() const {
|
1655
|
+
return (fIter != fEnd) ? static_cast<Verb>(std::get<0>(*fIter)) : kDone_Verb;
|
1656
|
+
}
|
1657
|
+
|
1658
|
+
/** Returns conic weight if next() returned kConic_Verb.
|
1659
|
+
|
1660
|
+
If next() has not been called, or next() did not return kConic_Verb,
|
1661
|
+
result is undefined.
|
1662
|
+
|
1663
|
+
@return conic weight for conic SkPoint returned by next()
|
1664
|
+
*/
|
1665
|
+
SkScalar conicWeight() const {
|
1666
|
+
return fConicWeight;
|
1667
|
+
}
|
1668
|
+
|
1669
|
+
private:
|
1670
|
+
RangeIter fIter;
|
1671
|
+
RangeIter fEnd;
|
1672
|
+
SkScalar fConicWeight = 0;
|
1673
|
+
friend class SkPath;
|
1674
|
+
|
1675
|
+
};
|
1676
|
+
|
1677
|
+
/** Returns true if the point (x, y) is contained by SkPath, taking into
|
1678
|
+
account FillType.
|
1679
|
+
|
1680
|
+
@param x x-axis value of containment test
|
1681
|
+
@param y y-axis value of containment test
|
1682
|
+
@return true if SkPoint is in SkPath
|
1683
|
+
|
1684
|
+
example: https://fiddle.skia.org/c/@Path_contains
|
1685
|
+
*/
|
1686
|
+
bool contains(SkScalar x, SkScalar y) const;
|
1687
|
+
|
1688
|
+
/** Writes text representation of SkPath to stream. If stream is nullptr, writes to
|
1689
|
+
standard output. Set dumpAsHex true to generate exact binary representations
|
1690
|
+
of floating point numbers used in SkPoint array and conic weights.
|
1691
|
+
|
1692
|
+
@param stream writable SkWStream receiving SkPath text representation; may be nullptr
|
1693
|
+
@param dumpAsHex true if SkScalar values are written as hexadecimal
|
1694
|
+
|
1695
|
+
example: https://fiddle.skia.org/c/@Path_dump
|
1696
|
+
*/
|
1697
|
+
void dump(SkWStream* stream, bool dumpAsHex) const;
|
1698
|
+
|
1699
|
+
void dump() const { this->dump(nullptr, false); }
|
1700
|
+
void dumpHex() const { this->dump(nullptr, true); }
|
1701
|
+
|
1702
|
+
// Like dump(), but outputs for the SkPath::Make() factory
|
1703
|
+
void dumpArrays(SkWStream* stream, bool dumpAsHex) const;
|
1704
|
+
void dumpArrays() const { this->dumpArrays(nullptr, false); }
|
1705
|
+
|
1706
|
+
/** Writes SkPath to buffer, returning the number of bytes written.
|
1707
|
+
Pass nullptr to obtain the storage size.
|
1708
|
+
|
1709
|
+
Writes SkPath::FillType, verb array, SkPoint array, conic weight, and
|
1710
|
+
additionally writes computed information like SkPath::Convexity and bounds.
|
1711
|
+
|
1712
|
+
Use only be used in concert with readFromMemory();
|
1713
|
+
the format used for SkPath in memory is not guaranteed.
|
1714
|
+
|
1715
|
+
@param buffer storage for SkPath; may be nullptr
|
1716
|
+
@return size of storage required for SkPath; always a multiple of 4
|
1717
|
+
|
1718
|
+
example: https://fiddle.skia.org/c/@Path_writeToMemory
|
1719
|
+
*/
|
1720
|
+
size_t writeToMemory(void* buffer) const;
|
1721
|
+
|
1722
|
+
/** Writes SkPath to buffer, returning the buffer written to, wrapped in SkData.
|
1723
|
+
|
1724
|
+
serialize() writes SkPath::FillType, verb array, SkPoint array, conic weight, and
|
1725
|
+
additionally writes computed information like SkPath::Convexity and bounds.
|
1726
|
+
|
1727
|
+
serialize() should only be used in concert with readFromMemory().
|
1728
|
+
The format used for SkPath in memory is not guaranteed.
|
1729
|
+
|
1730
|
+
@return SkPath data wrapped in SkData buffer
|
1731
|
+
|
1732
|
+
example: https://fiddle.skia.org/c/@Path_serialize
|
1733
|
+
*/
|
1734
|
+
sk_sp<SkData> serialize() const;
|
1735
|
+
|
1736
|
+
/** Initializes SkPath from buffer of size length. Returns zero if the buffer is
|
1737
|
+
data is inconsistent, or the length is too small.
|
1738
|
+
|
1739
|
+
Reads SkPath::FillType, verb array, SkPoint array, conic weight, and
|
1740
|
+
additionally reads computed information like SkPath::Convexity and bounds.
|
1741
|
+
|
1742
|
+
Used only in concert with writeToMemory();
|
1743
|
+
the format used for SkPath in memory is not guaranteed.
|
1744
|
+
|
1745
|
+
@param buffer storage for SkPath
|
1746
|
+
@param length buffer size in bytes; must be multiple of 4
|
1747
|
+
@return number of bytes read, or zero on failure
|
1748
|
+
|
1749
|
+
example: https://fiddle.skia.org/c/@Path_readFromMemory
|
1750
|
+
*/
|
1751
|
+
size_t readFromMemory(const void* buffer, size_t length);
|
1752
|
+
|
1753
|
+
/** (See Skia bug 1762.)
|
1754
|
+
Returns a non-zero, globally unique value. A different value is returned
|
1755
|
+
if verb array, SkPoint array, or conic weight changes.
|
1756
|
+
|
1757
|
+
Setting SkPath::FillType does not change generation identifier.
|
1758
|
+
|
1759
|
+
Each time the path is modified, a different generation identifier will be returned.
|
1760
|
+
SkPath::FillType does affect generation identifier on Android framework.
|
1761
|
+
|
1762
|
+
@return non-zero, globally unique value
|
1763
|
+
|
1764
|
+
example: https://fiddle.skia.org/c/@Path_getGenerationID
|
1765
|
+
*/
|
1766
|
+
uint32_t getGenerationID() const;
|
1767
|
+
|
1768
|
+
/** Returns if SkPath data is consistent. Corrupt SkPath data is detected if
|
1769
|
+
internal values are out of range or internal storage does not match
|
1770
|
+
array dimensions.
|
1771
|
+
|
1772
|
+
@return true if SkPath data is consistent
|
1773
|
+
*/
|
1774
|
+
bool isValid() const;
|
1775
|
+
|
1776
|
+
using sk_is_trivially_relocatable = std::true_type;
|
1777
|
+
|
1778
|
+
private:
|
1779
|
+
SkPath(sk_sp<SkPathRef>, SkPathFillType, bool isVolatile, SkPathConvexity,
|
1780
|
+
SkPathFirstDirection firstDirection);
|
1781
|
+
|
1782
|
+
sk_sp<SkPathRef> fPathRef;
|
1783
|
+
int fLastMoveToIndex;
|
1784
|
+
mutable std::atomic<uint8_t> fConvexity; // SkPathConvexity
|
1785
|
+
mutable std::atomic<uint8_t> fFirstDirection; // SkPathFirstDirection
|
1786
|
+
uint8_t fFillType : 2;
|
1787
|
+
uint8_t fIsVolatile : 1;
|
1788
|
+
|
1789
|
+
static_assert(::sk_is_trivially_relocatable<decltype(fPathRef)>::value);
|
1790
|
+
|
1791
|
+
/** Resets all fields other than fPathRef to their initial 'empty' values.
|
1792
|
+
* Assumes the caller has already emptied fPathRef.
|
1793
|
+
* On Android increments fGenerationID without reseting it.
|
1794
|
+
*/
|
1795
|
+
void resetFields();
|
1796
|
+
|
1797
|
+
/** Sets all fields other than fPathRef to the values in 'that'.
|
1798
|
+
* Assumes the caller has already set fPathRef.
|
1799
|
+
* Doesn't change fGenerationID or fSourcePath on Android.
|
1800
|
+
*/
|
1801
|
+
void copyFields(const SkPath& that);
|
1802
|
+
|
1803
|
+
size_t writeToMemoryAsRRect(void* buffer) const;
|
1804
|
+
size_t readAsRRect(const void*, size_t);
|
1805
|
+
size_t readFromMemory_EQ4Or5(const void*, size_t);
|
1806
|
+
|
1807
|
+
friend class Iter;
|
1808
|
+
friend class SkPathPriv;
|
1809
|
+
friend class SkPathStroker;
|
1810
|
+
|
1811
|
+
/* Append, in reverse order, the first contour of path, ignoring path's
|
1812
|
+
last point. If no moveTo() call has been made for this contour, the
|
1813
|
+
first point is automatically set to (0,0).
|
1814
|
+
*/
|
1815
|
+
SkPath& reversePathTo(const SkPath&);
|
1816
|
+
|
1817
|
+
// called before we add points for lineTo, quadTo, cubicTo, checking to see
|
1818
|
+
// if we need to inject a leading moveTo first
|
1819
|
+
//
|
1820
|
+
// SkPath path; path.lineTo(...); <--- need a leading moveTo(0, 0)
|
1821
|
+
// SkPath path; ... path.close(); path.lineTo(...) <-- need a moveTo(previous moveTo)
|
1822
|
+
//
|
1823
|
+
inline void injectMoveToIfNeeded();
|
1824
|
+
|
1825
|
+
inline bool hasOnlyMoveTos() const;
|
1826
|
+
|
1827
|
+
SkPathConvexity computeConvexity() const;
|
1828
|
+
|
1829
|
+
bool isValidImpl() const;
|
1830
|
+
/** Asserts if SkPath data is inconsistent.
|
1831
|
+
Debugging check intended for internal use only.
|
1832
|
+
*/
|
1833
|
+
#ifdef SK_DEBUG
|
1834
|
+
void validate() const;
|
1835
|
+
void validateRef() const;
|
1836
|
+
#endif
|
1837
|
+
|
1838
|
+
// called by stroker to see if all points (in the last contour) are equal and worthy of a cap
|
1839
|
+
bool isZeroLengthSincePoint(int startPtIndex) const;
|
1840
|
+
|
1841
|
+
/** Returns if the path can return a bound at no cost (true) or will have to
|
1842
|
+
perform some computation (false).
|
1843
|
+
*/
|
1844
|
+
bool hasComputedBounds() const;
|
1845
|
+
|
1846
|
+
// 'rect' needs to be sorted
|
1847
|
+
void setBounds(const SkRect& rect);
|
1848
|
+
|
1849
|
+
void setPt(int index, SkScalar x, SkScalar y);
|
1850
|
+
|
1851
|
+
SkPath& dirtyAfterEdit();
|
1852
|
+
|
1853
|
+
// Bottlenecks for working with fConvexity and fFirstDirection.
|
1854
|
+
// Notice the setters are const... these are mutable atomic fields.
|
1855
|
+
void setConvexity(SkPathConvexity) const;
|
1856
|
+
|
1857
|
+
void setFirstDirection(SkPathFirstDirection) const;
|
1858
|
+
SkPathFirstDirection getFirstDirection() const;
|
1859
|
+
|
1860
|
+
/** Returns the comvexity type, computing if needed. Never returns kUnknown.
|
1861
|
+
@return path's convexity type (convex or concave)
|
1862
|
+
*/
|
1863
|
+
SkPathConvexity getConvexity() const;
|
1864
|
+
|
1865
|
+
SkPathConvexity getConvexityOrUnknown() const;
|
1866
|
+
|
1867
|
+
// Compares the cached value with a freshly computed one (computeConvexity())
|
1868
|
+
bool isConvexityAccurate() const;
|
1869
|
+
|
1870
|
+
/** Stores a convexity type for this path. This is what will be returned if
|
1871
|
+
* getConvexityOrUnknown() is called. If you pass kUnknown, then if getContexityType()
|
1872
|
+
* is called, the real convexity will be computed.
|
1873
|
+
*
|
1874
|
+
* example: https://fiddle.skia.org/c/@Path_setConvexity
|
1875
|
+
*/
|
1876
|
+
void setConvexity(SkPathConvexity convexity);
|
1877
|
+
|
1878
|
+
/** Shrinks SkPath verb array and SkPoint array storage to discard unused capacity.
|
1879
|
+
* May reduce the heap overhead for SkPath known to be fully constructed.
|
1880
|
+
*
|
1881
|
+
* NOTE: This may relocate the underlying buffers, and thus any Iterators referencing
|
1882
|
+
* this path should be discarded after calling shrinkToFit().
|
1883
|
+
*/
|
1884
|
+
void shrinkToFit();
|
1885
|
+
|
1886
|
+
// Creates a new Path after the supplied arguments have been validated by
|
1887
|
+
// sk_path_analyze_verbs().
|
1888
|
+
static SkPath MakeInternal(const SkPathVerbAnalysis& analsis,
|
1889
|
+
const SkPoint points[],
|
1890
|
+
const uint8_t verbs[],
|
1891
|
+
int verbCount,
|
1892
|
+
const SkScalar conics[],
|
1893
|
+
SkPathFillType fillType,
|
1894
|
+
bool isVolatile);
|
1895
|
+
|
1896
|
+
friend class SkAutoPathBoundsUpdate;
|
1897
|
+
friend class SkAutoDisableOvalCheck;
|
1898
|
+
friend class SkAutoDisableDirectionCheck;
|
1899
|
+
friend class SkPathBuilder;
|
1900
|
+
friend class SkPathEdgeIter;
|
1901
|
+
friend class SkPathWriter;
|
1902
|
+
friend class SkOpBuilder;
|
1903
|
+
friend class SkBench_AddPathTest; // perf test reversePathTo
|
1904
|
+
friend class PathTest_Private; // unit test reversePathTo
|
1905
|
+
friend class ForceIsRRect_Private; // unit test isRRect
|
1906
|
+
friend class FuzzPath; // for legacy access to validateRef
|
1907
|
+
};
|
1908
|
+
|
1909
|
+
#endif
|