@pixerate/editor 0.115.0 → 0.117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +3 -0
- package/dist/animation-editor/index.cjs +54 -54
- package/dist/animation-editor/index.d.cts +2 -2
- package/dist/animation-editor/index.d.ts +2 -2
- package/dist/animation-editor/index.js +2 -2
- package/dist/{chunk-I7FQBWMQ.cjs → chunk-2J3LS7JZ.cjs} +333 -333
- package/dist/{chunk-I7FQBWMQ.cjs.map → chunk-2J3LS7JZ.cjs.map} +1 -1
- package/dist/{chunk-TFOPHZ3U.cjs → chunk-7ISPWEJA.cjs} +302 -5
- package/dist/chunk-7ISPWEJA.cjs.map +1 -0
- package/dist/{chunk-VXR7XWMF.js → chunk-7LNZAWSJ.js} +437 -41
- package/dist/chunk-7LNZAWSJ.js.map +1 -0
- package/dist/{chunk-DFQEX3AM.cjs → chunk-BYAWOAST.cjs} +223 -30
- package/dist/chunk-BYAWOAST.cjs.map +1 -0
- package/dist/chunk-COAMRKVI.cjs +159 -0
- package/dist/chunk-COAMRKVI.cjs.map +1 -0
- package/dist/{chunk-ST7E3NEE.cjs → chunk-EBSYZRSW.cjs} +230 -732
- package/dist/chunk-EBSYZRSW.cjs.map +1 -0
- package/dist/chunk-EJVDBITD.cjs +501 -0
- package/dist/chunk-EJVDBITD.cjs.map +1 -0
- package/dist/{chunk-LPLCWZTM.cjs → chunk-FODKPD44.cjs} +555 -159
- package/dist/chunk-FODKPD44.cjs.map +1 -0
- package/dist/{chunk-XK5LZKBD.js → chunk-HKDTM6VC.js} +298 -1
- package/dist/chunk-HKDTM6VC.js.map +1 -0
- package/dist/chunk-IPFRWILU.js +1908 -0
- package/dist/chunk-IPFRWILU.js.map +1 -0
- package/dist/chunk-IVSNUXW7.js +3339 -0
- package/dist/chunk-IVSNUXW7.js.map +1 -0
- package/dist/{chunk-LKCYANMW.js → chunk-JHXMNOMF.js} +198 -5
- package/dist/chunk-JHXMNOMF.js.map +1 -0
- package/dist/{chunk-FV5AXTSF.cjs → chunk-JSSBHMMU.cjs} +36 -188
- package/dist/chunk-JSSBHMMU.cjs.map +1 -0
- package/dist/chunk-L2T6EJ5S.cjs +3339 -0
- package/dist/chunk-L2T6EJ5S.cjs.map +1 -0
- package/dist/chunk-LF4WOZXZ.js +159 -0
- package/dist/chunk-LF4WOZXZ.js.map +1 -0
- package/dist/{chunk-26PGXHY7.cjs → chunk-M7O4BJRH.cjs} +36 -36
- package/dist/{chunk-26PGXHY7.cjs.map → chunk-M7O4BJRH.cjs.map} +1 -1
- package/dist/chunk-N3467VD6.js +501 -0
- package/dist/chunk-N3467VD6.js.map +1 -0
- package/dist/{chunk-XICA4PVO.js → chunk-R2JE6SA7.js} +17 -17
- package/dist/chunk-SMJGE7HM.cjs +1908 -0
- package/dist/chunk-SMJGE7HM.cjs.map +1 -0
- package/dist/{chunk-MMVHBKMM.js → chunk-T2P5TIZ6.js} +2 -2
- package/dist/{chunk-C6C5PDKU.js → chunk-VD2UDVF7.js} +102 -604
- package/dist/chunk-VD2UDVF7.js.map +1 -0
- package/dist/{chunk-FGW5OWJ4.js → chunk-VJUML33I.js} +4 -156
- package/dist/chunk-VJUML33I.js.map +1 -0
- package/dist/export/index.cjs +4 -2
- package/dist/export/index.cjs.map +1 -1
- package/dist/export/index.js +5 -3
- package/dist/{export-BJE8T0YA.d.cts → export-DMOuzgZZ.d.cts} +9 -4
- package/dist/{export-Con3UKkm.d.ts → export-Dul1SbPv.d.ts} +9 -4
- package/dist/export-Dv0-ZVrV.d.cts +501 -0
- package/dist/export-Dv0-ZVrV.d.ts +501 -0
- package/dist/{retouch-Bxkuc0KH.d.cts → flow-4-OC-UkQ.d.cts} +582 -2
- package/dist/{retouch-Do6tBs2H.d.ts → flow-Cb7lkPm8.d.ts} +582 -2
- package/dist/image-editor/index.cjs +1345 -1095
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +8 -8
- package/dist/image-editor/index.d.ts +8 -8
- package/dist/image-editor/index.js +300 -50
- package/dist/image-editor/index.js.map +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/kernel-wasm-WYCGNZR4.js +10 -0
- package/dist/kernel-wasm-WYCGNZR4.js.map +1 -0
- package/dist/kernel-wasm-YPVAEMVN.cjs +10 -0
- package/dist/kernel-wasm-YPVAEMVN.cjs.map +1 -0
- package/dist/paint/index.cjs +170 -4
- package/dist/paint/index.cjs.map +1 -1
- package/dist/paint/index.d.cts +225 -3
- package/dist/paint/index.d.ts +225 -3
- package/dist/paint/index.js +171 -5
- package/dist/paint-editor/index.cjs +4735 -890
- package/dist/paint-editor/index.cjs.map +1 -1
- package/dist/paint-editor/index.d.cts +1526 -278
- package/dist/paint-editor/index.d.ts +1526 -278
- package/dist/paint-editor/index.js +4561 -716
- package/dist/paint-editor/index.js.map +1 -1
- package/dist/raster/index.cjs +7 -4
- package/dist/raster/index.cjs.map +1 -1
- package/dist/raster/index.d.cts +2 -2
- package/dist/raster/index.d.ts +2 -2
- package/dist/raster/index.js +36 -33
- package/dist/{render-CrmHOgpo.d.ts → render-B05K68_h.d.ts} +9 -1
- package/dist/{render-B1K_OoLy.d.cts → render-DnAbIKcs.d.cts} +9 -1
- package/dist/{svg-BnRj0q8i.d.cts → svg-CVdFc80-.d.cts} +2 -2
- package/dist/{svg-CmmBFfGT.d.ts → svg-DlEuhwoX.d.ts} +2 -2
- package/dist/{types-1SUQKDAw.d.ts → types-CDLGhAZp.d.ts} +40 -2
- package/dist/{types-yINF17Ta.d.cts → types-Tfly4Aya.d.cts} +40 -2
- package/dist/vector/index.cjs +6536 -4525
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +426 -32
- package/dist/vector/index.d.ts +426 -32
- package/dist/vector/index.js +11397 -9386
- package/dist/vector/index.js.map +1 -1
- package/dist/video-editor/index.cjs +502 -2165
- package/dist/video-editor/index.cjs.map +1 -1
- package/dist/video-editor/index.d.cts +3 -501
- package/dist/video-editor/index.d.ts +3 -501
- package/dist/video-editor/index.js +151 -1814
- package/dist/video-editor/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/pixerate-image-editor/references/photoshop-files.md +7 -3
- package/skills/pixerate-vector/SKILL.md +3 -0
- package/dist/chunk-C6C5PDKU.js.map +0 -1
- package/dist/chunk-DFQEX3AM.cjs.map +0 -1
- package/dist/chunk-FGW5OWJ4.js.map +0 -1
- package/dist/chunk-FV5AXTSF.cjs.map +0 -1
- package/dist/chunk-GX332W2C.js +0 -181
- package/dist/chunk-GX332W2C.js.map +0 -1
- package/dist/chunk-LKCYANMW.js.map +0 -1
- package/dist/chunk-LPLCWZTM.cjs.map +0 -1
- package/dist/chunk-MUUXNRU4.cjs +0 -181
- package/dist/chunk-MUUXNRU4.cjs.map +0 -1
- package/dist/chunk-ST7E3NEE.cjs.map +0 -1
- package/dist/chunk-TCKIXI46.cjs +0 -1136
- package/dist/chunk-TCKIXI46.cjs.map +0 -1
- package/dist/chunk-TFOPHZ3U.cjs.map +0 -1
- package/dist/chunk-UBIXVXPR.js +0 -1136
- package/dist/chunk-UBIXVXPR.js.map +0 -1
- package/dist/chunk-VXR7XWMF.js.map +0 -1
- package/dist/chunk-XK5LZKBD.js.map +0 -1
- /package/dist/{chunk-XICA4PVO.js.map → chunk-R2JE6SA7.js.map} +0 -0
- /package/dist/{chunk-MMVHBKMM.js.map → chunk-T2P5TIZ6.js.map} +0 -0
package/dist/raster/index.cjs
CHANGED
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
|
+
var _chunkEBSYZRSWcjs = require('../chunk-EBSYZRSW.cjs');
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
|
|
70
71
|
|
|
71
72
|
|
|
73
|
+
var _chunkEJVDBITDcjs = require('../chunk-EJVDBITD.cjs');
|
|
72
74
|
|
|
73
75
|
|
|
74
76
|
|
|
@@ -90,8 +92,6 @@
|
|
|
90
92
|
|
|
91
93
|
|
|
92
94
|
|
|
93
|
-
var _chunkST7E3NEEcjs = require('../chunk-ST7E3NEE.cjs');
|
|
94
|
-
require('../chunk-MUUXNRU4.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -134,7 +134,9 @@ require('../chunk-MUUXNRU4.cjs');
|
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
var _chunk7ISPWEJAcjs = require('../chunk-7ISPWEJA.cjs');
|
|
138
140
|
|
|
139
141
|
|
|
140
142
|
|
|
@@ -282,5 +284,6 @@ var _chunk643B2HKCcjs = require('../chunk-643B2HKC.cjs');
|
|
|
282
284
|
|
|
283
285
|
|
|
284
286
|
|
|
285
|
-
|
|
287
|
+
|
|
288
|
+
exports.BIT_DEPTHS = _chunk7ISPWEJAcjs.BIT_DEPTHS; exports.BLEND_MODES = _chunk7ISPWEJAcjs.BLEND_MODES; exports.CURVE_LUT_SIZE = _chunkEBSYZRSWcjs.CURVE_LUT_SIZE; exports.DEFAULT_GLOBAL_LIGHT = _chunkEBSYZRSWcjs.DEFAULT_GLOBAL_LIGHT; exports.DIRECT_GAUSSIAN_MAX_SIGMA = _chunkEBSYZRSWcjs.DIRECT_GAUSSIAN_MAX_SIGMA; exports.DeepCompositor = _chunkEBSYZRSWcjs.DeepCompositor; exports.INTERPOLATIONS = _chunkEBSYZRSWcjs.INTERPOLATIONS; exports.LAYER_EFFECT_KINDS = _chunkEBSYZRSWcjs.LAYER_EFFECT_KINDS; exports.LayerEffectError = _chunkEBSYZRSWcjs.LayerEffectError; exports.MAX_EFFECT_REACH = _chunkEBSYZRSWcjs.MAX_EFFECT_REACH; exports.MAX_TRANSFORM_PIXELS = _chunkEBSYZRSWcjs.MAX_TRANSFORM_PIXELS; exports.PAINTERLY_BLEND_MODES = _chunk7ISPWEJAcjs.PAINTERLY_BLEND_MODES; exports.PatternPlacement = _chunkEBSYZRSWcjs.PatternPlacement; exports.PatternTile = _chunkEBSYZRSWcjs.PatternTile; exports.RasterCompositor = _chunkEBSYZRSWcjs.RasterCompositor; exports.SHADOW_AMBIENT = _chunk7ISPWEJAcjs.SHADOW_AMBIENT; exports.STROKE_CHAMFER_MAX = _chunkEBSYZRSWcjs.STROKE_CHAMFER_MAX; exports.SurfaceDraft = _chunk7ISPWEJAcjs.SurfaceDraft; exports.TILE = _chunk7ISPWEJAcjs.TILE; exports.TILE_SHIFT = _chunk7ISPWEJAcjs.TILE_SHIFT; exports.TiledSurface = _chunk7ISPWEJAcjs.TiledSurface; exports.TransformTooLargeError = _chunkEBSYZRSWcjs.TransformTooLargeError; exports.ZlibError = _chunk643B2HKCcjs.ZlibError; exports.activeEffectItems = _chunkEBSYZRSWcjs.activeEffectItems; exports.adler32 = _chunk643B2HKCcjs.adler32; exports.base64ToBytes = _chunkEJVDBITDcjs.base64ToBytes; exports.blendChannel = _chunk7ISPWEJAcjs.blendChannel; exports.blendImageData = _chunk7ISPWEJAcjs.blendImageData; exports.blendLum = _chunk7ISPWEJAcjs.blendLum; exports.blendPixel = _chunk7ISPWEJAcjs.blendPixel; exports.blendRgb = _chunk7ISPWEJAcjs.blendRgb; exports.blendTile = _chunkEBSYZRSWcjs.blendTile; exports.buildEffectMaps = _chunkEBSYZRSWcjs.buildEffectMaps; exports.builtinPattern = _chunkEBSYZRSWcjs.builtinPattern; exports.builtinPatternIds = _chunkEBSYZRSWcjs.builtinPatternIds; exports.bytesToBase64 = _chunkEJVDBITDcjs.bytesToBase64; exports.canvasCompositeOperation = _chunk7ISPWEJAcjs.canvasCompositeOperation; exports.changedTiles = _chunkEBSYZRSWcjs.changedTiles; exports.collectTiles = _chunk7ISPWEJAcjs.collectTiles; exports.compositeLayerEffects = _chunkEBSYZRSWcjs.compositeLayerEffects; exports.compositeSurfaceOver = _chunkEBSYZRSWcjs.compositeSurfaceOver; exports.contentBounds = _chunk7ISPWEJAcjs.contentBounds; exports.contourLut = _chunkEBSYZRSWcjs.contourLut; exports.convertSurfaceDepth = _chunk7ISPWEJAcjs.convertSurfaceDepth; exports.curveLut = _chunkEBSYZRSWcjs.curveLut; exports.decodePng = _chunkEJVDBITDcjs.decodePng; exports.deepBytes = _chunk7ISPWEJAcjs.deepBytes; exports.deepTile = _chunk7ISPWEJAcjs.deepTile; exports.defaultEffectGradient = _chunkEBSYZRSWcjs.defaultEffectGradient; exports.defaultLayerEffect = _chunkEBSYZRSWcjs.defaultLayerEffect; exports.deflate = _chunk643B2HKCcjs.deflate; exports.deflateRaw = _chunk643B2HKCcjs.deflateRaw; exports.depthOf = _chunk7ISPWEJAcjs.depthOf; exports.effectColorHex = _chunkEBSYZRSWcjs.effectColorHex; exports.effectFillColors = _chunkEBSYZRSWcjs.effectFillColors; exports.effectReach = _chunkEBSYZRSWcjs.effectReach; exports.effectsAreLocal = _chunkEBSYZRSWcjs.effectsAreLocal; exports.effectsFingerprint = _chunkEBSYZRSWcjs.effectsFingerprint; exports.effectsMargin = _chunkEBSYZRSWcjs.effectsMargin; exports.effectsScale = _chunkEBSYZRSWcjs.effectsScale; exports.emptySurface = _chunk7ISPWEJAcjs.emptySurface; exports.encodePng = _chunkEJVDBITDcjs.encodePng; exports.fillRect = _chunk7ISPWEJAcjs.fillRect; exports.findLayer = _chunkEBSYZRSWcjs.findLayer; exports.finishTile = _chunk7ISPWEJAcjs.finishTile; exports.flattenLayers = _chunkEBSYZRSWcjs.flattenLayers; exports.gaussianBlur = _chunkEBSYZRSWcjs.gaussianBlur; exports.gradientT = _chunkEBSYZRSWcjs.gradientT; exports.hasActiveEffects = _chunkEBSYZRSWcjs.hasActiveEffects; exports.hashNoise = _chunkEBSYZRSWcjs.hashNoise; exports.inflate = _chunk643B2HKCcjs.inflate; exports.inflateRaw = _chunk643B2HKCcjs.inflateRaw; exports.insertLayer = _chunkEBSYZRSWcjs.insertLayer; exports.isBitDepth = _chunk7ISPWEJAcjs.isBitDepth; exports.isBlendMode = _chunk7ISPWEJAcjs.isBlendMode; exports.isInterpolation = _chunkEBSYZRSWcjs.isInterpolation; exports.isLayerEffectKind = _chunkEBSYZRSWcjs.isLayerEffectKind; exports.isLayerLocked = _chunkEBSYZRSWcjs.isLayerLocked; exports.isPainterlyBlendMode = _chunk7ISPWEJAcjs.isPainterlyBlendMode; exports.isPng = _chunkEJVDBITDcjs.isPng; exports.isSeparableBlendMode = _chunk7ISPWEJAcjs.isSeparableBlendMode; exports.keepDeepSamples = _chunk7ISPWEJAcjs.keepDeepSamples; exports.keysWeight = _chunkEBSYZRSWcjs.keysWeight; exports.layerEffectFields = _chunkEBSYZRSWcjs.layerEffectFields; exports.layerEffectLabel = _chunkEBSYZRSWcjs.layerEffectLabel; exports.mapLayer = _chunkEBSYZRSWcjs.mapLayer; exports.mergeLayerEffect = _chunkEBSYZRSWcjs.mergeLayerEffect; exports.mixPigment8 = _chunk7ISPWEJAcjs.mixPigment8; exports.mixPigmentRgb = _chunk7ISPWEJAcjs.mixPigmentRgb; exports.newEffectId = _chunkEBSYZRSWcjs.newEffectId; exports.normalizeBlendMode = _chunk7ISPWEJAcjs.normalizeBlendMode; exports.normalizeLayerEffects = _chunkEBSYZRSWcjs.normalizeLayerEffects; exports.packRgba = _chunk7ISPWEJAcjs.packRgba; exports.parseDataUrl = _chunkEJVDBITDcjs.parseDataUrl; exports.parseEffectColor = _chunkEBSYZRSWcjs.parseEffectColor; exports.patchEffectMaps = _chunkEBSYZRSWcjs.patchEffectMaps; exports.pigment8 = _chunk7ISPWEJAcjs.pigment8; exports.pngDataUrl = _chunkEJVDBITDcjs.pngDataUrl; exports.proxyOf = _chunk7ISPWEJAcjs.proxyOf; exports.readDeepRegion = _chunk7ISPWEJAcjs.readDeepRegion; exports.readPixel = _chunk7ISPWEJAcjs.readPixel; exports.readRegion = _chunk7ISPWEJAcjs.readRegion; exports.reduceSurface = _chunkEBSYZRSWcjs.reduceSurface; exports.renderLayerEffects = _chunkEBSYZRSWcjs.renderLayerEffects; exports.scaleLayerEffect = _chunkEBSYZRSWcjs.scaleLayerEffect; exports.setLum = _chunk7ISPWEJAcjs.setLum; exports.solidSurface = _chunk7ISPWEJAcjs.solidSurface; exports.srgbDecode = _chunk7ISPWEJAcjs.srgbDecode; exports.srgbEncode = _chunk7ISPWEJAcjs.srgbEncode; exports.standardBlendMode = _chunk7ISPWEJAcjs.standardBlendMode; exports.surfaceBytes = _chunk7ISPWEJAcjs.surfaceBytes; exports.surfaceDepth = _chunk7ISPWEJAcjs.surfaceDepth; exports.surfaceFromDeepPixels = _chunk7ISPWEJAcjs.surfaceFromDeepPixels; exports.surfaceFromPixels = _chunk7ISPWEJAcjs.surfaceFromPixels; exports.surfacesEqual = _chunk7ISPWEJAcjs.surfacesEqual; exports.tileCoord = _chunk7ISPWEJAcjs.tileCoord; exports.tileKey = _chunk7ISPWEJAcjs.tileKey; exports.tileRect = _chunk7ISPWEJAcjs.tileRect; exports.tileSamples = _chunk7ISPWEJAcjs.tileSamples; exports.tileSamples16 = _chunk7ISPWEJAcjs.tileSamples16; exports.tileSamples32 = _chunk7ISPWEJAcjs.tileSamples32; exports.tilesInRect = _chunk7ISPWEJAcjs.tilesInRect; exports.to16From32 = _chunk7ISPWEJAcjs.to16From32; exports.to16From8 = _chunk7ISPWEJAcjs.to16From8; exports.to32From16 = _chunk7ISPWEJAcjs.to32From16; exports.to32From8 = _chunk7ISPWEJAcjs.to32From8; exports.to8From16 = _chunk7ISPWEJAcjs.to8From16; exports.to8From32 = _chunk7ISPWEJAcjs.to8From32; exports.transformSurface = _chunkEBSYZRSWcjs.transformSurface; exports.transformedBounds = _chunkEBSYZRSWcjs.transformedBounds; exports.translateSurface = _chunk7ISPWEJAcjs.translateSurface; exports.uniformTile = _chunk7ISPWEJAcjs.uniformTile; exports.validateEffectGradient = _chunkEBSYZRSWcjs.validateEffectGradient; exports.validateLayerEffect = _chunkEBSYZRSWcjs.validateLayerEffect; exports.validateLayerEffects = _chunkEBSYZRSWcjs.validateLayerEffects; exports.warpSurface = _chunkEBSYZRSWcjs.warpSurface; exports.workingToSamples = _chunkEBSYZRSWcjs.workingToSamples; exports.writeDeepRegion = _chunk7ISPWEJAcjs.writeDeepRegion; exports.writeRegion = _chunk7ISPWEJAcjs.writeRegion;
|
|
286
289
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/raster/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/raster/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,swPAAC","file":"/home/runner/work/editor/editor/packages/core/dist/raster/index.cjs"}
|
package/dist/raster/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as RasterRect } from '../surface-Cn30xIV6.cjs';
|
|
2
2
|
export { B as BLEND_MODES, a as BlendMode, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, c as PixelSurface, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, T as TILE, g as TILE_SHIFT, h as Tile, i as TileKey, j as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, y as mixPigment8, z as mixPigmentRgb, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, G as setLum, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-Cn30xIV6.cjs';
|
|
3
|
-
import { C as CompositorLayer, R as RasterSources, a as RasterCompositor, b as CompositorProfile } from '../render-
|
|
4
|
-
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, E as EffectCompositeInput, p as EffectContext, q as EffectContour, r as EffectFill, s as EffectGradient, t as EffectMaps, u as EffectPattern, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, H as GroupBlendMode, I as GroupIn, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, M as Interpolation, N as LAYER_EFFECT_KINDS, O as LayerEffect, P as LayerEffectError, Q as LayerEffectKind, S as LayerEffects, T as LayerLocation, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, $ as PixelFilterSpec, a0 as RasterGroupLayer, a1 as RasterLayer, a2 as RasterLayerBase, a3 as RasterMask, a4 as RasterNode, a5 as RasterPixelLayer, a6 as ResampleOptions, a7 as STROKE_CHAMFER_MAX, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ac as activeEffectItems, ad as blendTile, ae as buildEffectMaps, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, ai as compositeLayerEffects, aj as compositeSurfaceOver, ak as contourLut, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, as as effectFillColors, at as effectReach, au as effectsAreLocal, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aA as gradientT, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as
|
|
3
|
+
import { C as CompositorLayer, R as RasterSources, a as RasterCompositor, b as CompositorProfile } from '../render-DnAbIKcs.cjs';
|
|
4
|
+
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, E as EffectCompositeInput, p as EffectContext, q as EffectContour, r as EffectFill, s as EffectGradient, t as EffectMaps, u as EffectPattern, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, H as GroupBlendMode, I as GroupIn, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, M as Interpolation, N as LAYER_EFFECT_KINDS, O as LayerEffect, P as LayerEffectError, Q as LayerEffectKind, S as LayerEffects, T as LayerLocation, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, $ as PixelFilterSpec, a0 as RasterGroupLayer, a1 as RasterLayer, a2 as RasterLayerBase, a3 as RasterMask, a4 as RasterNode, a5 as RasterPixelLayer, a6 as ResampleOptions, a7 as STROKE_CHAMFER_MAX, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ac as activeEffectItems, ad as blendTile, ae as buildEffectMaps, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, ai as compositeLayerEffects, aj as compositeSurfaceOver, ak as contourLut, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, as as effectFillColors, at as effectReach, au as effectsAreLocal, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aA as gradientT, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as keepDeepSamples, aJ as keysWeight, aK as layerEffectFields, aL as layerEffectLabel, aM as mapLayer, aN as mergeLayerEffect, aO as newEffectId, aP as normalizeLayerEffects, aQ as parseEffectColor, aR as patchEffectMaps, aS as proxyOf, aT as readDeepRegion, aU as reduceSurface, aV as renderLayerEffects, aW as scaleLayerEffect, aX as srgbDecode, aY as srgbEncode, aZ as surfaceDepth, a_ as surfaceFromDeepPixels, a$ as tileSamples, b0 as tileSamples16, b1 as tileSamples32, b2 as to16From32, b3 as to16From8, b4 as to32From16, b5 as to32From8, b6 as to8From16, b7 as to8From32, b8 as transformSurface, b9 as transformedBounds, ba as validateEffectGradient, bb as validateLayerEffect, bc as validateLayerEffects, bd as warpSurface, be as writeDeepRegion } from '../render-DnAbIKcs.cjs';
|
|
5
5
|
export { B as BlurEdge, C as CURVE_LUT_SIZE, D as DIRECT_GAUSSIAN_MAX_SIGMA, a as DecodedPng, Z as ZlibError, b as adler32, c as base64ToBytes, d as bytesToBase64, e as curveLut, f as decodePng, g as deflate, h as deflateRaw, i as encodePng, j as gaussianBlur, k as inflate, l as inflateRaw, m as isPng, p as parseDataUrl, n as pngDataUrl } from '../zlib-dxQdgHyN.cjs';
|
|
6
6
|
import '../types-CwMPoRMU.cjs';
|
|
7
7
|
|
package/dist/raster/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as RasterRect } from '../surface-Cn30xIV6.js';
|
|
2
2
|
export { B as BLEND_MODES, a as BlendMode, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, c as PixelSurface, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, T as TILE, g as TILE_SHIFT, h as Tile, i as TileKey, j as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, y as mixPigment8, z as mixPigmentRgb, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, G as setLum, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-Cn30xIV6.js';
|
|
3
|
-
import { C as CompositorLayer, R as RasterSources, a as RasterCompositor, b as CompositorProfile } from '../render-
|
|
4
|
-
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, E as EffectCompositeInput, p as EffectContext, q as EffectContour, r as EffectFill, s as EffectGradient, t as EffectMaps, u as EffectPattern, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, H as GroupBlendMode, I as GroupIn, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, M as Interpolation, N as LAYER_EFFECT_KINDS, O as LayerEffect, P as LayerEffectError, Q as LayerEffectKind, S as LayerEffects, T as LayerLocation, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, $ as PixelFilterSpec, a0 as RasterGroupLayer, a1 as RasterLayer, a2 as RasterLayerBase, a3 as RasterMask, a4 as RasterNode, a5 as RasterPixelLayer, a6 as ResampleOptions, a7 as STROKE_CHAMFER_MAX, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ac as activeEffectItems, ad as blendTile, ae as buildEffectMaps, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, ai as compositeLayerEffects, aj as compositeSurfaceOver, ak as contourLut, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, as as effectFillColors, at as effectReach, au as effectsAreLocal, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aA as gradientT, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as
|
|
3
|
+
import { C as CompositorLayer, R as RasterSources, a as RasterCompositor, b as CompositorProfile } from '../render-B05K68_h.js';
|
|
4
|
+
export { B as BIT_DEPTHS, c as BevelContour, d as BevelEmbossEffect, e as BevelStyle, f as BevelTechnique, g as BevelTexture, h as BitDepth, i as ColorOverlayEffect, j as CompositeCallOptions, k as CompositeStats, l as CompositorOptions, m as ContourPoint, D as DEFAULT_GLOBAL_LIGHT, n as DeepSamples, o as DropShadowEffect, E as EffectCompositeInput, p as EffectContext, q as EffectContour, r as EffectFill, s as EffectGradient, t as EffectMaps, u as EffectPattern, v as EffectPatternRef, w as EffectRect, G as GlobalLight, x as GlowTechnique, y as GradientColorStop, z as GradientOpacityStop, A as GradientOverlayEffect, F as GradientStyle, H as GroupBlendMode, I as GroupIn, J as INTERPOLATIONS, K as InnerGlowEffect, L as InnerShadowEffect, M as Interpolation, N as LAYER_EFFECT_KINDS, O as LayerEffect, P as LayerEffectError, Q as LayerEffectKind, S as LayerEffects, T as LayerLocation, U as LayerLocks, V as MAX_EFFECT_REACH, W as MAX_TRANSFORM_PIXELS, X as OuterGlowEffect, Y as PatternOverlayEffect, Z as PatternPlacement, _ as PatternTile, $ as PixelFilterSpec, a0 as RasterGroupLayer, a1 as RasterLayer, a2 as RasterLayerBase, a3 as RasterMask, a4 as RasterNode, a5 as RasterPixelLayer, a6 as ResampleOptions, a7 as STROKE_CHAMFER_MAX, a8 as SatinEffect, a9 as StrokeEffect, aa as StrokePosition, ab as TransformTooLargeError, ac as activeEffectItems, ad as blendTile, ae as buildEffectMaps, af as builtinPattern, ag as builtinPatternIds, ah as changedTiles, ai as compositeLayerEffects, aj as compositeSurfaceOver, ak as contourLut, al as convertSurfaceDepth, am as deepBytes, an as deepTile, ao as defaultEffectGradient, ap as defaultLayerEffect, aq as depthOf, ar as effectColorHex, as as effectFillColors, at as effectReach, au as effectsAreLocal, av as effectsFingerprint, aw as effectsMargin, ax as effectsScale, ay as findLayer, az as flattenLayers, aA as gradientT, aB as hasActiveEffects, aC as hashNoise, aD as insertLayer, aE as isBitDepth, aF as isInterpolation, aG as isLayerEffectKind, aH as isLayerLocked, aI as keepDeepSamples, aJ as keysWeight, aK as layerEffectFields, aL as layerEffectLabel, aM as mapLayer, aN as mergeLayerEffect, aO as newEffectId, aP as normalizeLayerEffects, aQ as parseEffectColor, aR as patchEffectMaps, aS as proxyOf, aT as readDeepRegion, aU as reduceSurface, aV as renderLayerEffects, aW as scaleLayerEffect, aX as srgbDecode, aY as srgbEncode, aZ as surfaceDepth, a_ as surfaceFromDeepPixels, a$ as tileSamples, b0 as tileSamples16, b1 as tileSamples32, b2 as to16From32, b3 as to16From8, b4 as to32From16, b5 as to32From8, b6 as to8From16, b7 as to8From32, b8 as transformSurface, b9 as transformedBounds, ba as validateEffectGradient, bb as validateLayerEffect, bc as validateLayerEffects, bd as warpSurface, be as writeDeepRegion } from '../render-B05K68_h.js';
|
|
5
5
|
export { B as BlurEdge, C as CURVE_LUT_SIZE, D as DIRECT_GAUSSIAN_MAX_SIGMA, a as DecodedPng, Z as ZlibError, b as adler32, c as base64ToBytes, d as bytesToBase64, e as curveLut, f as decodePng, g as deflate, h as deflateRaw, i as encodePng, j as gaussianBlur, k as inflate, l as inflateRaw, m as isPng, p as parseDataUrl, n as pngDataUrl } from '../zlib-dxQdgHyN.js';
|
|
6
6
|
import '../types-CwMPoRMU.js';
|
|
7
7
|
|
package/dist/raster/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
BIT_DEPTHS,
|
|
3
2
|
CURVE_LUT_SIZE,
|
|
4
3
|
DEFAULT_GLOBAL_LIGHT,
|
|
5
4
|
DIRECT_GAUSSIAN_MAX_SIGMA,
|
|
@@ -15,24 +14,17 @@ import {
|
|
|
15
14
|
STROKE_CHAMFER_MAX,
|
|
16
15
|
TransformTooLargeError,
|
|
17
16
|
activeEffectItems,
|
|
18
|
-
base64ToBytes,
|
|
19
17
|
blendTile,
|
|
20
18
|
buildEffectMaps,
|
|
21
19
|
builtinPattern,
|
|
22
20
|
builtinPatternIds,
|
|
23
|
-
bytesToBase64,
|
|
24
21
|
changedTiles,
|
|
25
22
|
compositeLayerEffects,
|
|
26
23
|
compositeSurfaceOver,
|
|
27
24
|
contourLut,
|
|
28
|
-
convertSurfaceDepth,
|
|
29
25
|
curveLut,
|
|
30
|
-
decodePng,
|
|
31
|
-
deepBytes,
|
|
32
|
-
deepTile,
|
|
33
26
|
defaultEffectGradient,
|
|
34
27
|
defaultLayerEffect,
|
|
35
|
-
depthOf,
|
|
36
28
|
effectColorHex,
|
|
37
29
|
effectFillColors,
|
|
38
30
|
effectReach,
|
|
@@ -40,7 +32,6 @@ import {
|
|
|
40
32
|
effectsFingerprint,
|
|
41
33
|
effectsMargin,
|
|
42
34
|
effectsScale,
|
|
43
|
-
encodePng,
|
|
44
35
|
findLayer,
|
|
45
36
|
flattenLayers,
|
|
46
37
|
gaussianBlur,
|
|
@@ -48,11 +39,9 @@ import {
|
|
|
48
39
|
hasActiveEffects,
|
|
49
40
|
hashNoise,
|
|
50
41
|
insertLayer,
|
|
51
|
-
isBitDepth,
|
|
52
42
|
isInterpolation,
|
|
53
43
|
isLayerEffectKind,
|
|
54
44
|
isLayerLocked,
|
|
55
|
-
isPng,
|
|
56
45
|
keysWeight,
|
|
57
46
|
layerEffectFields,
|
|
58
47
|
layerEffectLabel,
|
|
@@ -60,39 +49,30 @@ import {
|
|
|
60
49
|
mergeLayerEffect,
|
|
61
50
|
newEffectId,
|
|
62
51
|
normalizeLayerEffects,
|
|
63
|
-
parseDataUrl,
|
|
64
52
|
parseEffectColor,
|
|
65
53
|
patchEffectMaps,
|
|
66
|
-
pngDataUrl,
|
|
67
|
-
proxyOf,
|
|
68
|
-
readDeepRegion,
|
|
69
54
|
reduceSurface,
|
|
70
55
|
renderLayerEffects,
|
|
71
56
|
scaleLayerEffect,
|
|
72
|
-
srgbDecode,
|
|
73
|
-
srgbEncode,
|
|
74
|
-
surfaceDepth,
|
|
75
|
-
surfaceFromDeepPixels,
|
|
76
|
-
tileSamples,
|
|
77
|
-
tileSamples16,
|
|
78
|
-
tileSamples32,
|
|
79
|
-
to16From32,
|
|
80
|
-
to16From8,
|
|
81
|
-
to32From16,
|
|
82
|
-
to32From8,
|
|
83
|
-
to8From16,
|
|
84
|
-
to8From32,
|
|
85
57
|
transformSurface,
|
|
86
58
|
transformedBounds,
|
|
87
59
|
validateEffectGradient,
|
|
88
60
|
validateLayerEffect,
|
|
89
61
|
validateLayerEffects,
|
|
90
62
|
warpSurface,
|
|
91
|
-
workingToSamples
|
|
92
|
-
|
|
93
|
-
} from "../chunk-C6C5PDKU.js";
|
|
94
|
-
import "../chunk-GX332W2C.js";
|
|
63
|
+
workingToSamples
|
|
64
|
+
} from "../chunk-VD2UDVF7.js";
|
|
95
65
|
import {
|
|
66
|
+
base64ToBytes,
|
|
67
|
+
bytesToBase64,
|
|
68
|
+
decodePng,
|
|
69
|
+
encodePng,
|
|
70
|
+
isPng,
|
|
71
|
+
parseDataUrl,
|
|
72
|
+
pngDataUrl
|
|
73
|
+
} from "../chunk-N3467VD6.js";
|
|
74
|
+
import {
|
|
75
|
+
BIT_DEPTHS,
|
|
96
76
|
BLEND_MODES,
|
|
97
77
|
PAINTERLY_BLEND_MODES,
|
|
98
78
|
SHADOW_AMBIENT,
|
|
@@ -108,33 +88,55 @@ import {
|
|
|
108
88
|
canvasCompositeOperation,
|
|
109
89
|
collectTiles,
|
|
110
90
|
contentBounds,
|
|
91
|
+
convertSurfaceDepth,
|
|
92
|
+
deepBytes,
|
|
93
|
+
deepTile,
|
|
94
|
+
depthOf,
|
|
111
95
|
emptySurface,
|
|
112
96
|
fillRect,
|
|
113
97
|
finishTile,
|
|
98
|
+
isBitDepth,
|
|
114
99
|
isBlendMode,
|
|
115
100
|
isPainterlyBlendMode,
|
|
116
101
|
isSeparableBlendMode,
|
|
102
|
+
keepDeepSamples,
|
|
117
103
|
mixPigment8,
|
|
118
104
|
mixPigmentRgb,
|
|
119
105
|
normalizeBlendMode,
|
|
120
106
|
packRgba,
|
|
121
107
|
pigment8,
|
|
108
|
+
proxyOf,
|
|
109
|
+
readDeepRegion,
|
|
122
110
|
readPixel,
|
|
123
111
|
readRegion,
|
|
124
112
|
setLum,
|
|
125
113
|
solidSurface,
|
|
114
|
+
srgbDecode,
|
|
115
|
+
srgbEncode,
|
|
126
116
|
standardBlendMode,
|
|
127
117
|
surfaceBytes,
|
|
118
|
+
surfaceDepth,
|
|
119
|
+
surfaceFromDeepPixels,
|
|
128
120
|
surfaceFromPixels,
|
|
129
121
|
surfacesEqual,
|
|
130
122
|
tileCoord,
|
|
131
123
|
tileKey,
|
|
132
124
|
tileRect,
|
|
125
|
+
tileSamples,
|
|
126
|
+
tileSamples16,
|
|
127
|
+
tileSamples32,
|
|
133
128
|
tilesInRect,
|
|
129
|
+
to16From32,
|
|
130
|
+
to16From8,
|
|
131
|
+
to32From16,
|
|
132
|
+
to32From8,
|
|
133
|
+
to8From16,
|
|
134
|
+
to8From32,
|
|
134
135
|
translateSurface,
|
|
135
136
|
uniformTile,
|
|
137
|
+
writeDeepRegion,
|
|
136
138
|
writeRegion
|
|
137
|
-
} from "../chunk-
|
|
139
|
+
} from "../chunk-HKDTM6VC.js";
|
|
138
140
|
import {
|
|
139
141
|
ZlibError,
|
|
140
142
|
adler32,
|
|
@@ -225,6 +227,7 @@ export {
|
|
|
225
227
|
isPainterlyBlendMode,
|
|
226
228
|
isPng,
|
|
227
229
|
isSeparableBlendMode,
|
|
230
|
+
keepDeepSamples,
|
|
228
231
|
keysWeight,
|
|
229
232
|
layerEffectFields,
|
|
230
233
|
layerEffectLabel,
|
|
@@ -916,6 +916,14 @@ declare function surfaceFromDeepPixels(pixels: {
|
|
|
916
916
|
declare function convertSurfaceDepth(surface: TiledSurface, depth: BitDepth): TiledSurface;
|
|
917
917
|
/** Bytes held by deep samples (in addition to `surfaceBytes`). */
|
|
918
918
|
declare function deepBytes(surface: TiledSurface): number;
|
|
919
|
+
/**
|
|
920
|
+
* `after` (a surface an 8-bit operation rewrote from `before`) with the deep samples kept where
|
|
921
|
+
* the operation left a pixel's 8-bit value alone: a rewritten tile of a deep surface becomes deep
|
|
922
|
+
* again, its unchanged pixels taking `before`'s samples and its changed ones the 8-bit result
|
|
923
|
+
* lifted to the depth. The result renders exactly as `after` does, so it is never worse than the
|
|
924
|
+
* 8-bit path, and an untouched area of a filtered, smudged or cloned 16-bit layer keeps 16 bits.
|
|
925
|
+
*/
|
|
926
|
+
declare function keepDeepSamples(before: TiledSurface, after: TiledSurface): TiledSurface;
|
|
919
927
|
|
|
920
928
|
/**
|
|
921
929
|
* CPU renderer for layer effects.
|
|
@@ -1051,4 +1059,4 @@ declare function renderLayerEffects(effects: LayerEffects, layer: {
|
|
|
1051
1059
|
fillOpacity?: number;
|
|
1052
1060
|
}, backdrop: Uint8ClampedArray, canvas: EffectRect, ctx: EffectContext): void;
|
|
1053
1061
|
|
|
1054
|
-
export { type PixelFilterSpec as $, type GradientOverlayEffect as A, BIT_DEPTHS as B, type CompositorLayer as C, DEFAULT_GLOBAL_LIGHT as D, type EffectCompositeInput as E, type GradientStyle as F, type GlobalLight as G, type GroupBlendMode as H, type GroupIn as I, INTERPOLATIONS as J, type InnerGlowEffect as K, type InnerShadowEffect as L, type Interpolation as M, LAYER_EFFECT_KINDS as N, type LayerEffect as O, LayerEffectError as P, type LayerEffectKind as Q, type RasterSources as R, type LayerEffects as S, type LayerLocation as T, type LayerLocks as U, MAX_EFFECT_REACH as V, MAX_TRANSFORM_PIXELS as W, type OuterGlowEffect as X, type PatternOverlayEffect as Y, PatternPlacement as Z, PatternTile as _, RasterCompositor as a,
|
|
1062
|
+
export { type PixelFilterSpec as $, type GradientOverlayEffect as A, BIT_DEPTHS as B, type CompositorLayer as C, DEFAULT_GLOBAL_LIGHT as D, type EffectCompositeInput as E, type GradientStyle as F, type GlobalLight as G, type GroupBlendMode as H, type GroupIn as I, INTERPOLATIONS as J, type InnerGlowEffect as K, type InnerShadowEffect as L, type Interpolation as M, LAYER_EFFECT_KINDS as N, type LayerEffect as O, LayerEffectError as P, type LayerEffectKind as Q, type RasterSources as R, type LayerEffects as S, type LayerLocation as T, type LayerLocks as U, MAX_EFFECT_REACH as V, MAX_TRANSFORM_PIXELS as W, type OuterGlowEffect as X, type PatternOverlayEffect as Y, PatternPlacement as Z, PatternTile as _, RasterCompositor as a, tileSamples as a$, type RasterGroupLayer as a0, type RasterLayer as a1, type RasterLayerBase as a2, type RasterMask as a3, type RasterNode as a4, type RasterPixelLayer as a5, type ResampleOptions as a6, STROKE_CHAMFER_MAX as a7, type SatinEffect as a8, type StrokeEffect as a9, gradientT as aA, hasActiveEffects as aB, hashNoise as aC, insertLayer as aD, isBitDepth as aE, isInterpolation as aF, isLayerEffectKind as aG, isLayerLocked as aH, keepDeepSamples as aI, keysWeight as aJ, layerEffectFields as aK, layerEffectLabel as aL, mapLayer as aM, mergeLayerEffect as aN, newEffectId as aO, normalizeLayerEffects as aP, parseEffectColor as aQ, patchEffectMaps as aR, proxyOf as aS, readDeepRegion as aT, reduceSurface as aU, renderLayerEffects as aV, scaleLayerEffect as aW, srgbDecode as aX, srgbEncode as aY, surfaceDepth as aZ, surfaceFromDeepPixels as a_, type StrokePosition as aa, TransformTooLargeError as ab, activeEffectItems as ac, blendTile as ad, buildEffectMaps as ae, builtinPattern as af, builtinPatternIds as ag, changedTiles as ah, compositeLayerEffects as ai, compositeSurfaceOver as aj, contourLut as ak, convertSurfaceDepth as al, deepBytes as am, deepTile as an, defaultEffectGradient as ao, defaultLayerEffect as ap, depthOf as aq, effectColorHex as ar, effectFillColors as as, effectReach as at, effectsAreLocal as au, effectsFingerprint as av, effectsMargin as aw, effectsScale as ax, findLayer as ay, flattenLayers as az, type CompositorProfile as b, tileSamples16 as b0, tileSamples32 as b1, to16From32 as b2, to16From8 as b3, to32From16 as b4, to32From8 as b5, to8From16 as b6, to8From32 as b7, transformSurface as b8, transformedBounds as b9, validateEffectGradient as ba, validateLayerEffect as bb, validateLayerEffects as bc, warpSurface as bd, writeDeepRegion as be, type BevelContour as c, type BevelEmbossEffect as d, type BevelStyle as e, type BevelTechnique as f, type BevelTexture as g, type BitDepth as h, type ColorOverlayEffect as i, type CompositeCallOptions as j, type CompositeStats as k, type CompositorOptions as l, type ContourPoint as m, type DeepSamples as n, type DropShadowEffect as o, type EffectContext as p, type EffectContour as q, type EffectFill as r, type EffectGradient as s, type EffectMaps as t, type EffectPattern as u, type EffectPatternRef as v, type EffectRect as w, type GlowTechnique as x, type GradientColorStop as y, type GradientOpacityStop as z };
|
|
@@ -916,6 +916,14 @@ declare function surfaceFromDeepPixels(pixels: {
|
|
|
916
916
|
declare function convertSurfaceDepth(surface: TiledSurface, depth: BitDepth): TiledSurface;
|
|
917
917
|
/** Bytes held by deep samples (in addition to `surfaceBytes`). */
|
|
918
918
|
declare function deepBytes(surface: TiledSurface): number;
|
|
919
|
+
/**
|
|
920
|
+
* `after` (a surface an 8-bit operation rewrote from `before`) with the deep samples kept where
|
|
921
|
+
* the operation left a pixel's 8-bit value alone: a rewritten tile of a deep surface becomes deep
|
|
922
|
+
* again, its unchanged pixels taking `before`'s samples and its changed ones the 8-bit result
|
|
923
|
+
* lifted to the depth. The result renders exactly as `after` does, so it is never worse than the
|
|
924
|
+
* 8-bit path, and an untouched area of a filtered, smudged or cloned 16-bit layer keeps 16 bits.
|
|
925
|
+
*/
|
|
926
|
+
declare function keepDeepSamples(before: TiledSurface, after: TiledSurface): TiledSurface;
|
|
919
927
|
|
|
920
928
|
/**
|
|
921
929
|
* CPU renderer for layer effects.
|
|
@@ -1051,4 +1059,4 @@ declare function renderLayerEffects(effects: LayerEffects, layer: {
|
|
|
1051
1059
|
fillOpacity?: number;
|
|
1052
1060
|
}, backdrop: Uint8ClampedArray, canvas: EffectRect, ctx: EffectContext): void;
|
|
1053
1061
|
|
|
1054
|
-
export { type PixelFilterSpec as $, type GradientOverlayEffect as A, BIT_DEPTHS as B, type CompositorLayer as C, DEFAULT_GLOBAL_LIGHT as D, type EffectCompositeInput as E, type GradientStyle as F, type GlobalLight as G, type GroupBlendMode as H, type GroupIn as I, INTERPOLATIONS as J, type InnerGlowEffect as K, type InnerShadowEffect as L, type Interpolation as M, LAYER_EFFECT_KINDS as N, type LayerEffect as O, LayerEffectError as P, type LayerEffectKind as Q, type RasterSources as R, type LayerEffects as S, type LayerLocation as T, type LayerLocks as U, MAX_EFFECT_REACH as V, MAX_TRANSFORM_PIXELS as W, type OuterGlowEffect as X, type PatternOverlayEffect as Y, PatternPlacement as Z, PatternTile as _, RasterCompositor as a,
|
|
1062
|
+
export { type PixelFilterSpec as $, type GradientOverlayEffect as A, BIT_DEPTHS as B, type CompositorLayer as C, DEFAULT_GLOBAL_LIGHT as D, type EffectCompositeInput as E, type GradientStyle as F, type GlobalLight as G, type GroupBlendMode as H, type GroupIn as I, INTERPOLATIONS as J, type InnerGlowEffect as K, type InnerShadowEffect as L, type Interpolation as M, LAYER_EFFECT_KINDS as N, type LayerEffect as O, LayerEffectError as P, type LayerEffectKind as Q, type RasterSources as R, type LayerEffects as S, type LayerLocation as T, type LayerLocks as U, MAX_EFFECT_REACH as V, MAX_TRANSFORM_PIXELS as W, type OuterGlowEffect as X, type PatternOverlayEffect as Y, PatternPlacement as Z, PatternTile as _, RasterCompositor as a, tileSamples as a$, type RasterGroupLayer as a0, type RasterLayer as a1, type RasterLayerBase as a2, type RasterMask as a3, type RasterNode as a4, type RasterPixelLayer as a5, type ResampleOptions as a6, STROKE_CHAMFER_MAX as a7, type SatinEffect as a8, type StrokeEffect as a9, gradientT as aA, hasActiveEffects as aB, hashNoise as aC, insertLayer as aD, isBitDepth as aE, isInterpolation as aF, isLayerEffectKind as aG, isLayerLocked as aH, keepDeepSamples as aI, keysWeight as aJ, layerEffectFields as aK, layerEffectLabel as aL, mapLayer as aM, mergeLayerEffect as aN, newEffectId as aO, normalizeLayerEffects as aP, parseEffectColor as aQ, patchEffectMaps as aR, proxyOf as aS, readDeepRegion as aT, reduceSurface as aU, renderLayerEffects as aV, scaleLayerEffect as aW, srgbDecode as aX, srgbEncode as aY, surfaceDepth as aZ, surfaceFromDeepPixels as a_, type StrokePosition as aa, TransformTooLargeError as ab, activeEffectItems as ac, blendTile as ad, buildEffectMaps as ae, builtinPattern as af, builtinPatternIds as ag, changedTiles as ah, compositeLayerEffects as ai, compositeSurfaceOver as aj, contourLut as ak, convertSurfaceDepth as al, deepBytes as am, deepTile as an, defaultEffectGradient as ao, defaultLayerEffect as ap, depthOf as aq, effectColorHex as ar, effectFillColors as as, effectReach as at, effectsAreLocal as au, effectsFingerprint as av, effectsMargin as aw, effectsScale as ax, findLayer as ay, flattenLayers as az, type CompositorProfile as b, tileSamples16 as b0, tileSamples32 as b1, to16From32 as b2, to16From8 as b3, to32From16 as b4, to32From8 as b5, to8From16 as b6, to8From32 as b7, transformSurface as b8, transformedBounds as b9, validateEffectGradient as ba, validateLayerEffect as bb, validateLayerEffects as bc, warpSurface as bd, writeDeepRegion as be, type BevelContour as c, type BevelEmbossEffect as d, type BevelStyle as e, type BevelTechnique as f, type BevelTexture as g, type BitDepth as h, type ColorOverlayEffect as i, type CompositeCallOptions as j, type CompositeStats as k, type CompositorOptions as l, type ContourPoint as m, type DeepSamples as n, type DropShadowEffect as o, type EffectContext as p, type EffectContour as q, type EffectFill as r, type EffectGradient as s, type EffectMaps as t, type EffectPattern as u, type EffectPatternRef as v, type EffectRect as w, type GlowTechnique as x, type GradientColorStop as y, type GradientOpacityStop as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as BezierPath, A as AffineMatrix, S as SvgGradientDef } from './bezier-BfwIbVTl.cjs';
|
|
2
|
-
import { V as VectorEffectType, a as VectorEffectParamsMap, b as VectorPathNode, c as VectorFillRule, d as VectorBooleanOperation, e as VectorNode, f as VectorEffect, g as VectorGroupNode, h as VectorBounds, i as VectorWarpMesh, j as VectorInstanceNode, k as VectorFilterType, l as VectorFilterParamsMap, m as VectorFilter, n as VectorGradient, o as Vec2, p as VectorGradientUnits, q as VectorGradientSpread, r as VectorGradientType, s as VectorPaint, t as VectorMatrix, u as VectorGradientStop, v as VectorStrokeAlign, w as VectorSubpath, x as VectorDocument, y as VectorWidthPoint } from './types-
|
|
2
|
+
import { V as VectorEffectType, a as VectorEffectParamsMap, b as VectorPathNode, c as VectorFillRule, d as VectorBooleanOperation, e as VectorNode, f as VectorEffect, g as VectorGroupNode, h as VectorBounds, i as VectorWarpMesh, j as VectorInstanceNode, k as VectorFilterType, l as VectorFilterParamsMap, m as VectorFilter, n as VectorGradient, o as Vec2, p as VectorGradientUnits, q as VectorGradientSpread, r as VectorGradientType, s as VectorPaint, t as VectorMatrix, u as VectorGradientStop, v as VectorStrokeAlign, w as VectorSubpath, x as VectorDocument, y as VectorWidthPoint } from './types-Tfly4Aya.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Live appearance: path effect stacks and live boolean groups, evaluated on demand while the
|
|
@@ -665,4 +665,4 @@ declare function parseSvgTransform(value: string | undefined): AffineMatrix;
|
|
|
665
665
|
/** Parses SVG markup into a vector document. Throws when there is no `<svg>` element. */
|
|
666
666
|
declare function parseVectorSvg(svg: string, options?: VectorSvgImportOptions): VectorDocument;
|
|
667
667
|
|
|
668
|
-
export { isVectorGradient as $, type
|
|
668
|
+
export { isVectorGradient as $, type VectorSvgImportOptions as A, type VectorSvgWrapper as B, activeVectorEffects as C, activeVectorFilters as D, applyVectorCornersAttribute as E, applyVectorEffects as F, applyVectorGradientPatch as G, applyVectorGradientSpread as H, clearVectorLiveBooleanCache as I, convertVectorGradient as J, createVectorEffect as K, createVectorFilter as L, defaultVectorGradient as M, expandVectorAppearance as N, expandVectorAppearances as O, expandVectorGradientSpread as P, expandVectorGradientStops as Q, explicitVectorGradient as R, foldVectorBooleanOperands as S, gradientMidpointRemap as T, hasExplicitGradientGeometry as U, type VectorSvgExportOptions as V, hasOwnVectorAppearance as W, hasVectorAppearance as X, insertVectorGradientStop as Y, isCentredVectorGradient as Z, isVectorFilterType as _, type VectorGradientHandle as a, vectorNodeLocalPaintBounds as a$, isVectorLiveBoolean as a0, mapVectorGradient as a1, mapVectorPaint as a2, moveVectorGradientHandle as a3, moveVectorGradientStop as a4, normalizeVectorEffectParams as a5, normalizeVectorFilterParams as a6, parseSvgTransform as a7, parseVectorColor as a8, parseVectorSvg as a9, vectorEffectInputPaths as aA, vectorEnteredGroups as aB, vectorEnvelopeFrame as aC, vectorEnvelopeMap as aD, vectorEnvelopeMesh as aE, vectorFilterMarkup as aF, vectorFilterParamKeys as aG, vectorFilterReach as aH, vectorFilterSvg as aI, vectorGradientArea as aJ, vectorGradientAspect as aK, vectorGradientFocalParam as aL, vectorGradientHandles as aM, vectorGradientMatrix as aN, vectorGradientMidpointFromPosition as aO, vectorGradientMidpointPosition as aP, vectorGradientNeedsExpansion as aQ, vectorGradientParam as aR, vectorGradientPoints as aS, vectorGradientRamp as aT, vectorGradientSvgDefs as aU, vectorGradientTAt as aV, vectorGradientUnitsMatrix as aW, vectorInstanceDrawn as aX, vectorLiveBooleanSteps as aY, vectorNodeEnvelope as aZ, vectorNodeFilterSvg as a_, patternAttrs as aa, periodicVectorGradientStops as ab, pinVectorGradient as ac, removeVectorGradientStop as ad, reverseVectorGradient as ae, samplePlainStops as af, sampleVectorGradient as ag, sampleVectorGradientAt as ah, sampleVectorPaintDefAt as ai, sanitizeVectorEffects as aj, sanitizeVectorFilters as ak, sanitizeVectorGradient as al, setVectorGradientVector as am, sortedVectorGradientStops as an, spanVectorGradientStops as ao, transformVectorEffects as ap, transformVectorGradient as aq, transformVectorPaint as ar, vectorAppearanceNodes as as, vectorAppearanceOutline as at, vectorAppearanceShapes as au, vectorBoxMatrix as av, vectorChildAppearanceShapes as aw, vectorCornersAttribute as ax, vectorDocumentToSvg as ay, vectorEffectInputBounds as az, type VectorGradientPatch as b, vectorOperandOperation as b0, vectorPaintToSvg as b1, vectorPathLocalBounds as b2, vectorStrokeSvgParts as b3, widthProfileFromAttribute as b4, widthProfileToAttribute as b5, type VectorEnvelopeParams as c, type VectorRenderFilter as d, type VectorAppearanceShape as e, type VectorFilterParamSpec as f, type VectorEffectParamSpec as g, type VectorRenderStrokeParts as h, type VectorPaintDef as i, type VectorRgba as j, type VectorSvgPatternDef as k, VECTOR_EFFECT_DEFAULTS as l, VECTOR_EFFECT_LABELS as m, VECTOR_EFFECT_PARAM_SPECS as n, VECTOR_FILTER_DEFAULTS as o, VECTOR_FILTER_LABELS as p, VECTOR_FILTER_MENU as q, VECTOR_FILTER_PARAM_SPECS as r, VECTOR_GRADIENT_MAX_PERIODS as s, VECTOR_GRADIENT_MIN_STOPS as t, type VectorBooleanOperand as u, type VectorFilterPrimitive as v, type VectorGradientPoints as w, type VectorGradientRamp as x, type VectorGradientSvgOptions as y, type VectorPaintSvgOptions as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as BezierPath, A as AffineMatrix, S as SvgGradientDef } from './bezier-DYBvLgUH.js';
|
|
2
|
-
import { V as VectorEffectType, a as VectorEffectParamsMap, b as VectorPathNode, c as VectorFillRule, d as VectorBooleanOperation, e as VectorNode, f as VectorEffect, g as VectorGroupNode, h as VectorBounds, i as VectorWarpMesh, j as VectorInstanceNode, k as VectorFilterType, l as VectorFilterParamsMap, m as VectorFilter, n as VectorGradient, o as Vec2, p as VectorGradientUnits, q as VectorGradientSpread, r as VectorGradientType, s as VectorPaint, t as VectorMatrix, u as VectorGradientStop, v as VectorStrokeAlign, w as VectorSubpath, x as VectorDocument, y as VectorWidthPoint } from './types-
|
|
2
|
+
import { V as VectorEffectType, a as VectorEffectParamsMap, b as VectorPathNode, c as VectorFillRule, d as VectorBooleanOperation, e as VectorNode, f as VectorEffect, g as VectorGroupNode, h as VectorBounds, i as VectorWarpMesh, j as VectorInstanceNode, k as VectorFilterType, l as VectorFilterParamsMap, m as VectorFilter, n as VectorGradient, o as Vec2, p as VectorGradientUnits, q as VectorGradientSpread, r as VectorGradientType, s as VectorPaint, t as VectorMatrix, u as VectorGradientStop, v as VectorStrokeAlign, w as VectorSubpath, x as VectorDocument, y as VectorWidthPoint } from './types-CDLGhAZp.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Live appearance: path effect stacks and live boolean groups, evaluated on demand while the
|
|
@@ -665,4 +665,4 @@ declare function parseSvgTransform(value: string | undefined): AffineMatrix;
|
|
|
665
665
|
/** Parses SVG markup into a vector document. Throws when there is no `<svg>` element. */
|
|
666
666
|
declare function parseVectorSvg(svg: string, options?: VectorSvgImportOptions): VectorDocument;
|
|
667
667
|
|
|
668
|
-
export { isVectorGradient as $, type
|
|
668
|
+
export { isVectorGradient as $, type VectorSvgImportOptions as A, type VectorSvgWrapper as B, activeVectorEffects as C, activeVectorFilters as D, applyVectorCornersAttribute as E, applyVectorEffects as F, applyVectorGradientPatch as G, applyVectorGradientSpread as H, clearVectorLiveBooleanCache as I, convertVectorGradient as J, createVectorEffect as K, createVectorFilter as L, defaultVectorGradient as M, expandVectorAppearance as N, expandVectorAppearances as O, expandVectorGradientSpread as P, expandVectorGradientStops as Q, explicitVectorGradient as R, foldVectorBooleanOperands as S, gradientMidpointRemap as T, hasExplicitGradientGeometry as U, type VectorSvgExportOptions as V, hasOwnVectorAppearance as W, hasVectorAppearance as X, insertVectorGradientStop as Y, isCentredVectorGradient as Z, isVectorFilterType as _, type VectorGradientHandle as a, vectorNodeLocalPaintBounds as a$, isVectorLiveBoolean as a0, mapVectorGradient as a1, mapVectorPaint as a2, moveVectorGradientHandle as a3, moveVectorGradientStop as a4, normalizeVectorEffectParams as a5, normalizeVectorFilterParams as a6, parseSvgTransform as a7, parseVectorColor as a8, parseVectorSvg as a9, vectorEffectInputPaths as aA, vectorEnteredGroups as aB, vectorEnvelopeFrame as aC, vectorEnvelopeMap as aD, vectorEnvelopeMesh as aE, vectorFilterMarkup as aF, vectorFilterParamKeys as aG, vectorFilterReach as aH, vectorFilterSvg as aI, vectorGradientArea as aJ, vectorGradientAspect as aK, vectorGradientFocalParam as aL, vectorGradientHandles as aM, vectorGradientMatrix as aN, vectorGradientMidpointFromPosition as aO, vectorGradientMidpointPosition as aP, vectorGradientNeedsExpansion as aQ, vectorGradientParam as aR, vectorGradientPoints as aS, vectorGradientRamp as aT, vectorGradientSvgDefs as aU, vectorGradientTAt as aV, vectorGradientUnitsMatrix as aW, vectorInstanceDrawn as aX, vectorLiveBooleanSteps as aY, vectorNodeEnvelope as aZ, vectorNodeFilterSvg as a_, patternAttrs as aa, periodicVectorGradientStops as ab, pinVectorGradient as ac, removeVectorGradientStop as ad, reverseVectorGradient as ae, samplePlainStops as af, sampleVectorGradient as ag, sampleVectorGradientAt as ah, sampleVectorPaintDefAt as ai, sanitizeVectorEffects as aj, sanitizeVectorFilters as ak, sanitizeVectorGradient as al, setVectorGradientVector as am, sortedVectorGradientStops as an, spanVectorGradientStops as ao, transformVectorEffects as ap, transformVectorGradient as aq, transformVectorPaint as ar, vectorAppearanceNodes as as, vectorAppearanceOutline as at, vectorAppearanceShapes as au, vectorBoxMatrix as av, vectorChildAppearanceShapes as aw, vectorCornersAttribute as ax, vectorDocumentToSvg as ay, vectorEffectInputBounds as az, type VectorGradientPatch as b, vectorOperandOperation as b0, vectorPaintToSvg as b1, vectorPathLocalBounds as b2, vectorStrokeSvgParts as b3, widthProfileFromAttribute as b4, widthProfileToAttribute as b5, type VectorEnvelopeParams as c, type VectorRenderFilter as d, type VectorAppearanceShape as e, type VectorFilterParamSpec as f, type VectorEffectParamSpec as g, type VectorRenderStrokeParts as h, type VectorPaintDef as i, type VectorRgba as j, type VectorSvgPatternDef as k, VECTOR_EFFECT_DEFAULTS as l, VECTOR_EFFECT_LABELS as m, VECTOR_EFFECT_PARAM_SPECS as n, VECTOR_FILTER_DEFAULTS as o, VECTOR_FILTER_LABELS as p, VECTOR_FILTER_MENU as q, VECTOR_FILTER_PARAM_SPECS as r, VECTOR_GRADIENT_MAX_PERIODS as s, VECTOR_GRADIENT_MIN_STOPS as t, type VectorBooleanOperand as u, type VectorFilterPrimitive as v, type VectorGradientPoints as w, type VectorGradientRamp as x, type VectorGradientSvgOptions as y, type VectorPaintSvgOptions as z };
|
|
@@ -151,7 +151,45 @@ interface VectorGradient {
|
|
|
151
151
|
strokeMode?: VectorStrokeGradientMode;
|
|
152
152
|
}
|
|
153
153
|
/** A fill or stroke: any CSS colour, a gradient, or `null` / `'none'` for no paint. */
|
|
154
|
-
type VectorPaint = string | VectorGradient | CanvasGradientDef | null;
|
|
154
|
+
type VectorPaint = string | VectorGradient | VectorMeshGradient | VectorFreeformGradient | CanvasGradientDef | null;
|
|
155
|
+
/**
|
|
156
|
+
* A gradient mesh (Illustrator's Gradient Mesh, PDF shading types 6 and 7): a lattice of
|
|
157
|
+
* `(rows + 1) × (columns + 1)` points in the node's own space, row by row, each with a colour.
|
|
158
|
+
* Each cell is a smooth patch whose sides are curves through the lattice and whose colour blends
|
|
159
|
+
* between its four corners. Outside the patches the paint is transparent.
|
|
160
|
+
*/
|
|
161
|
+
interface VectorMeshGradient {
|
|
162
|
+
type: 'mesh';
|
|
163
|
+
rows: number;
|
|
164
|
+
columns: number;
|
|
165
|
+
/** Lattice points, row by row (`(rows + 1) × (columns + 1)` of them). */
|
|
166
|
+
points: Vec2[];
|
|
167
|
+
/** A CSS colour per point. */
|
|
168
|
+
colors: string[];
|
|
169
|
+
/** Opacity per point (0–1, default 1 each). */
|
|
170
|
+
opacities?: number[];
|
|
171
|
+
}
|
|
172
|
+
/** One colour point of a freeform gradient. */
|
|
173
|
+
interface VectorFreeformPoint {
|
|
174
|
+
x: number;
|
|
175
|
+
y: number;
|
|
176
|
+
color: string;
|
|
177
|
+
/** 0–1, default 1. */
|
|
178
|
+
opacity?: number;
|
|
179
|
+
/** Radius of the disc of pure colour round the point, as a fraction of half the box's longer side (0–1, default 0). */
|
|
180
|
+
spread?: number;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* A freeform gradient (Illustrator's Freeform Gradient): colour points placed anywhere in the
|
|
184
|
+
* node's own space, blended across the shape by distance, and optional smooth lines through some
|
|
185
|
+
* of them that carry their colours along their length.
|
|
186
|
+
*/
|
|
187
|
+
interface VectorFreeformGradient {
|
|
188
|
+
type: 'freeform';
|
|
189
|
+
points: VectorFreeformPoint[];
|
|
190
|
+
/** Each line runs smoothly through the points at these indices, in order. */
|
|
191
|
+
lines?: number[][];
|
|
192
|
+
}
|
|
155
193
|
type VectorFillRule = 'nonzero' | 'evenodd';
|
|
156
194
|
type VectorLineCap = 'butt' | 'round' | 'square';
|
|
157
195
|
type VectorLineJoin = 'miter' | 'round' | 'bevel';
|
|
@@ -896,4 +934,4 @@ type VectorFilter = {
|
|
|
896
934
|
};
|
|
897
935
|
}[VectorFilterType];
|
|
898
936
|
|
|
899
|
-
export { type VectorAlign as $, type VectorTextNode as A, type VectorAnchorType as B, type VectorCornerKind as C, type VectorViewport as D, type VectorConnectorRoute as E, type VectorConnectorSide as F, type VectorConnectorEnd as G, type VectorConnector as H, type VectorConstraintKind as I, type VectorConstraint as J, type VectorCharacterStyle as K, type VectorTextRun as L, type VectorParagraphStyle as M, type VectorTextFrame as N, type VectorTransformHandle as O, type VectorAnchorRef as P, type VectorPathfinderOperation as Q, type VectorTool as R, type VectorDefaults as S, type VectorTextAlign as T, type VectorStyle as U, type VectorEffectType as V, type VectorHandleRef as W, type VectorSegmentRef as X, type VectorBlendOptions as Y, type VectorModifiers as Z, type VectorBlendMode as _, type VectorEffectParamsMap as a, type VectorDistribute as a0, type VectorArrange as a1, type VectorMaskType as a2, type
|
|
937
|
+
export { type VectorAlign as $, type VectorTextNode as A, type VectorAnchorType as B, type VectorCornerKind as C, type VectorViewport as D, type VectorConnectorRoute as E, type VectorConnectorSide as F, type VectorConnectorEnd as G, type VectorConnector as H, type VectorConstraintKind as I, type VectorConstraint as J, type VectorCharacterStyle as K, type VectorTextRun as L, type VectorParagraphStyle as M, type VectorTextFrame as N, type VectorTransformHandle as O, type VectorAnchorRef as P, type VectorPathfinderOperation as Q, type VectorTool as R, type VectorDefaults as S, type VectorTextAlign as T, type VectorStyle as U, type VectorEffectType as V, type VectorHandleRef as W, type VectorSegmentRef as X, type VectorBlendOptions as Y, type VectorModifiers as Z, type VectorBlendMode as _, type VectorEffectParamsMap as a, type VectorDistribute as a0, type VectorArrange as a1, type VectorMaskType as a2, type VectorFreeformPoint as a3, type VectorMeshGradient as a4, type VectorFreeformGradient as a5, type VectorArrowhead as a6, type VectorResizing as a7, type VectorFrame as a8, type VectorHorizontalResizing as a9, VECTOR_GRADIENT_SPREADS as aA, VECTOR_GRADIENT_TYPES as aB, VECTOR_HORIZONTAL_RESIZING as aC, VECTOR_MASK_TYPES as aD, VECTOR_MERGE_MODES as aE, VECTOR_PATHFINDER_OPERATIONS as aF, VECTOR_PATH_TEXT_BASELINES as aG, VECTOR_STROKE_GRADIENT_MODES as aH, VECTOR_TEXT_ALIGNS as aI, VECTOR_TOOLS as aJ, VECTOR_TRANSFORM_HANDLES as aK, VECTOR_VERTICAL_RESIZING as aL, type VectorCorner as aM, type VectorGeomRef as aN, type VectorLineCap as aO, type VectorPathTextBaseline as aP, type VectorStrokeLayerKind as aQ, type VectorTextRunStyle as aR, type VectorWarpStyle as aS, type VectorVerticalResizing as aa, type VectorMask as ab, type VectorAverageAxis as ac, type VectorSymbol as ad, type VectorParameter as ae, type VectorBlendSpacing as af, type VectorGradientInterpolation as ag, type VectorStrokeGradientMode as ah, type VectorArrowAlign as ai, type VectorPaintLayer as aj, type VectorStrokeLayer as ak, type VectorBlend as al, type VectorMergeMode as am, type VectorLineJoin as an, type VectorStrokeSettings as ao, type VectorInstanceOverrides as ap, VECTOR_ARROWHEADS as aq, VECTOR_BLEND_MODES as ar, VECTOR_BLEND_SPACINGS as as, VECTOR_CONNECTOR_ROUTES as at, VECTOR_CONNECTOR_SIDES as au, VECTOR_CONSTRAINT_KINDS as av, VECTOR_CORNER_KINDS as aw, VECTOR_EFFECT_TYPES as ax, VECTOR_FILTER_TYPES as ay, VECTOR_GRADIENT_INTERPOLATIONS as az, type VectorPathNode as b, type VectorFillRule as c, type VectorBooleanOperation as d, type VectorNode as e, type VectorEffect as f, type VectorGroupNode as g, type VectorBounds as h, type VectorWarpMesh as i, type VectorInstanceNode as j, type VectorFilterType as k, type VectorFilterParamsMap as l, type VectorFilter as m, type VectorGradient as n, type Vec2 as o, type VectorGradientUnits as p, type VectorGradientSpread as q, type VectorGradientType as r, type VectorPaint as s, type VectorMatrix as t, type VectorGradientStop as u, type VectorStrokeAlign as v, type VectorSubpath as w, type VectorDocument as x, type VectorWidthPoint as y, type VectorAnchor as z };
|
|
@@ -151,7 +151,45 @@ interface VectorGradient {
|
|
|
151
151
|
strokeMode?: VectorStrokeGradientMode;
|
|
152
152
|
}
|
|
153
153
|
/** A fill or stroke: any CSS colour, a gradient, or `null` / `'none'` for no paint. */
|
|
154
|
-
type VectorPaint = string | VectorGradient | CanvasGradientDef | null;
|
|
154
|
+
type VectorPaint = string | VectorGradient | VectorMeshGradient | VectorFreeformGradient | CanvasGradientDef | null;
|
|
155
|
+
/**
|
|
156
|
+
* A gradient mesh (Illustrator's Gradient Mesh, PDF shading types 6 and 7): a lattice of
|
|
157
|
+
* `(rows + 1) × (columns + 1)` points in the node's own space, row by row, each with a colour.
|
|
158
|
+
* Each cell is a smooth patch whose sides are curves through the lattice and whose colour blends
|
|
159
|
+
* between its four corners. Outside the patches the paint is transparent.
|
|
160
|
+
*/
|
|
161
|
+
interface VectorMeshGradient {
|
|
162
|
+
type: 'mesh';
|
|
163
|
+
rows: number;
|
|
164
|
+
columns: number;
|
|
165
|
+
/** Lattice points, row by row (`(rows + 1) × (columns + 1)` of them). */
|
|
166
|
+
points: Vec2[];
|
|
167
|
+
/** A CSS colour per point. */
|
|
168
|
+
colors: string[];
|
|
169
|
+
/** Opacity per point (0–1, default 1 each). */
|
|
170
|
+
opacities?: number[];
|
|
171
|
+
}
|
|
172
|
+
/** One colour point of a freeform gradient. */
|
|
173
|
+
interface VectorFreeformPoint {
|
|
174
|
+
x: number;
|
|
175
|
+
y: number;
|
|
176
|
+
color: string;
|
|
177
|
+
/** 0–1, default 1. */
|
|
178
|
+
opacity?: number;
|
|
179
|
+
/** Radius of the disc of pure colour round the point, as a fraction of half the box's longer side (0–1, default 0). */
|
|
180
|
+
spread?: number;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* A freeform gradient (Illustrator's Freeform Gradient): colour points placed anywhere in the
|
|
184
|
+
* node's own space, blended across the shape by distance, and optional smooth lines through some
|
|
185
|
+
* of them that carry their colours along their length.
|
|
186
|
+
*/
|
|
187
|
+
interface VectorFreeformGradient {
|
|
188
|
+
type: 'freeform';
|
|
189
|
+
points: VectorFreeformPoint[];
|
|
190
|
+
/** Each line runs smoothly through the points at these indices, in order. */
|
|
191
|
+
lines?: number[][];
|
|
192
|
+
}
|
|
155
193
|
type VectorFillRule = 'nonzero' | 'evenodd';
|
|
156
194
|
type VectorLineCap = 'butt' | 'round' | 'square';
|
|
157
195
|
type VectorLineJoin = 'miter' | 'round' | 'bevel';
|
|
@@ -896,4 +934,4 @@ type VectorFilter = {
|
|
|
896
934
|
};
|
|
897
935
|
}[VectorFilterType];
|
|
898
936
|
|
|
899
|
-
export { type VectorAlign as $, type VectorTextNode as A, type VectorAnchorType as B, type VectorCornerKind as C, type VectorViewport as D, type VectorConnectorRoute as E, type VectorConnectorSide as F, type VectorConnectorEnd as G, type VectorConnector as H, type VectorConstraintKind as I, type VectorConstraint as J, type VectorCharacterStyle as K, type VectorTextRun as L, type VectorParagraphStyle as M, type VectorTextFrame as N, type VectorTransformHandle as O, type VectorAnchorRef as P, type VectorPathfinderOperation as Q, type VectorTool as R, type VectorDefaults as S, type VectorTextAlign as T, type VectorStyle as U, type VectorEffectType as V, type VectorHandleRef as W, type VectorSegmentRef as X, type VectorBlendOptions as Y, type VectorModifiers as Z, type VectorBlendMode as _, type VectorEffectParamsMap as a, type VectorDistribute as a0, type VectorArrange as a1, type VectorMaskType as a2, type
|
|
937
|
+
export { type VectorAlign as $, type VectorTextNode as A, type VectorAnchorType as B, type VectorCornerKind as C, type VectorViewport as D, type VectorConnectorRoute as E, type VectorConnectorSide as F, type VectorConnectorEnd as G, type VectorConnector as H, type VectorConstraintKind as I, type VectorConstraint as J, type VectorCharacterStyle as K, type VectorTextRun as L, type VectorParagraphStyle as M, type VectorTextFrame as N, type VectorTransformHandle as O, type VectorAnchorRef as P, type VectorPathfinderOperation as Q, type VectorTool as R, type VectorDefaults as S, type VectorTextAlign as T, type VectorStyle as U, type VectorEffectType as V, type VectorHandleRef as W, type VectorSegmentRef as X, type VectorBlendOptions as Y, type VectorModifiers as Z, type VectorBlendMode as _, type VectorEffectParamsMap as a, type VectorDistribute as a0, type VectorArrange as a1, type VectorMaskType as a2, type VectorFreeformPoint as a3, type VectorMeshGradient as a4, type VectorFreeformGradient as a5, type VectorArrowhead as a6, type VectorResizing as a7, type VectorFrame as a8, type VectorHorizontalResizing as a9, VECTOR_GRADIENT_SPREADS as aA, VECTOR_GRADIENT_TYPES as aB, VECTOR_HORIZONTAL_RESIZING as aC, VECTOR_MASK_TYPES as aD, VECTOR_MERGE_MODES as aE, VECTOR_PATHFINDER_OPERATIONS as aF, VECTOR_PATH_TEXT_BASELINES as aG, VECTOR_STROKE_GRADIENT_MODES as aH, VECTOR_TEXT_ALIGNS as aI, VECTOR_TOOLS as aJ, VECTOR_TRANSFORM_HANDLES as aK, VECTOR_VERTICAL_RESIZING as aL, type VectorCorner as aM, type VectorGeomRef as aN, type VectorLineCap as aO, type VectorPathTextBaseline as aP, type VectorStrokeLayerKind as aQ, type VectorTextRunStyle as aR, type VectorWarpStyle as aS, type VectorVerticalResizing as aa, type VectorMask as ab, type VectorAverageAxis as ac, type VectorSymbol as ad, type VectorParameter as ae, type VectorBlendSpacing as af, type VectorGradientInterpolation as ag, type VectorStrokeGradientMode as ah, type VectorArrowAlign as ai, type VectorPaintLayer as aj, type VectorStrokeLayer as ak, type VectorBlend as al, type VectorMergeMode as am, type VectorLineJoin as an, type VectorStrokeSettings as ao, type VectorInstanceOverrides as ap, VECTOR_ARROWHEADS as aq, VECTOR_BLEND_MODES as ar, VECTOR_BLEND_SPACINGS as as, VECTOR_CONNECTOR_ROUTES as at, VECTOR_CONNECTOR_SIDES as au, VECTOR_CONSTRAINT_KINDS as av, VECTOR_CORNER_KINDS as aw, VECTOR_EFFECT_TYPES as ax, VECTOR_FILTER_TYPES as ay, VECTOR_GRADIENT_INTERPOLATIONS as az, type VectorPathNode as b, type VectorFillRule as c, type VectorBooleanOperation as d, type VectorNode as e, type VectorEffect as f, type VectorGroupNode as g, type VectorBounds as h, type VectorWarpMesh as i, type VectorInstanceNode as j, type VectorFilterType as k, type VectorFilterParamsMap as l, type VectorFilter as m, type VectorGradient as n, type Vec2 as o, type VectorGradientUnits as p, type VectorGradientSpread as q, type VectorGradientType as r, type VectorPaint as s, type VectorMatrix as t, type VectorGradientStop as u, type VectorStrokeAlign as v, type VectorSubpath as w, type VectorDocument as x, type VectorWidthPoint as y, type VectorAnchor as z };
|