@pixerate/editor 0.133.0 → 0.135.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/dist/animation-editor/index.cjs +55 -55
- package/dist/animation-editor/index.d.cts +4 -4
- package/dist/animation-editor/index.d.ts +4 -4
- package/dist/animation-editor/index.js +2 -2
- package/dist/{bezier-DL2wPsFf.d.cts → bezier-J8i4uqSH.d.cts} +1 -1
- package/dist/{bezier-BAGdL89w.d.ts → bezier-lNEOp0Jx.d.ts} +1 -1
- package/dist/canvas/index.d.cts +7 -7
- package/dist/canvas/index.d.ts +7 -7
- package/dist/{chunk-VGZSIXX3.js → chunk-7RJ6P7MI.js} +2 -2
- package/dist/{chunk-AOCFL7L7.js → chunk-ESIWZMMK.js} +2 -2
- package/dist/{chunk-FOBB6AIO.js → chunk-HHTCDFZC.js} +97 -5
- package/dist/chunk-HHTCDFZC.js.map +1 -0
- package/dist/{chunk-6CTZAGZ2.js → chunk-ILYFOJUN.js} +56 -1
- package/dist/chunk-ILYFOJUN.js.map +1 -0
- package/dist/{chunk-2QKUD3E2.cjs → chunk-T6TV6HY6.cjs} +36 -36
- package/dist/{chunk-2QKUD3E2.cjs.map → chunk-T6TV6HY6.cjs.map} +1 -1
- package/dist/{chunk-65GNHOD4.cjs → chunk-YAFS2QFZ.cjs} +82 -82
- package/dist/{chunk-65GNHOD4.cjs.map → chunk-YAFS2QFZ.cjs.map} +1 -1
- package/dist/{chunk-NVTHUPJ6.cjs → chunk-YT3JL7YM.cjs} +71 -16
- package/dist/chunk-YT3JL7YM.cjs.map +1 -0
- package/dist/{chunk-F7GGEAO2.cjs → chunk-Z2H7KECK.cjs} +151 -59
- package/dist/chunk-Z2H7KECK.cjs.map +1 -0
- package/dist/effects/index.d.cts +4 -4
- package/dist/effects/index.d.ts +4 -4
- package/dist/{export-BICOEM9d.d.cts → export-AZSwX087.d.cts} +13 -5
- package/dist/{export-XnuX8FZ2.d.ts → export-BDkyDNM8.d.ts} +13 -5
- package/dist/{export-zB4HITwP.d.ts → export-DMeG6E06.d.ts} +1 -1
- package/dist/{export-CeFplzAW.d.cts → export-KzubBKo7.d.cts} +1 -1
- package/dist/{helpers-cssRNUzH.d.ts → helpers-Coa4e2j_.d.ts} +12 -0
- package/dist/{helpers-BuKdqUlM.d.cts → helpers-DHl28yLO.d.cts} +12 -0
- package/dist/image-editor/index.cjs +739 -647
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +26 -11
- package/dist/image-editor/index.d.ts +26 -11
- package/dist/image-editor/index.js +104 -12
- package/dist/image-editor/index.js.map +1 -1
- package/dist/{opentype-C3iyIFRx.d.cts → opentype-BWR7Qv8W.d.cts} +1 -1
- package/dist/{opentype-DG5Lkwul.d.ts → opentype-Dfcx6wFx.d.ts} +1 -1
- package/dist/paint/index.cjs +10 -2
- package/dist/paint/index.cjs.map +1 -1
- package/dist/paint/index.d.cts +2 -2
- package/dist/paint/index.d.ts +2 -2
- package/dist/paint/index.js +9 -1
- package/dist/paint-editor/index.cjs +7 -7
- package/dist/paint-editor/index.d.cts +7 -7
- package/dist/paint-editor/index.d.ts +7 -7
- package/dist/paint-editor/index.js +2 -2
- package/dist/{pathfinder-DKLt4UDG.d.ts → pathfinder-Celbi3e6.d.ts} +1 -1
- package/dist/{pathfinder-8vXik95z.d.cts → pathfinder-D8KQ6blQ.d.cts} +1 -1
- package/dist/{pool-C69pkWRz.d.ts → pool-8JZGWHvR.d.ts} +1 -1
- package/dist/{pool-VAWcYUbs.d.cts → pool-BfuxBKTd.d.cts} +1 -1
- package/dist/{rand-BaqEOs1Y.d.ts → rand-BszBST4s.d.ts} +31 -1
- package/dist/{rand-DdpFzCo6.d.cts → rand-DOH_aMvm.d.cts} +31 -1
- package/dist/{svg-CEYpvsgH.d.ts → svg-CxxqG3_W.d.ts} +2 -2
- package/dist/{svg-BThlZmja.d.cts → svg-pwXWq6s2.d.cts} +2 -2
- package/dist/{tools-CRnZJXXr.d.cts → tools-3EBjR91b.d.cts} +1 -1
- package/dist/{tools-CVGqEpO8.d.ts → tools-y1M6O3UT.d.ts} +1 -1
- package/dist/vector/index.cjs +1292 -1035
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +183 -91
- package/dist/vector/index.d.ts +183 -91
- package/dist/vector/index.js +267 -10
- package/dist/vector/index.js.map +1 -1
- package/dist/video-editor/index.d.cts +4 -4
- package/dist/video-editor/index.d.ts +4 -4
- package/dist/{warp-mKylbLiF.d.ts → warp-C1gwu2G_.d.ts} +1 -1
- package/dist/{warp-ChcFDdlT.d.cts → warp-Ceqdz7kj.d.cts} +1 -1
- package/package.json +1 -1
- package/skills/pixerate-image-editor/SKILL.md +4 -4
- package/skills/pixerate-vector/SKILL.md +18 -54
- package/skills/pixerate-vector/references/pitfalls.md +62 -0
- package/dist/chunk-6CTZAGZ2.js.map +0 -1
- package/dist/chunk-F7GGEAO2.cjs.map +0 -1
- package/dist/chunk-FOBB6AIO.js.map +0 -1
- package/dist/chunk-NVTHUPJ6.cjs.map +0 -1
- /package/dist/{chunk-VGZSIXX3.js.map → chunk-7RJ6P7MI.js.map} +0 -0
- /package/dist/{chunk-AOCFL7L7.js.map → chunk-ESIWZMMK.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { H as Homography, V as Vec2, B as Box, Q as Quad, A as AffineMatrix } from './types-CwMPoRMU.cjs';
|
|
2
|
-
import { T as TextShaper, a as TextFont } from './warp-
|
|
2
|
+
import { T as TextShaper, a as TextFont } from './warp-Ceqdz7kj.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Perspective (projective) maps between quadrilaterals: Free Distort and Perspective in both the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { H as Homography, V as Vec2, B as Box, Q as Quad, A as AffineMatrix } from './types-CwMPoRMU.js';
|
|
2
|
-
import { T as TextShaper, a as TextFont } from './warp-
|
|
2
|
+
import { T as TextShaper, a as TextFont } from './warp-C1gwu2G_.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Perspective (projective) maps between quadrilaterals: Free Distort and Perspective in both the
|
package/dist/paint/index.cjs
CHANGED
|
@@ -32,7 +32,11 @@
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
var _chunkYT3JL7YMcjs = require('../chunk-YT3JL7YM.cjs');
|
|
36
40
|
|
|
37
41
|
|
|
38
42
|
|
|
@@ -457,5 +461,9 @@ require('../chunk-643B2HKC.cjs');
|
|
|
457
461
|
|
|
458
462
|
|
|
459
463
|
|
|
460
|
-
exports.BODY_SCATTER = _chunkFHPVDTI2cjs.BODY_SCATTER; exports.BRUSHSTROKE_MAX_SCALE = _chunkSYPFUL5Bcjs.BRUSHSTROKE_MAX_SCALE; exports.BRUSHSTROKE_MIN_SCALE = _chunkSYPFUL5Bcjs.BRUSHSTROKE_MIN_SCALE; exports.BrushstrokeCache = _chunkZ6OUCS2Kcjs.BrushstrokeCache; exports.CoverageMap = _chunk6GFRKLLScjs.CoverageMap; exports.DEFAULT_BLENDER = _chunk6GFRKLLScjs.DEFAULT_BLENDER; exports.DEFAULT_BRUSH = _chunk6GFRKLLScjs.DEFAULT_BRUSH; exports.DEFAULT_FLOW = _chunkFHPVDTI2cjs.DEFAULT_FLOW; exports.DEFAULT_MIXER = _chunk6GFRKLLScjs.DEFAULT_MIXER; exports.DEFAULT_PAINT_GRADIENT = _chunk6GFRKLLScjs.DEFAULT_PAINT_GRADIENT; exports.DEFAULT_PAINT_GRADIENT_MAPPING = _chunk6GFRKLLScjs.DEFAULT_PAINT_GRADIENT_MAPPING; exports.DEFAULT_RETOUCH = _chunkNVTHUPJ6cjs.DEFAULT_RETOUCH; exports.DEFAULT_SMUDGE = _chunk6GFRKLLScjs.DEFAULT_SMUDGE; exports.DEFAULT_WET_PAPER = _chunkFHPVDTI2cjs.DEFAULT_WET_PAPER; exports.DEFAULT_WET_PARAMS = _chunkFHPVDTI2cjs.DEFAULT_WET_PARAMS; exports.DRY_EPS = _chunkFHPVDTI2cjs.DRY_EPS; exports.DabWalker = _chunk6GFRKLLScjs.DabWalker; exports.EMPTY_MIXER_LOAD = _chunk6GFRKLLScjs.EMPTY_MIXER_LOAD; exports.EX = _chunkFHPVDTI2cjs.EX; exports.EY = _chunkFHPVDTI2cjs.EY; exports.FLAG_ALIVE = _chunkFHPVDTI2cjs.FLAG_ALIVE; exports.FLAG_BOTTOM = _chunkFHPVDTI2cjs.FLAG_BOTTOM; exports.FLAG_LEFT = _chunkFHPVDTI2cjs.FLAG_LEFT; exports.FLAG_RIGHT = _chunkFHPVDTI2cjs.FLAG_RIGHT; exports.FLAG_TOP = _chunkFHPVDTI2cjs.FLAG_TOP; exports.FLAG_WET = _chunkFHPVDTI2cjs.FLAG_WET; exports.FLAT = _chunkFHPVDTI2cjs.FLAT; exports.FREE_INTERVAL = _chunkFHPVDTI2cjs.FREE_INTERVAL; exports.HIDE = _chunkFHPVDTI2cjs.HIDE; exports.MAX_BATCH = _chunkFHPVDTI2cjs.MAX_BATCH; exports.MAX_BRUSH_SIZE = _chunk6GFRKLLScjs.MAX_BRUSH_SIZE; exports.MAX_TILT_ACCEL = _chunkFHPVDTI2cjs.MAX_TILT_ACCEL; exports.MAX_WET_LANES = _chunkFHPVDTI2cjs.MAX_WET_LANES; exports.MAX_WET_SLOTS = _chunkFHPVDTI2cjs.MAX_WET_SLOTS; exports.MIXER_DRAIN = _chunk6GFRKLLScjs.MIXER_DRAIN; exports.MIXER_PICKUP_RATE = _chunk6GFRKLLScjs.MIXER_PICKUP_RATE; exports.MIXING_MODELS = _chunk6GFRKLLScjs.MIXING_MODELS; exports.MixerStroke = _chunk6GFRKLLScjs.MixerStroke; exports.OPP = _chunkFHPVDTI2cjs.OPP; exports.PAINT_COLOR_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_COLOR_JSON_SCHEMA; exports.PAINT_GRADIENT_FULL_SPEED = _chunk6GFRKLLScjs.PAINT_GRADIENT_FULL_SPEED; exports.PAINT_GRADIENT_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_GRADIENT_JSON_SCHEMA; exports.PAINT_GRADIENT_KIT = _chunk6GFRKLLScjs.PAINT_GRADIENT_KIT; exports.PAINT_GRADIENT_MAPPINGS = _chunk6GFRKLLScjs.PAINT_GRADIENT_MAPPINGS; exports.PAINT_GRADIENT_MAPPING_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_MAPPING_LABELS; exports.PAINT_GRADIENT_PRESETS = _chunk6GFRKLLScjs.PAINT_GRADIENT_PRESETS; exports.PAINT_GRADIENT_REPEATS = _chunk6GFRKLLScjs.PAINT_GRADIENT_REPEATS; exports.PAINT_GRADIENT_REPEAT_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_REPEAT_LABELS; exports.PAINT_GRADIENT_SPACES = _chunk6GFRKLLScjs.PAINT_GRADIENT_SPACES; exports.PAINT_GRADIENT_SPACE_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_SPACE_LABELS; exports.PAINT_SOURCE_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_SOURCE_JSON_SCHEMA; exports.PAPER_CAPACITY = _chunkFHPVDTI2cjs.PAPER_CAPACITY; exports.PARAM = _chunkFHPVDTI2cjs.PARAM; exports.PARAM_FLOATS = _chunkFHPVDTI2cjs.PARAM_FLOATS; exports.PIGMENT_BANDS = _chunkJ5BA3BQ6cjs.PIGMENT_BANDS; exports.PIGMENT_CHANNELS = _chunkFHPVDTI2cjs.PIGMENT_CHANNELS; exports.PIGMENT_LAMBDA_MIN = _chunkJ5BA3BQ6cjs.PIGMENT_LAMBDA_MIN; exports.PIGMENT_LAMBDA_STEP = _chunkJ5BA3BQ6cjs.PIGMENT_LAMBDA_STEP; exports.PIGMENT_UNIT = _chunkFHPVDTI2cjs.PIGMENT_UNIT; exports.PIGMENT_WAVELENGTHS = _chunkJ5BA3BQ6cjs.PIGMENT_WAVELENGTHS; exports.PLANE = _chunkFHPVDTI2cjs.PLANE; exports.PLANE_BYTES = _chunkFHPVDTI2cjs.PLANE_BYTES; exports.P_D0 = _chunkFHPVDTI2cjs.P_D0; exports.P_EDGE = _chunkFHPVDTI2cjs.P_EDGE; exports.P_FX = _chunkFHPVDTI2cjs.P_FX; exports.P_FY = _chunkFHPVDTI2cjs.P_FY; exports.P_H = _chunkFHPVDTI2cjs.P_H; exports.P_P0 = _chunkFHPVDTI2cjs.P_P0; exports.P_RHO = _chunkFHPVDTI2cjs.P_RHO; exports.P_SW = _chunkFHPVDTI2cjs.P_SW; exports.P_UX = _chunkFHPVDTI2cjs.P_UX; exports.P_UY = _chunkFHPVDTI2cjs.P_UY; exports.PaintExchange = _chunk6GFRKLLScjs.PaintExchange; exports.PaintGradientSampler = _chunk6GFRKLLScjs.PaintGradientSampler; exports.PaintSourceError = _chunk6GFRKLLScjs.PaintSourceError; exports.RETOUCH_SAMPLES = _chunkNVTHUPJ6cjs.RETOUCH_SAMPLES; exports.RegionPixelSource = _chunkNVTHUPJ6cjs.RegionPixelSource; exports.RetouchDabStroke = _chunkNVTHUPJ6cjs.RetouchDabStroke; exports.SET_PLANES = _chunkFHPVDTI2cjs.SET_PLANES; exports.SLOT_BYTES = _chunkFHPVDTI2cjs.SLOT_BYTES; exports.SLOT_PLANES = _chunkFHPVDTI2cjs.SLOT_PLANES; exports.SLOT_SIDE = _chunkFHPVDTI2cjs.SLOT_SIDE; exports.SPOT_HEAL_TYPES = _chunkNVTHUPJ6cjs.SPOT_HEAL_TYPES; exports.SRGB_TO_LINEAR = _chunkFHPVDTI2cjs.SRGB_TO_LINEAR; exports.STRIP = _chunkFHPVDTI2cjs.STRIP; exports.SmudgeTip = _chunk6GFRKLLScjs.SmudgeTip; exports.StrokeCoverage = _chunk6GFRKLLScjs.StrokeCoverage; exports.TIP_GRADIENT_STEPS = _chunk6GFRKLLScjs.TIP_GRADIENT_STEPS; exports.TONE_RANGES = _chunkNVTHUPJ6cjs.TONE_RANGES; exports.TileMedium = _chunk6GFRKLLScjs.TileMedium; exports.TilePixelSource = _chunkNVTHUPJ6cjs.TilePixelSource; exports.U_MAX = _chunkFHPVDTI2cjs.U_MAX; exports.W9 = _chunkFHPVDTI2cjs.W9; exports.WET_FLOW_KINDS = _chunkFHPVDTI2cjs.WET_FLOW_KINDS; exports.WET_PARAM_KEYS = _chunkFHPVDTI2cjs.WET_PARAM_KEYS; exports.WET_TILE = _chunkFHPVDTI2cjs.WET_TILE; exports.WGSL_HALO = _chunkFHPVDTI2cjs.WGSL_HALO; exports.WGSL_SHADE = _chunkFHPVDTI2cjs.WGSL_SHADE; exports.WGSL_STEP = _chunkFHPVDTI2cjs.WGSL_STEP; exports.WetGpuEngine = _chunkFHPVDTI2cjs.WetGpuEngine; exports.WetMedium = _chunkFHPVDTI2cjs.WetMedium; exports.WetWorkerPool = _chunkFHPVDTI2cjs.WetWorkerPool; exports.WetWorld = _chunkFHPVDTI2cjs.WetWorld; exports.WetWorldError = _chunkFHPVDTI2cjs.WetWorldError; exports.addPaintGradientStop = _chunk6GFRKLLScjs.addPaintGradientStop; exports.applyRetouchToTile = _chunkNVTHUPJ6cjs.applyRetouchToTile; exports.applyStrokeToDeepTile = _chunk6GFRKLLScjs.applyStrokeToDeepTile; exports.applyStrokeToTile = _chunk6GFRKLLScjs.applyStrokeToTile; exports.applyToneToDeepTile = _chunkNVTHUPJ6cjs.applyToneToDeepTile; exports.bestOffset = _chunkNVTHUPJ6cjs.bestOffset; exports.blendRadius = _chunk6GFRKLLScjs.blendRadius; exports.blenderDab = _chunk6GFRKLLScjs.blenderDab; exports.boxBlurPixels = _chunkNVTHUPJ6cjs.boxBlurPixels; exports.brushstrokeDataUrl = _chunkZ6OUCS2Kcjs.brushstrokeDataUrl; exports.brushstrokeKey = _chunkZ6OUCS2Kcjs.brushstrokeKey; exports.brushstrokeSamples = _chunkZ6OUCS2Kcjs.brushstrokeSamples; exports.brushstrokeScaleBucket = _chunkSYPFUL5Bcjs.brushstrokeScaleBucket; exports.brushstrokeStrokeOptions = _chunkZ6OUCS2Kcjs.brushstrokeStrokeOptions; exports.brushstrokeToCanvas = _chunkZ6OUCS2Kcjs.brushstrokeToCanvas; exports.canShareMemory = _chunkFHPVDTI2cjs.canShareMemory; exports.cleanMixer = _chunk6GFRKLLScjs.cleanMixer; exports.contentAwareFill = _chunkNVTHUPJ6cjs.contentAwareFill; exports.coverageTileCoord = _chunk6GFRKLLScjs.coverageTileCoord; exports.createBlenderScratch = _chunk6GFRKLLScjs.createBlenderScratch; exports.createPigment = _chunkJ5BA3BQ6cjs.createPigment; exports.createPigmentTools = _chunkFHPVDTI2cjs.createPigmentTools; exports.createWetGpuEngine = _chunkFHPVDTI2cjs.createWetGpuEngine; exports.dabCoverage = _chunk6GFRKLLScjs.dabCoverage; exports.dabRect = _chunk6GFRKLLScjs.dabRect; exports.dexp = _chunkFHPVDTI2cjs.dexp; exports.dilateMask = _chunkNVTHUPJ6cjs.dilateMask; exports.dlog = _chunkFHPVDTI2cjs.dlog; exports.dodgeBurn = _chunkNVTHUPJ6cjs.dodgeBurn; exports.dodgeBurnCurve = _chunkNVTHUPJ6cjs.dodgeBurnCurve; exports.dpow = _chunkFHPVDTI2cjs.dpow; exports.dsincos = _chunkFHPVDTI2cjs.dsincos; exports.edgeBits = _chunkFHPVDTI2cjs.edgeBits; exports.exchangeRates = _chunk6GFRKLLScjs.exchangeRates; exports.expNeg = _chunkFHPVDTI2cjs.expNeg; exports.filmPixel = _chunkFHPVDTI2cjs.filmPixel; exports.filmReflectance = _chunkFHPVDTI2cjs.filmReflectance; exports.findWebGpu = _chunkFHPVDTI2cjs.findWebGpu; exports.flowField = _chunkFHPVDTI2cjs.flowField; exports.gradientDabColor = _chunk6GFRKLLScjs.gradientDabColor; exports.hash2 = _chunk6GFRKLLScjs.hash2; exports.healPixels = _chunkNVTHUPJ6cjs.healPixels; exports.hexToPaintRgb = _chunk6GFRKLLScjs.hexToPaintRgb; exports.isBrushstrokeBrush = _chunkZ6OUCS2Kcjs.isBrushstrokeBrush; exports.isGradientPaint = _chunk6GFRKLLScjs.isGradientPaint; exports.latticeViscosity = _chunkFHPVDTI2cjs.latticeViscosity; exports.lerpPigment = _chunkJ5BA3BQ6cjs.lerpPigment; exports.lerpPigmentInto = _chunkJ5BA3BQ6cjs.lerpPigmentInto; exports.linearToSrgb8 = _chunkFHPVDTI2cjs.linearToSrgb8; exports.loadMixer = _chunk6GFRKLLScjs.loadMixer; exports.loadWetKernel = _chunkFHPVDTI2cjs.loadWetKernel; exports.luma = _chunkNVTHUPJ6cjs.luma; exports.maskBounds = _chunkNVTHUPJ6cjs.maskBounds; exports.membraneFill = _chunkNVTHUPJ6cjs.membraneFill; exports.mix32 = _chunk6GFRKLLScjs.mix32; exports.mixPigments = _chunkJ5BA3BQ6cjs.mixPigments; exports.mixerRates = _chunk6GFRKLLScjs.mixerRates; exports.normalizeBlender = _chunk6GFRKLLScjs.normalizeBlender; exports.normalizeBrush = _chunk6GFRKLLScjs.normalizeBrush; exports.normalizeFlow = _chunkFHPVDTI2cjs.normalizeFlow; exports.normalizeHexColor = _chunk6GFRKLLScjs.normalizeHexColor; exports.normalizeMixer = _chunk6GFRKLLScjs.normalizeMixer; exports.normalizeRetouch = _chunkNVTHUPJ6cjs.normalizeRetouch; exports.normalizeSmudge = _chunk6GFRKLLScjs.normalizeSmudge; exports.normalizeTilt = _chunkFHPVDTI2cjs.normalizeTilt; exports.normalizeWetParams = _chunkFHPVDTI2cjs.normalizeWetParams; exports.packWetParams = _chunkFHPVDTI2cjs.packWetParams; exports.paintGradientMappingFor = _chunk6GFRKLLScjs.paintGradientMappingFor; exports.paintPathStroke = _chunkZ6OUCS2Kcjs.paintPathStroke; exports.paintSourceColor = _chunk6GFRKLLScjs.paintSourceColor; exports.paintSourceCss = _chunk6GFRKLLScjs.paintSourceCss; exports.parsePaintSource = _chunk6GFRKLLScjs.parsePaintSource; exports.pathStrokeCoverage = _chunkZ6OUCS2Kcjs.pathStrokeCoverage; exports.pathStrokeDabs = _chunkZ6OUCS2Kcjs.pathStrokeDabs; exports.perDabStrength = _chunkNVTHUPJ6cjs.perDabStrength; exports.pigmentColor = _chunkFHPVDTI2cjs.pigmentColor; exports.pigmentOf = _chunkFHPVDTI2cjs.pigmentOf; exports.pixelPigment = _chunkFHPVDTI2cjs.pixelPigment; exports.pointerPressure = _chunkFHPVDTI2cjs.pointerPressure; exports.pointerStrokeSample = _chunkFHPVDTI2cjs.pointerStrokeSample; exports.pointerStrokeSamples = _chunkFHPVDTI2cjs.pointerStrokeSamples; exports.put255 = _chunk6GFRKLLScjs.put255; exports.rand01 = _chunk6GFRKLLScjs.rand01; exports.rasterizeDab = _chunk6GFRKLLScjs.rasterizeDab; exports.readPaintSource = _chunk6GFRKLLScjs.readPaintSource; exports.readSourceRegion = _chunkNVTHUPJ6cjs.readSourceRegion; exports.reflectanceToRgb = _chunkJ5BA3BQ6cjs.reflectanceToRgb; exports.removePaintGradientStop = _chunk6GFRKLLScjs.removePaintGradientStop; exports.renderBrushstroke = _chunkZ6OUCS2Kcjs.renderBrushstroke; exports.resolvePaintGradient = _chunk6GFRKLLScjs.resolvePaintGradient; exports.retouchFilter = _chunkNVTHUPJ6cjs.retouchFilter; exports.reversePaintGradient = _chunk6GFRKLLScjs.reversePaintGradient; exports.rgbToReflectance = _chunkJ5BA3BQ6cjs.rgbToReflectance; exports.rgbaViewOfGrey = _chunkNVTHUPJ6cjs.rgbaViewOfGrey; exports.saturationOf = _chunkNVTHUPJ6cjs.saturationOf; exports.scalePaintGradient = _chunk6GFRKLLScjs.scalePaintGradient; exports.seamlessClone = _chunkNVTHUPJ6cjs.seamlessClone; exports.setPigmentColor = _chunkJ5BA3BQ6cjs.setPigmentColor; exports.shadeTile = _chunkFHPVDTI2cjs.shadeTile; exports.smoothPoints = _chunk6GFRKLLScjs.smoothPoints; exports.smudgeEffect = _chunkNVTHUPJ6cjs.smudgeEffect; exports.solidPaint = _chunk6GFRKLLScjs.solidPaint; exports.solveMembrane = _chunkNVTHUPJ6cjs.solveMembrane; exports.sponge = _chunkNVTHUPJ6cjs.sponge; exports.spongeEffect = _chunkNVTHUPJ6cjs.spongeEffect; exports.spotHealPixels = _chunkNVTHUPJ6cjs.spotHealPixels; exports.spotHealWindow = _chunkNVTHUPJ6cjs.spotHealWindow; exports.srgbByteToLinear = _chunkFHPVDTI2cjs.srgbByteToLinear; exports.stepSlotTs = _chunkFHPVDTI2cjs.stepSlotTs; exports.tipFalloff = _chunk6GFRKLLScjs.tipFalloff; exports.tipReach = _chunk6GFRKLLScjs.tipReach; exports.tipShape = _chunk6GFRKLLScjs.tipShape; exports.toneOf = _chunkNVTHUPJ6cjs.toneOf; exports.updatePaintGradientStop = _chunk6GFRKLLScjs.updatePaintGradientStop; exports.walkDabs = _chunk6GFRKLLScjs.walkDabs; exports.wetGpuSupport = _chunkFHPVDTI2cjs.wetGpuSupport; exports.wetSimdSupported = _chunkFHPVDTI2cjs.wetSimdSupported; exports.wetSupport = _chunkFHPVDTI2cjs.wetSupport;
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
exports.BODY_SCATTER = _chunkFHPVDTI2cjs.BODY_SCATTER; exports.BRUSHSTROKE_MAX_SCALE = _chunkSYPFUL5Bcjs.BRUSHSTROKE_MAX_SCALE; exports.BRUSHSTROKE_MIN_SCALE = _chunkSYPFUL5Bcjs.BRUSHSTROKE_MIN_SCALE; exports.BrushstrokeCache = _chunkZ6OUCS2Kcjs.BrushstrokeCache; exports.CoverageMap = _chunk6GFRKLLScjs.CoverageMap; exports.DEFAULT_BLENDER = _chunk6GFRKLLScjs.DEFAULT_BLENDER; exports.DEFAULT_BRUSH = _chunk6GFRKLLScjs.DEFAULT_BRUSH; exports.DEFAULT_FLOW = _chunkFHPVDTI2cjs.DEFAULT_FLOW; exports.DEFAULT_MIXER = _chunk6GFRKLLScjs.DEFAULT_MIXER; exports.DEFAULT_PAINT_GRADIENT = _chunk6GFRKLLScjs.DEFAULT_PAINT_GRADIENT; exports.DEFAULT_PAINT_GRADIENT_MAPPING = _chunk6GFRKLLScjs.DEFAULT_PAINT_GRADIENT_MAPPING; exports.DEFAULT_RETOUCH = _chunkYT3JL7YMcjs.DEFAULT_RETOUCH; exports.DEFAULT_SMUDGE = _chunk6GFRKLLScjs.DEFAULT_SMUDGE; exports.DEFAULT_WET_PAPER = _chunkFHPVDTI2cjs.DEFAULT_WET_PAPER; exports.DEFAULT_WET_PARAMS = _chunkFHPVDTI2cjs.DEFAULT_WET_PARAMS; exports.DRY_EPS = _chunkFHPVDTI2cjs.DRY_EPS; exports.DabWalker = _chunk6GFRKLLScjs.DabWalker; exports.EMPTY_MIXER_LOAD = _chunk6GFRKLLScjs.EMPTY_MIXER_LOAD; exports.EX = _chunkFHPVDTI2cjs.EX; exports.EY = _chunkFHPVDTI2cjs.EY; exports.FLAG_ALIVE = _chunkFHPVDTI2cjs.FLAG_ALIVE; exports.FLAG_BOTTOM = _chunkFHPVDTI2cjs.FLAG_BOTTOM; exports.FLAG_LEFT = _chunkFHPVDTI2cjs.FLAG_LEFT; exports.FLAG_RIGHT = _chunkFHPVDTI2cjs.FLAG_RIGHT; exports.FLAG_TOP = _chunkFHPVDTI2cjs.FLAG_TOP; exports.FLAG_WET = _chunkFHPVDTI2cjs.FLAG_WET; exports.FLAT = _chunkFHPVDTI2cjs.FLAT; exports.FREE_INTERVAL = _chunkFHPVDTI2cjs.FREE_INTERVAL; exports.HIDE = _chunkFHPVDTI2cjs.HIDE; exports.IDENTITY_CLONE_TRANSFORM = _chunkYT3JL7YMcjs.IDENTITY_CLONE_TRANSFORM; exports.MAX_BATCH = _chunkFHPVDTI2cjs.MAX_BATCH; exports.MAX_BRUSH_SIZE = _chunk6GFRKLLScjs.MAX_BRUSH_SIZE; exports.MAX_TILT_ACCEL = _chunkFHPVDTI2cjs.MAX_TILT_ACCEL; exports.MAX_WET_LANES = _chunkFHPVDTI2cjs.MAX_WET_LANES; exports.MAX_WET_SLOTS = _chunkFHPVDTI2cjs.MAX_WET_SLOTS; exports.MIXER_DRAIN = _chunk6GFRKLLScjs.MIXER_DRAIN; exports.MIXER_PICKUP_RATE = _chunk6GFRKLLScjs.MIXER_PICKUP_RATE; exports.MIXING_MODELS = _chunk6GFRKLLScjs.MIXING_MODELS; exports.MixerStroke = _chunk6GFRKLLScjs.MixerStroke; exports.OPP = _chunkFHPVDTI2cjs.OPP; exports.PAINT_COLOR_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_COLOR_JSON_SCHEMA; exports.PAINT_GRADIENT_FULL_SPEED = _chunk6GFRKLLScjs.PAINT_GRADIENT_FULL_SPEED; exports.PAINT_GRADIENT_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_GRADIENT_JSON_SCHEMA; exports.PAINT_GRADIENT_KIT = _chunk6GFRKLLScjs.PAINT_GRADIENT_KIT; exports.PAINT_GRADIENT_MAPPINGS = _chunk6GFRKLLScjs.PAINT_GRADIENT_MAPPINGS; exports.PAINT_GRADIENT_MAPPING_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_MAPPING_LABELS; exports.PAINT_GRADIENT_PRESETS = _chunk6GFRKLLScjs.PAINT_GRADIENT_PRESETS; exports.PAINT_GRADIENT_REPEATS = _chunk6GFRKLLScjs.PAINT_GRADIENT_REPEATS; exports.PAINT_GRADIENT_REPEAT_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_REPEAT_LABELS; exports.PAINT_GRADIENT_SPACES = _chunk6GFRKLLScjs.PAINT_GRADIENT_SPACES; exports.PAINT_GRADIENT_SPACE_LABELS = _chunk6GFRKLLScjs.PAINT_GRADIENT_SPACE_LABELS; exports.PAINT_SOURCE_JSON_SCHEMA = _chunk6GFRKLLScjs.PAINT_SOURCE_JSON_SCHEMA; exports.PAPER_CAPACITY = _chunkFHPVDTI2cjs.PAPER_CAPACITY; exports.PARAM = _chunkFHPVDTI2cjs.PARAM; exports.PARAM_FLOATS = _chunkFHPVDTI2cjs.PARAM_FLOATS; exports.PIGMENT_BANDS = _chunkJ5BA3BQ6cjs.PIGMENT_BANDS; exports.PIGMENT_CHANNELS = _chunkFHPVDTI2cjs.PIGMENT_CHANNELS; exports.PIGMENT_LAMBDA_MIN = _chunkJ5BA3BQ6cjs.PIGMENT_LAMBDA_MIN; exports.PIGMENT_LAMBDA_STEP = _chunkJ5BA3BQ6cjs.PIGMENT_LAMBDA_STEP; exports.PIGMENT_UNIT = _chunkFHPVDTI2cjs.PIGMENT_UNIT; exports.PIGMENT_WAVELENGTHS = _chunkJ5BA3BQ6cjs.PIGMENT_WAVELENGTHS; exports.PLANE = _chunkFHPVDTI2cjs.PLANE; exports.PLANE_BYTES = _chunkFHPVDTI2cjs.PLANE_BYTES; exports.P_D0 = _chunkFHPVDTI2cjs.P_D0; exports.P_EDGE = _chunkFHPVDTI2cjs.P_EDGE; exports.P_FX = _chunkFHPVDTI2cjs.P_FX; exports.P_FY = _chunkFHPVDTI2cjs.P_FY; exports.P_H = _chunkFHPVDTI2cjs.P_H; exports.P_P0 = _chunkFHPVDTI2cjs.P_P0; exports.P_RHO = _chunkFHPVDTI2cjs.P_RHO; exports.P_SW = _chunkFHPVDTI2cjs.P_SW; exports.P_UX = _chunkFHPVDTI2cjs.P_UX; exports.P_UY = _chunkFHPVDTI2cjs.P_UY; exports.PaintExchange = _chunk6GFRKLLScjs.PaintExchange; exports.PaintGradientSampler = _chunk6GFRKLLScjs.PaintGradientSampler; exports.PaintSourceError = _chunk6GFRKLLScjs.PaintSourceError; exports.RETOUCH_SAMPLES = _chunkYT3JL7YMcjs.RETOUCH_SAMPLES; exports.RegionPixelSource = _chunkYT3JL7YMcjs.RegionPixelSource; exports.RetouchDabStroke = _chunkYT3JL7YMcjs.RetouchDabStroke; exports.SET_PLANES = _chunkFHPVDTI2cjs.SET_PLANES; exports.SLOT_BYTES = _chunkFHPVDTI2cjs.SLOT_BYTES; exports.SLOT_PLANES = _chunkFHPVDTI2cjs.SLOT_PLANES; exports.SLOT_SIDE = _chunkFHPVDTI2cjs.SLOT_SIDE; exports.SPOT_HEAL_TYPES = _chunkYT3JL7YMcjs.SPOT_HEAL_TYPES; exports.SRGB_TO_LINEAR = _chunkFHPVDTI2cjs.SRGB_TO_LINEAR; exports.STRIP = _chunkFHPVDTI2cjs.STRIP; exports.SmudgeTip = _chunk6GFRKLLScjs.SmudgeTip; exports.StrokeCoverage = _chunk6GFRKLLScjs.StrokeCoverage; exports.TIP_GRADIENT_STEPS = _chunk6GFRKLLScjs.TIP_GRADIENT_STEPS; exports.TONE_RANGES = _chunkYT3JL7YMcjs.TONE_RANGES; exports.TileMedium = _chunk6GFRKLLScjs.TileMedium; exports.TilePixelSource = _chunkYT3JL7YMcjs.TilePixelSource; exports.TransformedPixelSource = _chunkYT3JL7YMcjs.TransformedPixelSource; exports.U_MAX = _chunkFHPVDTI2cjs.U_MAX; exports.W9 = _chunkFHPVDTI2cjs.W9; exports.WET_FLOW_KINDS = _chunkFHPVDTI2cjs.WET_FLOW_KINDS; exports.WET_PARAM_KEYS = _chunkFHPVDTI2cjs.WET_PARAM_KEYS; exports.WET_TILE = _chunkFHPVDTI2cjs.WET_TILE; exports.WGSL_HALO = _chunkFHPVDTI2cjs.WGSL_HALO; exports.WGSL_SHADE = _chunkFHPVDTI2cjs.WGSL_SHADE; exports.WGSL_STEP = _chunkFHPVDTI2cjs.WGSL_STEP; exports.WetGpuEngine = _chunkFHPVDTI2cjs.WetGpuEngine; exports.WetMedium = _chunkFHPVDTI2cjs.WetMedium; exports.WetWorkerPool = _chunkFHPVDTI2cjs.WetWorkerPool; exports.WetWorld = _chunkFHPVDTI2cjs.WetWorld; exports.WetWorldError = _chunkFHPVDTI2cjs.WetWorldError; exports.addPaintGradientStop = _chunk6GFRKLLScjs.addPaintGradientStop; exports.applyRetouchToTile = _chunkYT3JL7YMcjs.applyRetouchToTile; exports.applyStrokeToDeepTile = _chunk6GFRKLLScjs.applyStrokeToDeepTile; exports.applyStrokeToTile = _chunk6GFRKLLScjs.applyStrokeToTile; exports.applyToneToDeepTile = _chunkYT3JL7YMcjs.applyToneToDeepTile; exports.bestOffset = _chunkYT3JL7YMcjs.bestOffset; exports.blendRadius = _chunk6GFRKLLScjs.blendRadius; exports.blenderDab = _chunk6GFRKLLScjs.blenderDab; exports.boxBlurPixels = _chunkYT3JL7YMcjs.boxBlurPixels; exports.brushstrokeDataUrl = _chunkZ6OUCS2Kcjs.brushstrokeDataUrl; exports.brushstrokeKey = _chunkZ6OUCS2Kcjs.brushstrokeKey; exports.brushstrokeSamples = _chunkZ6OUCS2Kcjs.brushstrokeSamples; exports.brushstrokeScaleBucket = _chunkSYPFUL5Bcjs.brushstrokeScaleBucket; exports.brushstrokeStrokeOptions = _chunkZ6OUCS2Kcjs.brushstrokeStrokeOptions; exports.brushstrokeToCanvas = _chunkZ6OUCS2Kcjs.brushstrokeToCanvas; exports.canShareMemory = _chunkFHPVDTI2cjs.canShareMemory; exports.cleanMixer = _chunk6GFRKLLScjs.cleanMixer; exports.cloneSamplePoint = _chunkYT3JL7YMcjs.cloneSamplePoint; exports.contentAwareFill = _chunkYT3JL7YMcjs.contentAwareFill; exports.coverageTileCoord = _chunk6GFRKLLScjs.coverageTileCoord; exports.createBlenderScratch = _chunk6GFRKLLScjs.createBlenderScratch; exports.createPigment = _chunkJ5BA3BQ6cjs.createPigment; exports.createPigmentTools = _chunkFHPVDTI2cjs.createPigmentTools; exports.createWetGpuEngine = _chunkFHPVDTI2cjs.createWetGpuEngine; exports.dabCoverage = _chunk6GFRKLLScjs.dabCoverage; exports.dabRect = _chunk6GFRKLLScjs.dabRect; exports.dexp = _chunkFHPVDTI2cjs.dexp; exports.dilateMask = _chunkYT3JL7YMcjs.dilateMask; exports.dlog = _chunkFHPVDTI2cjs.dlog; exports.dodgeBurn = _chunkYT3JL7YMcjs.dodgeBurn; exports.dodgeBurnCurve = _chunkYT3JL7YMcjs.dodgeBurnCurve; exports.dpow = _chunkFHPVDTI2cjs.dpow; exports.dsincos = _chunkFHPVDTI2cjs.dsincos; exports.edgeBits = _chunkFHPVDTI2cjs.edgeBits; exports.exchangeRates = _chunk6GFRKLLScjs.exchangeRates; exports.expNeg = _chunkFHPVDTI2cjs.expNeg; exports.filmPixel = _chunkFHPVDTI2cjs.filmPixel; exports.filmReflectance = _chunkFHPVDTI2cjs.filmReflectance; exports.findWebGpu = _chunkFHPVDTI2cjs.findWebGpu; exports.flowField = _chunkFHPVDTI2cjs.flowField; exports.gradientDabColor = _chunk6GFRKLLScjs.gradientDabColor; exports.hash2 = _chunk6GFRKLLScjs.hash2; exports.healPixels = _chunkYT3JL7YMcjs.healPixels; exports.hexToPaintRgb = _chunk6GFRKLLScjs.hexToPaintRgb; exports.isBrushstrokeBrush = _chunkZ6OUCS2Kcjs.isBrushstrokeBrush; exports.isGradientPaint = _chunk6GFRKLLScjs.isGradientPaint; exports.isIdentityCloneTransform = _chunkYT3JL7YMcjs.isIdentityCloneTransform; exports.latticeViscosity = _chunkFHPVDTI2cjs.latticeViscosity; exports.lerpPigment = _chunkJ5BA3BQ6cjs.lerpPigment; exports.lerpPigmentInto = _chunkJ5BA3BQ6cjs.lerpPigmentInto; exports.linearToSrgb8 = _chunkFHPVDTI2cjs.linearToSrgb8; exports.loadMixer = _chunk6GFRKLLScjs.loadMixer; exports.loadWetKernel = _chunkFHPVDTI2cjs.loadWetKernel; exports.luma = _chunkYT3JL7YMcjs.luma; exports.maskBounds = _chunkYT3JL7YMcjs.maskBounds; exports.membraneFill = _chunkYT3JL7YMcjs.membraneFill; exports.mix32 = _chunk6GFRKLLScjs.mix32; exports.mixPigments = _chunkJ5BA3BQ6cjs.mixPigments; exports.mixerRates = _chunk6GFRKLLScjs.mixerRates; exports.normalizeBlender = _chunk6GFRKLLScjs.normalizeBlender; exports.normalizeBrush = _chunk6GFRKLLScjs.normalizeBrush; exports.normalizeFlow = _chunkFHPVDTI2cjs.normalizeFlow; exports.normalizeHexColor = _chunk6GFRKLLScjs.normalizeHexColor; exports.normalizeMixer = _chunk6GFRKLLScjs.normalizeMixer; exports.normalizeRetouch = _chunkYT3JL7YMcjs.normalizeRetouch; exports.normalizeSmudge = _chunk6GFRKLLScjs.normalizeSmudge; exports.normalizeTilt = _chunkFHPVDTI2cjs.normalizeTilt; exports.normalizeWetParams = _chunkFHPVDTI2cjs.normalizeWetParams; exports.packWetParams = _chunkFHPVDTI2cjs.packWetParams; exports.paintGradientMappingFor = _chunk6GFRKLLScjs.paintGradientMappingFor; exports.paintPathStroke = _chunkZ6OUCS2Kcjs.paintPathStroke; exports.paintSourceColor = _chunk6GFRKLLScjs.paintSourceColor; exports.paintSourceCss = _chunk6GFRKLLScjs.paintSourceCss; exports.parsePaintSource = _chunk6GFRKLLScjs.parsePaintSource; exports.pathStrokeCoverage = _chunkZ6OUCS2Kcjs.pathStrokeCoverage; exports.pathStrokeDabs = _chunkZ6OUCS2Kcjs.pathStrokeDabs; exports.perDabStrength = _chunkYT3JL7YMcjs.perDabStrength; exports.pigmentColor = _chunkFHPVDTI2cjs.pigmentColor; exports.pigmentOf = _chunkFHPVDTI2cjs.pigmentOf; exports.pixelPigment = _chunkFHPVDTI2cjs.pixelPigment; exports.pointerPressure = _chunkFHPVDTI2cjs.pointerPressure; exports.pointerStrokeSample = _chunkFHPVDTI2cjs.pointerStrokeSample; exports.pointerStrokeSamples = _chunkFHPVDTI2cjs.pointerStrokeSamples; exports.put255 = _chunk6GFRKLLScjs.put255; exports.rand01 = _chunk6GFRKLLScjs.rand01; exports.rasterizeDab = _chunk6GFRKLLScjs.rasterizeDab; exports.readPaintSource = _chunk6GFRKLLScjs.readPaintSource; exports.readSourceRegion = _chunkYT3JL7YMcjs.readSourceRegion; exports.reflectanceToRgb = _chunkJ5BA3BQ6cjs.reflectanceToRgb; exports.removePaintGradientStop = _chunk6GFRKLLScjs.removePaintGradientStop; exports.renderBrushstroke = _chunkZ6OUCS2Kcjs.renderBrushstroke; exports.resolvePaintGradient = _chunk6GFRKLLScjs.resolvePaintGradient; exports.retouchFilter = _chunkYT3JL7YMcjs.retouchFilter; exports.reversePaintGradient = _chunk6GFRKLLScjs.reversePaintGradient; exports.rgbToReflectance = _chunkJ5BA3BQ6cjs.rgbToReflectance; exports.rgbaViewOfGrey = _chunkYT3JL7YMcjs.rgbaViewOfGrey; exports.saturationOf = _chunkYT3JL7YMcjs.saturationOf; exports.scalePaintGradient = _chunk6GFRKLLScjs.scalePaintGradient; exports.seamlessClone = _chunkYT3JL7YMcjs.seamlessClone; exports.setPigmentColor = _chunkJ5BA3BQ6cjs.setPigmentColor; exports.shadeTile = _chunkFHPVDTI2cjs.shadeTile; exports.smoothPoints = _chunk6GFRKLLScjs.smoothPoints; exports.smudgeEffect = _chunkYT3JL7YMcjs.smudgeEffect; exports.solidPaint = _chunk6GFRKLLScjs.solidPaint; exports.solveMembrane = _chunkYT3JL7YMcjs.solveMembrane; exports.sponge = _chunkYT3JL7YMcjs.sponge; exports.spongeEffect = _chunkYT3JL7YMcjs.spongeEffect; exports.spotHealPixels = _chunkYT3JL7YMcjs.spotHealPixels; exports.spotHealWindow = _chunkYT3JL7YMcjs.spotHealWindow; exports.srgbByteToLinear = _chunkFHPVDTI2cjs.srgbByteToLinear; exports.stepSlotTs = _chunkFHPVDTI2cjs.stepSlotTs; exports.tipFalloff = _chunk6GFRKLLScjs.tipFalloff; exports.tipReach = _chunk6GFRKLLScjs.tipReach; exports.tipShape = _chunk6GFRKLLScjs.tipShape; exports.toneOf = _chunkYT3JL7YMcjs.toneOf; exports.updatePaintGradientStop = _chunk6GFRKLLScjs.updatePaintGradientStop; exports.walkDabs = _chunk6GFRKLLScjs.walkDabs; exports.wetGpuSupport = _chunkFHPVDTI2cjs.wetGpuSupport; exports.wetSimdSupported = _chunkFHPVDTI2cjs.wetSimdSupported; exports.wetSupport = _chunkFHPVDTI2cjs.wetSupport;
|
|
461
469
|
//# sourceMappingURL=index.cjs.map
|
package/dist/paint/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/paint/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;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;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;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;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,yDAA8B;AAC9B;AACE;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;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;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
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/paint/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;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;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;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;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,yDAA8B;AAC9B;AACE;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;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;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,urZAAC","file":"/home/runner/work/editor/editor/packages/core/dist/paint/index.cjs"}
|
package/dist/paint/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { be as PaintMedium, W as WetWorld, bg as PaintSample, q as RgbTriple, B as BrushSettings, P as PaintSource, g as CoverageMap, D as Dab } from '../rand-DOH_aMvm.cjs';
|
|
2
|
+
export { av as BlenderScratch, l as BlenderSettings, C as CloneTransform, aw as DEFAULT_BLENDER, ax as DEFAULT_BRUSH, w as DEFAULT_FLOW, ay as DEFAULT_MIXER, x as DEFAULT_PAINT_GRADIENT, y as DEFAULT_PAINT_GRADIENT_MAPPING, az as DEFAULT_RETOUCH, aA as DEFAULT_SMUDGE, aB as DEFAULT_WET_PAPER, z as DEFAULT_WET_PARAMS, aC as DRY_EPS, aD as DabWalker, aE as EMPTY_MIXER_LOAD, aF as EX, aG as EY, aH as ExchangeRates, aI as FLAG_ALIVE, aJ as FLAG_BOTTOM, aK as FLAG_LEFT, aL as FLAG_RIGHT, aM as FLAG_TOP, aN as FLAG_WET, aO as FLAT, aP as FREE_INTERVAL, aQ as IDENTITY_CLONE_TRANSFORM, aR as MAX_BATCH, A as MAX_BRUSH_SIZE, aS as MAX_TILT_ACCEL, aT as MAX_WET_LANES, aU as MAX_WET_SLOTS, aV as MIXER_DRAIN, aW as MIXER_PICKUP_RATE, aX as MIXING_MODELS, a as MixerLoad, M as MixerSettings, c as MixerStroke, b as MixerTarget, k as MixingModel, aY as OPP, E as PAINT_COLOR_JSON_SCHEMA, F as PAINT_GRADIENT_FULL_SPEED, G as PAINT_GRADIENT_JSON_SCHEMA, H as PAINT_GRADIENT_KIT, I as PAINT_GRADIENT_MAPPINGS, J as PAINT_GRADIENT_MAPPING_LABELS, K as PAINT_GRADIENT_PRESETS, L as PAINT_GRADIENT_REPEATS, N as PAINT_GRADIENT_REPEAT_LABELS, O as PAINT_GRADIENT_SPACES, Q as PAINT_GRADIENT_SPACE_LABELS, U as PAINT_SOURCE_JSON_SCHEMA, aZ as PAPER_CAPACITY, a_ as PARAM, a$ as PARAM_FLOATS, b0 as PIGMENT_CHANNELS, b1 as PLANE, b2 as PLANE_BYTES, b3 as P_D0, b4 as P_EDGE, b5 as P_FX, b6 as P_FY, b7 as P_H, b8 as P_P0, b9 as P_RHO, ba as P_SW, bb as P_UX, bc as P_UY, V as PaintColorSource, X as PaintDabParams, bd as PaintExchange, Y as PaintGradientKit, Z as PaintGradientMapping, _ as PaintGradientMappingKind, $ as PaintGradientRepeat, a0 as PaintGradientSample, a1 as PaintGradientSampler, j as PaintGradientSource, a2 as PaintGradientSpace, a3 as PaintGradientStop, bf as PaintPixels, a4 as PaintRgb, a5 as PaintSourceError, h as PaintTileTarget, bh as PixelSource, bi as RETOUCH_SAMPLES, bj as RegionPixelSource, d as RetouchApply, bk as RetouchDabEffect, bl as RetouchDabStroke, f as RetouchPaint, bm as RetouchSample, R as RetouchSettings, bn as SET_PLANES, bo as SLOT_BYTES, bp as SLOT_PLANES, bq as SLOT_SIDE, br as SPOT_HEAL_TYPES, bs as STRIP, bt as SmudgeDab, m as SmudgeSettings, bu as SmudgeTip, bv as SpotHealType, i as StrokeApply, S as StrokeCoverage, e as StrokePoint, bw as TIP_GRADIENT_STEPS, bx as TONE_RANGES, T as TileMedium, by as TileMediumOptions, bz as TilePixelSource, bA as ToneRange, bB as TransformedPixelSource, bC as U_MAX, bD as W9, a6 as WET_FLOW_KINDS, a7 as WET_PARAM_KEYS, bE as WET_TILE, t as WetBackendInfo, bF as WetFlowField, a8 as WetFlowKind, p as WetFlowSpec, bG as WetGpuEngine, bH as WetGpuJob, s as WetGpuProvider, bI as WetGpuSupport, bJ as WetKernelKind, bK as WetLaneOptions, bL as WetLaneStats, bM as WetPaper, v as WetPaperInput, o as WetParams, u as WetSnapshot, a9 as WetSupport, n as WetTilt, bN as WetWorkerLayout, bO as WetWorkerPool, bP as WetWorldError, r as WetWorldOptions, aa as addPaintGradientStop, bQ as applyRetouchToTile, bR as applyStrokeToDeepTile, bS as applyStrokeToTile, bT as applyToneToDeepTile, bU as blendRadius, bV as blenderDab, bW as boxBlurPixels, bX as canShareMemory, bY as cleanMixer, bZ as cloneSamplePoint, b_ as coverageTileCoord, b$ as createBlenderScratch, c0 as createWetGpuEngine, c1 as dabCoverage, c2 as dabRect, c3 as dodgeBurn, c4 as dodgeBurnCurve, c5 as dsincos, c6 as edgeBits, c7 as exchangeRates, c8 as findWebGpu, c9 as flowField, ca as gradientDabColor, ab as hash2, cb as healPixels, ac as hexToPaintRgb, ad as isGradientPaint, cc as isIdentityCloneTransform, cd as latticeViscosity, ce as loadMixer, cf as loadWetKernel, cg as luma, ae as mix32, ch as mixerRates, ci as normalizeBlender, cj as normalizeBrush, af as normalizeFlow, ag as normalizeHexColor, ck as normalizeMixer, cl as normalizeRetouch, cm as normalizeSmudge, cn as normalizeTilt, ah as normalizeWetParams, co as packWetParams, ai as paintGradientMappingFor, aj as paintSourceColor, ak as paintSourceCss, al as parsePaintSource, cp as perDabStrength, cq as put255, am as rand01, cr as rasterizeDab, an as readPaintSource, cs as readSourceRegion, ao as removePaintGradientStop, ap as resolvePaintGradient, ct as retouchFilter, aq as reversePaintGradient, cu as rgbaViewOfGrey, cv as saturationOf, ar as scalePaintGradient, cw as smoothPoints, cx as smudgeEffect, as as solidPaint, cy as sponge, cz as spongeEffect, cA as spotHealPixels, cB as spotHealWindow, cC as tipFalloff, cD as tipReach, cE as tipShape, cF as toneOf, at as updatePaintGradientStop, cG as walkDabs, cH as wetGpuSupport, cI as wetSimdSupported, au as wetSupport } from '../rand-DOH_aMvm.cjs';
|
|
3
3
|
import { R as RasterRect, Y as Pigment, a as BlendMode, T as TiledSurface } from '../surface-1MRncXpF.cjs';
|
|
4
4
|
export { Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, a1 as PigmentOptions, a2 as PigmentRgb, a3 as createPigment, a4 as lerpPigment, a5 as lerpPigmentInto, a6 as mixPigments, a7 as reflectanceToRgb, a8 as rgbToReflectance, a9 as setPigmentColor } from '../surface-1MRncXpF.cjs';
|
|
5
5
|
import { A as AgentTool } from '../registry-BqA1AZt0.cjs';
|
package/dist/paint/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { be as PaintMedium, W as WetWorld, bg as PaintSample, q as RgbTriple, B as BrushSettings, P as PaintSource, g as CoverageMap, D as Dab } from '../rand-BszBST4s.js';
|
|
2
|
+
export { av as BlenderScratch, l as BlenderSettings, C as CloneTransform, aw as DEFAULT_BLENDER, ax as DEFAULT_BRUSH, w as DEFAULT_FLOW, ay as DEFAULT_MIXER, x as DEFAULT_PAINT_GRADIENT, y as DEFAULT_PAINT_GRADIENT_MAPPING, az as DEFAULT_RETOUCH, aA as DEFAULT_SMUDGE, aB as DEFAULT_WET_PAPER, z as DEFAULT_WET_PARAMS, aC as DRY_EPS, aD as DabWalker, aE as EMPTY_MIXER_LOAD, aF as EX, aG as EY, aH as ExchangeRates, aI as FLAG_ALIVE, aJ as FLAG_BOTTOM, aK as FLAG_LEFT, aL as FLAG_RIGHT, aM as FLAG_TOP, aN as FLAG_WET, aO as FLAT, aP as FREE_INTERVAL, aQ as IDENTITY_CLONE_TRANSFORM, aR as MAX_BATCH, A as MAX_BRUSH_SIZE, aS as MAX_TILT_ACCEL, aT as MAX_WET_LANES, aU as MAX_WET_SLOTS, aV as MIXER_DRAIN, aW as MIXER_PICKUP_RATE, aX as MIXING_MODELS, a as MixerLoad, M as MixerSettings, c as MixerStroke, b as MixerTarget, k as MixingModel, aY as OPP, E as PAINT_COLOR_JSON_SCHEMA, F as PAINT_GRADIENT_FULL_SPEED, G as PAINT_GRADIENT_JSON_SCHEMA, H as PAINT_GRADIENT_KIT, I as PAINT_GRADIENT_MAPPINGS, J as PAINT_GRADIENT_MAPPING_LABELS, K as PAINT_GRADIENT_PRESETS, L as PAINT_GRADIENT_REPEATS, N as PAINT_GRADIENT_REPEAT_LABELS, O as PAINT_GRADIENT_SPACES, Q as PAINT_GRADIENT_SPACE_LABELS, U as PAINT_SOURCE_JSON_SCHEMA, aZ as PAPER_CAPACITY, a_ as PARAM, a$ as PARAM_FLOATS, b0 as PIGMENT_CHANNELS, b1 as PLANE, b2 as PLANE_BYTES, b3 as P_D0, b4 as P_EDGE, b5 as P_FX, b6 as P_FY, b7 as P_H, b8 as P_P0, b9 as P_RHO, ba as P_SW, bb as P_UX, bc as P_UY, V as PaintColorSource, X as PaintDabParams, bd as PaintExchange, Y as PaintGradientKit, Z as PaintGradientMapping, _ as PaintGradientMappingKind, $ as PaintGradientRepeat, a0 as PaintGradientSample, a1 as PaintGradientSampler, j as PaintGradientSource, a2 as PaintGradientSpace, a3 as PaintGradientStop, bf as PaintPixels, a4 as PaintRgb, a5 as PaintSourceError, h as PaintTileTarget, bh as PixelSource, bi as RETOUCH_SAMPLES, bj as RegionPixelSource, d as RetouchApply, bk as RetouchDabEffect, bl as RetouchDabStroke, f as RetouchPaint, bm as RetouchSample, R as RetouchSettings, bn as SET_PLANES, bo as SLOT_BYTES, bp as SLOT_PLANES, bq as SLOT_SIDE, br as SPOT_HEAL_TYPES, bs as STRIP, bt as SmudgeDab, m as SmudgeSettings, bu as SmudgeTip, bv as SpotHealType, i as StrokeApply, S as StrokeCoverage, e as StrokePoint, bw as TIP_GRADIENT_STEPS, bx as TONE_RANGES, T as TileMedium, by as TileMediumOptions, bz as TilePixelSource, bA as ToneRange, bB as TransformedPixelSource, bC as U_MAX, bD as W9, a6 as WET_FLOW_KINDS, a7 as WET_PARAM_KEYS, bE as WET_TILE, t as WetBackendInfo, bF as WetFlowField, a8 as WetFlowKind, p as WetFlowSpec, bG as WetGpuEngine, bH as WetGpuJob, s as WetGpuProvider, bI as WetGpuSupport, bJ as WetKernelKind, bK as WetLaneOptions, bL as WetLaneStats, bM as WetPaper, v as WetPaperInput, o as WetParams, u as WetSnapshot, a9 as WetSupport, n as WetTilt, bN as WetWorkerLayout, bO as WetWorkerPool, bP as WetWorldError, r as WetWorldOptions, aa as addPaintGradientStop, bQ as applyRetouchToTile, bR as applyStrokeToDeepTile, bS as applyStrokeToTile, bT as applyToneToDeepTile, bU as blendRadius, bV as blenderDab, bW as boxBlurPixels, bX as canShareMemory, bY as cleanMixer, bZ as cloneSamplePoint, b_ as coverageTileCoord, b$ as createBlenderScratch, c0 as createWetGpuEngine, c1 as dabCoverage, c2 as dabRect, c3 as dodgeBurn, c4 as dodgeBurnCurve, c5 as dsincos, c6 as edgeBits, c7 as exchangeRates, c8 as findWebGpu, c9 as flowField, ca as gradientDabColor, ab as hash2, cb as healPixels, ac as hexToPaintRgb, ad as isGradientPaint, cc as isIdentityCloneTransform, cd as latticeViscosity, ce as loadMixer, cf as loadWetKernel, cg as luma, ae as mix32, ch as mixerRates, ci as normalizeBlender, cj as normalizeBrush, af as normalizeFlow, ag as normalizeHexColor, ck as normalizeMixer, cl as normalizeRetouch, cm as normalizeSmudge, cn as normalizeTilt, ah as normalizeWetParams, co as packWetParams, ai as paintGradientMappingFor, aj as paintSourceColor, ak as paintSourceCss, al as parsePaintSource, cp as perDabStrength, cq as put255, am as rand01, cr as rasterizeDab, an as readPaintSource, cs as readSourceRegion, ao as removePaintGradientStop, ap as resolvePaintGradient, ct as retouchFilter, aq as reversePaintGradient, cu as rgbaViewOfGrey, cv as saturationOf, ar as scalePaintGradient, cw as smoothPoints, cx as smudgeEffect, as as solidPaint, cy as sponge, cz as spongeEffect, cA as spotHealPixels, cB as spotHealWindow, cC as tipFalloff, cD as tipReach, cE as tipShape, cF as toneOf, at as updatePaintGradientStop, cG as walkDabs, cH as wetGpuSupport, cI as wetSimdSupported, au as wetSupport } from '../rand-BszBST4s.js';
|
|
3
3
|
import { R as RasterRect, Y as Pigment, a as BlendMode, T as TiledSurface } from '../surface-1MRncXpF.js';
|
|
4
4
|
export { Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, a1 as PigmentOptions, a2 as PigmentRgb, a3 as createPigment, a4 as lerpPigment, a5 as lerpPigmentInto, a6 as mixPigments, a7 as reflectanceToRgb, a8 as rgbToReflectance, a9 as setPigmentColor } from '../surface-1MRncXpF.js';
|
|
5
5
|
import { A as AgentTool } from '../registry-D-4fit9C.js';
|
package/dist/paint/index.js
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_RETOUCH,
|
|
3
|
+
IDENTITY_CLONE_TRANSFORM,
|
|
3
4
|
RETOUCH_SAMPLES,
|
|
4
5
|
RegionPixelSource,
|
|
5
6
|
RetouchDabStroke,
|
|
6
7
|
SPOT_HEAL_TYPES,
|
|
7
8
|
TONE_RANGES,
|
|
8
9
|
TilePixelSource,
|
|
10
|
+
TransformedPixelSource,
|
|
9
11
|
applyRetouchToTile,
|
|
10
12
|
applyToneToDeepTile,
|
|
11
13
|
bestOffset,
|
|
12
14
|
boxBlurPixels,
|
|
15
|
+
cloneSamplePoint,
|
|
13
16
|
contentAwareFill,
|
|
14
17
|
dilateMask,
|
|
15
18
|
dodgeBurn,
|
|
16
19
|
dodgeBurnCurve,
|
|
17
20
|
healPixels,
|
|
21
|
+
isIdentityCloneTransform,
|
|
18
22
|
luma,
|
|
19
23
|
maskBounds,
|
|
20
24
|
membraneFill,
|
|
@@ -32,7 +36,7 @@ import {
|
|
|
32
36
|
spotHealPixels,
|
|
33
37
|
spotHealWindow,
|
|
34
38
|
toneOf
|
|
35
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-ILYFOJUN.js";
|
|
36
40
|
import {
|
|
37
41
|
BrushstrokeCache,
|
|
38
42
|
brushstrokeDataUrl,
|
|
@@ -264,6 +268,7 @@ export {
|
|
|
264
268
|
FLAT,
|
|
265
269
|
FREE_INTERVAL,
|
|
266
270
|
HIDE,
|
|
271
|
+
IDENTITY_CLONE_TRANSFORM,
|
|
267
272
|
MAX_BATCH,
|
|
268
273
|
MAX_BRUSH_SIZE,
|
|
269
274
|
MAX_TILT_ACCEL,
|
|
@@ -326,6 +331,7 @@ export {
|
|
|
326
331
|
TONE_RANGES,
|
|
327
332
|
TileMedium,
|
|
328
333
|
TilePixelSource,
|
|
334
|
+
TransformedPixelSource,
|
|
329
335
|
U_MAX,
|
|
330
336
|
W9,
|
|
331
337
|
WET_FLOW_KINDS,
|
|
@@ -356,6 +362,7 @@ export {
|
|
|
356
362
|
brushstrokeToCanvas,
|
|
357
363
|
canShareMemory,
|
|
358
364
|
cleanMixer,
|
|
365
|
+
cloneSamplePoint,
|
|
359
366
|
contentAwareFill,
|
|
360
367
|
coverageTileCoord,
|
|
361
368
|
createBlenderScratch,
|
|
@@ -384,6 +391,7 @@ export {
|
|
|
384
391
|
hexToPaintRgb,
|
|
385
392
|
isBrushstrokeBrush,
|
|
386
393
|
isGradientPaint,
|
|
394
|
+
isIdentityCloneTransform,
|
|
387
395
|
latticeViscosity,
|
|
388
396
|
lerpPigment,
|
|
389
397
|
lerpPigmentInto,
|
|
@@ -80,7 +80,7 @@ var _chunkSFCPGMCTcjs = require('../chunk-SFCPGMCT.cjs');
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
var
|
|
83
|
+
var _chunkYAFS2QFZcjs = require('../chunk-YAFS2QFZ.cjs');
|
|
84
84
|
require('../chunk-2YQONY6G.cjs');
|
|
85
85
|
|
|
86
86
|
|
|
@@ -211,7 +211,7 @@ var _chunkCOAMRKVIcjs = require('../chunk-COAMRKVI.cjs');
|
|
|
211
211
|
|
|
212
212
|
|
|
213
213
|
var _chunkEGFUVXKKcjs = require('../chunk-EGFUVXKK.cjs');
|
|
214
|
-
require('../chunk-
|
|
214
|
+
require('../chunk-Z2H7KECK.cjs');
|
|
215
215
|
require('../chunk-BJTCSLF6.cjs');
|
|
216
216
|
require('../chunk-IZ4WRXZA.cjs');
|
|
217
217
|
|
|
@@ -1625,11 +1625,11 @@ function header(state, options) {
|
|
|
1625
1625
|
return out;
|
|
1626
1626
|
}
|
|
1627
1627
|
function serializePaintDocument(state, options = {}) {
|
|
1628
|
-
const { layers, assets } =
|
|
1628
|
+
const { layers, assets } = _chunkYAFS2QFZcjs.serializeLayers.call(void 0, state.layers);
|
|
1629
1629
|
return { ...header(state, options), layers, assets };
|
|
1630
1630
|
}
|
|
1631
1631
|
async function serializePaintDocumentExternal(state, store, options = {}) {
|
|
1632
|
-
const { layers, assets } = await
|
|
1632
|
+
const { layers, assets } = await _chunkYAFS2QFZcjs.serializeLayersExternal.call(void 0, state.layers, store);
|
|
1633
1633
|
return { ...header(state, options), layers, assets };
|
|
1634
1634
|
}
|
|
1635
1635
|
function paintLayersOnly(layers, problems) {
|
|
@@ -1666,7 +1666,7 @@ function deserializePaintDocument(raw) {
|
|
|
1666
1666
|
const canvas = normalizeCanvas({ width: r.width, height: r.height, dpi: _nullishCoalesce(r.dpi, () => ( void 0)) });
|
|
1667
1667
|
const paper = _chunkW4LNKTHTcjs.normalizePaper.call(void 0, _nullishCoalesce(r.paper, () => ( {})));
|
|
1668
1668
|
const assets = r.assets && typeof r.assets === "object" ? r.assets : {};
|
|
1669
|
-
const layers = paintLayersOnly(
|
|
1669
|
+
const layers = paintLayersOnly(_chunkYAFS2QFZcjs.deserializeLayers.call(void 0, r.layers, { assets, problems }), problems);
|
|
1670
1670
|
const wanted = typeof r.activeLayerId === "string" ? r.activeLayerId : null;
|
|
1671
1671
|
const activeLayerId = wanted && _chunk24ATT2PEcjs.findLayer.call(void 0, layers, wanted) ? wanted : _nullishCoalesce(_optionalChain([_chunk24ATT2PEcjs.flattenLayers.call(void 0, layers), 'access', _70 => _70.filter, 'call', _71 => _71((l) => l.type === "pixel"), 'access', _72 => _72.pop, 'call', _73 => _73(), 'optionalAccess', _74 => _74.id]), () => ( null));
|
|
1672
1672
|
const wetEvents = Array.isArray(r.wetEvents) ? r.wetEvents.filter((e) => e && typeof e === "object" && Number.isInteger(e.clock) && typeof e.kind === "string") : [];
|
|
@@ -1680,7 +1680,7 @@ async function deserializePaintDocumentAsync(raw, store) {
|
|
|
1680
1680
|
if (!raw || typeof raw !== "object") throw new Error("Not a paint document: expected a JSON object.");
|
|
1681
1681
|
const r = raw;
|
|
1682
1682
|
const problems = [];
|
|
1683
|
-
const assets = await
|
|
1683
|
+
const assets = await _chunkYAFS2QFZcjs.resolveExternalAssets.call(void 0, _nullishCoalesce(r.assets, () => ( {})), store, problems);
|
|
1684
1684
|
const loaded = deserializePaintDocument({ ...r, assets });
|
|
1685
1685
|
return { ...loaded, problems: [...problems, ...loaded.problems] };
|
|
1686
1686
|
}
|
|
@@ -5344,7 +5344,7 @@ var PaintEditorController = (_class10 = class _PaintEditorController {
|
|
|
5344
5344
|
return next.type === "group" ? { ...next, children: toStandard(next.children) } : next;
|
|
5345
5345
|
});
|
|
5346
5346
|
const layers = toStandard(dried);
|
|
5347
|
-
const result =
|
|
5347
|
+
const result = _chunkYAFS2QFZcjs.exportPsd.call(void 0, { width, height, layers: [paperLayer, ...layers], merged, resolution: dpi });
|
|
5348
5348
|
for (const [mode, names] of changed) {
|
|
5349
5349
|
const label = _nullishCoalesce(_optionalChain([_chunkJ5BA3BQ6cjs.BLEND_MODES, 'access', _268 => _268.find, 'call', _269 => _269((m) => m.id === mode), 'optionalAccess', _270 => _270.label]), () => ( mode));
|
|
5350
5350
|
const std = _nullishCoalesce(_optionalChain([_chunkJ5BA3BQ6cjs.BLEND_MODES, 'access', _271 => _271.find, 'call', _272 => _272((m) => m.id === _chunkJ5BA3BQ6cjs.standardBlendMode.call(void 0, mode)), 'optionalAccess', _273 => _273.label]), () => ( _chunkJ5BA3BQ6cjs.standardBlendMode.call(void 0, mode)));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a1 as RasterLayer, a0 as RasterGroupLayer, a5 as RasterPixelLayer, C as CompositorLayer, a as RasterCompositor, R as RasterSources, U as LayerLocks } from '../deep-CcwHkQdb.cjs';
|
|
2
|
-
import { D as Dab,
|
|
3
|
-
export {
|
|
2
|
+
import { D as Dab, g as CoverageMap, B as BrushSettings, e as StrokePoint, h as PaintTileTarget, j as PaintGradientSource, T as TileMedium, M as MixerSettings, k as MixingModel, l as BlenderSettings, m as SmudgeSettings, P as PaintSource, a as MixerLoad, W as WetWorld, n as WetTilt, o as WetParams, p as WetFlowSpec, q as RgbTriple, r as WetWorldOptions, s as WetGpuProvider, t as WetBackendInfo, u as WetSnapshot, v as WetPaperInput } from '../rand-DOH_aMvm.cjs';
|
|
3
|
+
export { w as DEFAULT_FLOW, x as DEFAULT_PAINT_GRADIENT, y as DEFAULT_PAINT_GRADIENT_MAPPING, z as DEFAULT_WET_PARAMS, A as MAX_BRUSH_SIZE, E as PAINT_COLOR_JSON_SCHEMA, F as PAINT_GRADIENT_FULL_SPEED, G as PAINT_GRADIENT_JSON_SCHEMA, H as PAINT_GRADIENT_KIT, I as PAINT_GRADIENT_MAPPINGS, J as PAINT_GRADIENT_MAPPING_LABELS, K as PAINT_GRADIENT_PRESETS, L as PAINT_GRADIENT_REPEATS, N as PAINT_GRADIENT_REPEAT_LABELS, O as PAINT_GRADIENT_SPACES, Q as PAINT_GRADIENT_SPACE_LABELS, U as PAINT_SOURCE_JSON_SCHEMA, V as PaintColorSource, X as PaintDabParams, Y as PaintGradientKit, Z as PaintGradientMapping, _ as PaintGradientMappingKind, $ as PaintGradientRepeat, a0 as PaintGradientSample, a1 as PaintGradientSampler, a2 as PaintGradientSpace, a3 as PaintGradientStop, a4 as PaintRgb, a5 as PaintSourceError, a6 as WET_FLOW_KINDS, a7 as WET_PARAM_KEYS, a8 as WetFlowKind, a9 as WetSupport, aa as addPaintGradientStop, ab as hash2, ac as hexToPaintRgb, ad as isGradientPaint, ae as mix32, af as normalizeFlow, ag as normalizeHexColor, ah as normalizeWetParams, ai as paintGradientMappingFor, aj as paintSourceColor, ak as paintSourceCss, al as parsePaintSource, am as rand01, an as readPaintSource, ao as removePaintGradientStop, ap as resolvePaintGradient, aq as reversePaintGradient, ar as scalePaintGradient, as as solidPaint, at as updatePaintGradientStop, au as wetSupport } from '../rand-DOH_aMvm.cjs';
|
|
4
4
|
import { R as RasterRect, T as TiledSurface, a as BlendMode, b as BlendModeInfo } from '../surface-1MRncXpF.cjs';
|
|
5
5
|
export { B as BLEND_MODES, P as PAINTERLY_BLEND_MODES, i as Tile, v as isBlendMode, w as isPainterlyBlendMode, I as standardBlendMode } from '../surface-1MRncXpF.cjs';
|
|
6
|
-
import { e as EffectValue, E as EffectProvider, f as EffectDescription, a as EffectRenderRequest, b as EffectPixels, v as EffectsSlot } from '../helpers-
|
|
7
|
-
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-
|
|
8
|
-
import { V as VideoProject, D as VideoFfmpegExport } from '../export-
|
|
6
|
+
import { e as EffectValue, E as EffectProvider, f as EffectDescription, a as EffectRenderRequest, b as EffectPixels, v as EffectsSlot } from '../helpers-DHl28yLO.cjs';
|
|
7
|
+
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-AZSwX087.cjs';
|
|
8
|
+
import { V as VideoProject, D as VideoFfmpegExport } from '../export-KzubBKo7.cjs';
|
|
9
9
|
import { g as PresenceStore, e as PresenceClock, d as PresenceActorInfo, c as PresenceActor, f as PresenceState } from '../presence-Cb6WhcrQ.cjs';
|
|
10
10
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-BqA1AZt0.cjs';
|
|
11
11
|
import '../types-CwMPoRMU.cjs';
|
|
@@ -13,9 +13,9 @@ import '../schema-Di0CS6Pe.cjs';
|
|
|
13
13
|
import '../evaluate-BsxYieLN.cjs';
|
|
14
14
|
import '../easing-lM0Xo9Ni.cjs';
|
|
15
15
|
import '../builtin-CY97ppKM.cjs';
|
|
16
|
-
import '../bezier-
|
|
16
|
+
import '../bezier-J8i4uqSH.cjs';
|
|
17
17
|
import '../brushTypes-C7N3EBK7.cjs';
|
|
18
|
-
import '../warp-
|
|
18
|
+
import '../warp-Ceqdz7kj.cjs';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Seeded, deterministic noise for paper grain and brush jitter (photocraft's counter-based
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a1 as RasterLayer, a0 as RasterGroupLayer, a5 as RasterPixelLayer, C as CompositorLayer, a as RasterCompositor, R as RasterSources, U as LayerLocks } from '../deep-wwJa7aR6.js';
|
|
2
|
-
import { D as Dab,
|
|
3
|
-
export {
|
|
2
|
+
import { D as Dab, g as CoverageMap, B as BrushSettings, e as StrokePoint, h as PaintTileTarget, j as PaintGradientSource, T as TileMedium, M as MixerSettings, k as MixingModel, l as BlenderSettings, m as SmudgeSettings, P as PaintSource, a as MixerLoad, W as WetWorld, n as WetTilt, o as WetParams, p as WetFlowSpec, q as RgbTriple, r as WetWorldOptions, s as WetGpuProvider, t as WetBackendInfo, u as WetSnapshot, v as WetPaperInput } from '../rand-BszBST4s.js';
|
|
3
|
+
export { w as DEFAULT_FLOW, x as DEFAULT_PAINT_GRADIENT, y as DEFAULT_PAINT_GRADIENT_MAPPING, z as DEFAULT_WET_PARAMS, A as MAX_BRUSH_SIZE, E as PAINT_COLOR_JSON_SCHEMA, F as PAINT_GRADIENT_FULL_SPEED, G as PAINT_GRADIENT_JSON_SCHEMA, H as PAINT_GRADIENT_KIT, I as PAINT_GRADIENT_MAPPINGS, J as PAINT_GRADIENT_MAPPING_LABELS, K as PAINT_GRADIENT_PRESETS, L as PAINT_GRADIENT_REPEATS, N as PAINT_GRADIENT_REPEAT_LABELS, O as PAINT_GRADIENT_SPACES, Q as PAINT_GRADIENT_SPACE_LABELS, U as PAINT_SOURCE_JSON_SCHEMA, V as PaintColorSource, X as PaintDabParams, Y as PaintGradientKit, Z as PaintGradientMapping, _ as PaintGradientMappingKind, $ as PaintGradientRepeat, a0 as PaintGradientSample, a1 as PaintGradientSampler, a2 as PaintGradientSpace, a3 as PaintGradientStop, a4 as PaintRgb, a5 as PaintSourceError, a6 as WET_FLOW_KINDS, a7 as WET_PARAM_KEYS, a8 as WetFlowKind, a9 as WetSupport, aa as addPaintGradientStop, ab as hash2, ac as hexToPaintRgb, ad as isGradientPaint, ae as mix32, af as normalizeFlow, ag as normalizeHexColor, ah as normalizeWetParams, ai as paintGradientMappingFor, aj as paintSourceColor, ak as paintSourceCss, al as parsePaintSource, am as rand01, an as readPaintSource, ao as removePaintGradientStop, ap as resolvePaintGradient, aq as reversePaintGradient, ar as scalePaintGradient, as as solidPaint, at as updatePaintGradientStop, au as wetSupport } from '../rand-BszBST4s.js';
|
|
4
4
|
import { R as RasterRect, T as TiledSurface, a as BlendMode, b as BlendModeInfo } from '../surface-1MRncXpF.js';
|
|
5
5
|
export { B as BLEND_MODES, P as PAINTERLY_BLEND_MODES, i as Tile, v as isBlendMode, w as isPainterlyBlendMode, I as standardBlendMode } from '../surface-1MRncXpF.js';
|
|
6
|
-
import { e as EffectValue, E as EffectProvider, f as EffectDescription, a as EffectRenderRequest, b as EffectPixels, v as EffectsSlot } from '../helpers-
|
|
7
|
-
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-
|
|
8
|
-
import { V as VideoProject, D as VideoFfmpegExport } from '../export-
|
|
6
|
+
import { e as EffectValue, E as EffectProvider, f as EffectDescription, a as EffectRenderRequest, b as EffectPixels, v as EffectsSlot } from '../helpers-Coa4e2j_.js';
|
|
7
|
+
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-BDkyDNM8.js';
|
|
8
|
+
import { V as VideoProject, D as VideoFfmpegExport } from '../export-DMeG6E06.js';
|
|
9
9
|
import { g as PresenceStore, e as PresenceClock, d as PresenceActorInfo, c as PresenceActor, f as PresenceState } from '../presence-Cb6WhcrQ.js';
|
|
10
10
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-D-4fit9C.js';
|
|
11
11
|
import '../types-CwMPoRMU.js';
|
|
@@ -13,9 +13,9 @@ import '../schema-Di0CS6Pe.js';
|
|
|
13
13
|
import '../evaluate-BbCeF6pt.js';
|
|
14
14
|
import '../easing-lM0Xo9Ni.js';
|
|
15
15
|
import '../builtin-CY97ppKM.js';
|
|
16
|
-
import '../bezier-
|
|
16
|
+
import '../bezier-lNEOp0Jx.js';
|
|
17
17
|
import '../brushTypes-C7N3EBK7.js';
|
|
18
|
-
import '../warp-
|
|
18
|
+
import '../warp-C1gwu2G_.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Seeded, deterministic noise for paper grain and brush jitter (photocraft's counter-based
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
resolveExternalAssets,
|
|
81
81
|
serializeLayers,
|
|
82
82
|
serializeLayersExternal
|
|
83
|
-
} from "../chunk-
|
|
83
|
+
} from "../chunk-ESIWZMMK.js";
|
|
84
84
|
import "../chunk-CTTF4KYV.js";
|
|
85
85
|
import {
|
|
86
86
|
EffectRendererPool
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
realPresenceClock,
|
|
212
212
|
tweenPresenceCursor
|
|
213
213
|
} from "../chunk-B6DSIEXA.js";
|
|
214
|
-
import "../chunk-
|
|
214
|
+
import "../chunk-HHTCDFZC.js";
|
|
215
215
|
import "../chunk-YGJIER2R.js";
|
|
216
216
|
import "../chunk-KHNZ6MOU.js";
|
|
217
217
|
import {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { P as Point } from './brushTypes-C7N3EBK7.js';
|
|
2
|
-
import { B as BezierPath, P as PolygonBooleanOperation, a as BezierPathInput, b as PolygonFillRule, c as BezierSegment, d as BezierContour } from './bezier-
|
|
2
|
+
import { B as BezierPath, P as PolygonBooleanOperation, a as BezierPathInput, b as PolygonFillRule, c as BezierSegment, d as BezierContour } from './bezier-lNEOp0Jx.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Curve-preserving boolean operations (union, intersection, difference, xor and divide) on
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { P as Point } from './brushTypes-C7N3EBK7.cjs';
|
|
2
|
-
import { B as BezierPath, P as PolygonBooleanOperation, a as BezierPathInput, b as PolygonFillRule, c as BezierSegment, d as BezierContour } from './bezier-
|
|
2
|
+
import { B as BezierPath, P as PolygonBooleanOperation, a as BezierPathInput, b as PolygonFillRule, c as BezierSegment, d as BezierContour } from './bezier-J8i4uqSH.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Curve-preserving boolean operations (union, intersection, difference, xor and divide) on
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EffectProvider, a as EffectRenderRequest, b as EffectPixels } from './helpers-
|
|
1
|
+
import { E as EffectProvider, a as EffectRenderRequest, b as EffectPixels } from './helpers-Coa4e2j_.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* `EffectRendererPool`: keeps a few live renderers, reused per effect, size and depth.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EffectProvider, a as EffectRenderRequest, b as EffectPixels } from './helpers-
|
|
1
|
+
import { E as EffectProvider, a as EffectRenderRequest, b as EffectPixels } from './helpers-DHl28yLO.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* `EffectRendererPool`: keeps a few live renderers, reused per effect, size and depth.
|
|
@@ -1115,6 +1115,36 @@ interface PixelSource {
|
|
|
1115
1115
|
/** Straight RGBA 0..255 of document pixel (x, y) into `out`; false (and `out` zeroed) where there is nothing. */
|
|
1116
1116
|
sample(x: number, y: number, out: number[]): boolean;
|
|
1117
1117
|
}
|
|
1118
|
+
/**
|
|
1119
|
+
* Photoshop's Clone Source transform: the cloned pixels appear scaled by `scaleX` / `scaleY`
|
|
1120
|
+
* (negative flips) and rotated by `rotate` degrees (clockwise) about the stroke's start.
|
|
1121
|
+
*/
|
|
1122
|
+
interface CloneTransform {
|
|
1123
|
+
scaleX: number;
|
|
1124
|
+
scaleY: number;
|
|
1125
|
+
rotate: number;
|
|
1126
|
+
}
|
|
1127
|
+
declare const IDENTITY_CLONE_TRANSFORM: CloneTransform;
|
|
1128
|
+
declare function isIdentityCloneTransform(t: CloneTransform): boolean;
|
|
1129
|
+
/**
|
|
1130
|
+
* Where a clone samples for target point (`x`, `y`): `source + M⁻¹ · (p − anchor)`, with `M` the
|
|
1131
|
+
* transform (scale then rotate) and `anchor` the target point that maps onto the source point.
|
|
1132
|
+
*/
|
|
1133
|
+
declare function cloneSamplePoint(t: CloneTransform, source: {
|
|
1134
|
+
x: number;
|
|
1135
|
+
y: number;
|
|
1136
|
+
}, anchor: {
|
|
1137
|
+
x: number;
|
|
1138
|
+
y: number;
|
|
1139
|
+
}, x: number, y: number): [number, number];
|
|
1140
|
+
/** A source seen through a map from document points to source points (bilinear, premultiplied). */
|
|
1141
|
+
declare class TransformedPixelSource implements PixelSource {
|
|
1142
|
+
private readonly inner;
|
|
1143
|
+
private readonly map;
|
|
1144
|
+
private readonly px;
|
|
1145
|
+
constructor(inner: PixelSource, map: (x: number, y: number) => [number, number]);
|
|
1146
|
+
sample(x: number, y: number, out: number[]): boolean;
|
|
1147
|
+
}
|
|
1118
1148
|
/**
|
|
1119
1149
|
* A source over raster tiles (layer pixels, a mask, or composite tiles): `readTile` gives tile
|
|
1120
1150
|
* (tx, ty) in source space or `null` when it is empty; source pixel = document pixel − `offset`.
|
|
@@ -2107,4 +2137,4 @@ declare function hash2(x: number, y: number, salt: number): number;
|
|
|
2107
2137
|
/** Uniform in [0, 1) from a seed, an index and a stream (one stream per random quantity). */
|
|
2108
2138
|
declare function rand01(seed: number, index: number, stream: number): number;
|
|
2109
2139
|
|
|
2110
|
-
export { type
|
|
2140
|
+
export { type PaintGradientRepeat as $, MAX_BRUSH_SIZE as A, type BrushSettings as B, type CloneTransform as C, type Dab as D, PAINT_COLOR_JSON_SCHEMA as E, PAINT_GRADIENT_FULL_SPEED as F, PAINT_GRADIENT_JSON_SCHEMA as G, PAINT_GRADIENT_KIT as H, PAINT_GRADIENT_MAPPINGS as I, PAINT_GRADIENT_MAPPING_LABELS as J, PAINT_GRADIENT_PRESETS as K, PAINT_GRADIENT_REPEATS as L, type MixerSettings as M, PAINT_GRADIENT_REPEAT_LABELS as N, PAINT_GRADIENT_SPACES as O, type PaintSource as P, PAINT_GRADIENT_SPACE_LABELS as Q, type RetouchSettings as R, StrokeCoverage as S, TileMedium as T, PAINT_SOURCE_JSON_SCHEMA as U, type PaintColorSource as V, WetWorld as W, type PaintDabParams as X, type PaintGradientKit as Y, type PaintGradientMapping as Z, type PaintGradientMappingKind as _, type MixerLoad as a, PARAM_FLOATS as a$, type PaintGradientSample as a0, PaintGradientSampler as a1, type PaintGradientSpace as a2, type PaintGradientStop as a3, type PaintRgb as a4, PaintSourceError as a5, WET_FLOW_KINDS as a6, WET_PARAM_KEYS as a7, type WetFlowKind as a8, type WetSupport as a9, DEFAULT_SMUDGE as aA, DEFAULT_WET_PAPER as aB, DRY_EPS as aC, DabWalker as aD, EMPTY_MIXER_LOAD as aE, EX as aF, EY as aG, type ExchangeRates as aH, FLAG_ALIVE as aI, FLAG_BOTTOM as aJ, FLAG_LEFT as aK, FLAG_RIGHT as aL, FLAG_TOP as aM, FLAG_WET as aN, FLAT as aO, FREE_INTERVAL as aP, IDENTITY_CLONE_TRANSFORM as aQ, MAX_BATCH as aR, MAX_TILT_ACCEL as aS, MAX_WET_LANES as aT, MAX_WET_SLOTS as aU, MIXER_DRAIN as aV, MIXER_PICKUP_RATE as aW, MIXING_MODELS as aX, OPP as aY, PAPER_CAPACITY as aZ, PARAM as a_, addPaintGradientStop as aa, hash2 as ab, hexToPaintRgb as ac, isGradientPaint as ad, mix32 as ae, normalizeFlow as af, normalizeHexColor as ag, normalizeWetParams as ah, paintGradientMappingFor as ai, paintSourceColor as aj, paintSourceCss as ak, parsePaintSource as al, rand01 as am, readPaintSource as an, removePaintGradientStop as ao, resolvePaintGradient as ap, reversePaintGradient as aq, scalePaintGradient as ar, solidPaint as as, updatePaintGradientStop as at, wetSupport as au, type BlenderScratch as av, DEFAULT_BLENDER as aw, DEFAULT_BRUSH as ax, DEFAULT_MIXER as ay, DEFAULT_RETOUCH as az, type MixerTarget as b, createBlenderScratch as b$, PIGMENT_CHANNELS as b0, PLANE as b1, PLANE_BYTES as b2, P_D0 as b3, P_EDGE as b4, P_FX as b5, P_FY as b6, P_H as b7, P_P0 as b8, P_RHO as b9, type ToneRange as bA, TransformedPixelSource as bB, U_MAX as bC, W9 as bD, WET_TILE as bE, type WetFlowField as bF, WetGpuEngine as bG, type WetGpuJob as bH, type WetGpuSupport as bI, type WetKernelKind as bJ, type WetLaneOptions as bK, type WetLaneStats as bL, type WetPaper as bM, type WetWorkerLayout as bN, WetWorkerPool as bO, WetWorldError as bP, applyRetouchToTile as bQ, applyStrokeToDeepTile as bR, applyStrokeToTile as bS, applyToneToDeepTile as bT, blendRadius as bU, blenderDab as bV, boxBlurPixels as bW, canShareMemory as bX, cleanMixer as bY, cloneSamplePoint as bZ, coverageTileCoord as b_, P_SW as ba, P_UX as bb, P_UY as bc, PaintExchange as bd, type PaintMedium as be, type PaintPixels as bf, type PaintSample as bg, type PixelSource as bh, RETOUCH_SAMPLES as bi, RegionPixelSource as bj, type RetouchDabEffect as bk, RetouchDabStroke as bl, type RetouchSample as bm, SET_PLANES as bn, SLOT_BYTES as bo, SLOT_PLANES as bp, SLOT_SIDE as bq, SPOT_HEAL_TYPES as br, STRIP as bs, type SmudgeDab as bt, SmudgeTip as bu, type SpotHealType as bv, TIP_GRADIENT_STEPS as bw, TONE_RANGES as bx, type TileMediumOptions as by, TilePixelSource as bz, MixerStroke as c, createWetGpuEngine as c0, dabCoverage as c1, dabRect as c2, dodgeBurn as c3, dodgeBurnCurve as c4, dsincos as c5, edgeBits as c6, exchangeRates as c7, findWebGpu as c8, flowField as c9, spotHealPixels as cA, spotHealWindow as cB, tipFalloff as cC, tipReach as cD, tipShape as cE, toneOf as cF, walkDabs as cG, wetGpuSupport as cH, wetSimdSupported as cI, gradientDabColor as ca, healPixels as cb, isIdentityCloneTransform as cc, latticeViscosity as cd, loadMixer as ce, loadWetKernel as cf, luma as cg, mixerRates as ch, normalizeBlender as ci, normalizeBrush as cj, normalizeMixer as ck, normalizeRetouch as cl, normalizeSmudge as cm, normalizeTilt as cn, packWetParams as co, perDabStrength as cp, put255 as cq, rasterizeDab as cr, readSourceRegion as cs, retouchFilter as ct, rgbaViewOfGrey as cu, saturationOf as cv, smoothPoints as cw, smudgeEffect as cx, sponge as cy, spongeEffect as cz, type RetouchApply as d, type StrokePoint as e, type RetouchPaint as f, CoverageMap as g, type PaintTileTarget as h, type StrokeApply as i, type PaintGradientSource as j, type MixingModel as k, type BlenderSettings as l, type SmudgeSettings as m, type WetTilt as n, type WetParams as o, type WetFlowSpec as p, type RgbTriple as q, type WetWorldOptions as r, type WetGpuProvider as s, type WetBackendInfo as t, type WetSnapshot as u, type WetPaperInput as v, DEFAULT_FLOW as w, DEFAULT_PAINT_GRADIENT as x, DEFAULT_PAINT_GRADIENT_MAPPING as y, DEFAULT_WET_PARAMS as z };
|
|
@@ -1115,6 +1115,36 @@ interface PixelSource {
|
|
|
1115
1115
|
/** Straight RGBA 0..255 of document pixel (x, y) into `out`; false (and `out` zeroed) where there is nothing. */
|
|
1116
1116
|
sample(x: number, y: number, out: number[]): boolean;
|
|
1117
1117
|
}
|
|
1118
|
+
/**
|
|
1119
|
+
* Photoshop's Clone Source transform: the cloned pixels appear scaled by `scaleX` / `scaleY`
|
|
1120
|
+
* (negative flips) and rotated by `rotate` degrees (clockwise) about the stroke's start.
|
|
1121
|
+
*/
|
|
1122
|
+
interface CloneTransform {
|
|
1123
|
+
scaleX: number;
|
|
1124
|
+
scaleY: number;
|
|
1125
|
+
rotate: number;
|
|
1126
|
+
}
|
|
1127
|
+
declare const IDENTITY_CLONE_TRANSFORM: CloneTransform;
|
|
1128
|
+
declare function isIdentityCloneTransform(t: CloneTransform): boolean;
|
|
1129
|
+
/**
|
|
1130
|
+
* Where a clone samples for target point (`x`, `y`): `source + M⁻¹ · (p − anchor)`, with `M` the
|
|
1131
|
+
* transform (scale then rotate) and `anchor` the target point that maps onto the source point.
|
|
1132
|
+
*/
|
|
1133
|
+
declare function cloneSamplePoint(t: CloneTransform, source: {
|
|
1134
|
+
x: number;
|
|
1135
|
+
y: number;
|
|
1136
|
+
}, anchor: {
|
|
1137
|
+
x: number;
|
|
1138
|
+
y: number;
|
|
1139
|
+
}, x: number, y: number): [number, number];
|
|
1140
|
+
/** A source seen through a map from document points to source points (bilinear, premultiplied). */
|
|
1141
|
+
declare class TransformedPixelSource implements PixelSource {
|
|
1142
|
+
private readonly inner;
|
|
1143
|
+
private readonly map;
|
|
1144
|
+
private readonly px;
|
|
1145
|
+
constructor(inner: PixelSource, map: (x: number, y: number) => [number, number]);
|
|
1146
|
+
sample(x: number, y: number, out: number[]): boolean;
|
|
1147
|
+
}
|
|
1118
1148
|
/**
|
|
1119
1149
|
* A source over raster tiles (layer pixels, a mask, or composite tiles): `readTile` gives tile
|
|
1120
1150
|
* (tx, ty) in source space or `null` when it is empty; source pixel = document pixel − `offset`.
|
|
@@ -2107,4 +2137,4 @@ declare function hash2(x: number, y: number, salt: number): number;
|
|
|
2107
2137
|
/** Uniform in [0, 1) from a seed, an index and a stream (one stream per random quantity). */
|
|
2108
2138
|
declare function rand01(seed: number, index: number, stream: number): number;
|
|
2109
2139
|
|
|
2110
|
-
export { type
|
|
2140
|
+
export { type PaintGradientRepeat as $, MAX_BRUSH_SIZE as A, type BrushSettings as B, type CloneTransform as C, type Dab as D, PAINT_COLOR_JSON_SCHEMA as E, PAINT_GRADIENT_FULL_SPEED as F, PAINT_GRADIENT_JSON_SCHEMA as G, PAINT_GRADIENT_KIT as H, PAINT_GRADIENT_MAPPINGS as I, PAINT_GRADIENT_MAPPING_LABELS as J, PAINT_GRADIENT_PRESETS as K, PAINT_GRADIENT_REPEATS as L, type MixerSettings as M, PAINT_GRADIENT_REPEAT_LABELS as N, PAINT_GRADIENT_SPACES as O, type PaintSource as P, PAINT_GRADIENT_SPACE_LABELS as Q, type RetouchSettings as R, StrokeCoverage as S, TileMedium as T, PAINT_SOURCE_JSON_SCHEMA as U, type PaintColorSource as V, WetWorld as W, type PaintDabParams as X, type PaintGradientKit as Y, type PaintGradientMapping as Z, type PaintGradientMappingKind as _, type MixerLoad as a, PARAM_FLOATS as a$, type PaintGradientSample as a0, PaintGradientSampler as a1, type PaintGradientSpace as a2, type PaintGradientStop as a3, type PaintRgb as a4, PaintSourceError as a5, WET_FLOW_KINDS as a6, WET_PARAM_KEYS as a7, type WetFlowKind as a8, type WetSupport as a9, DEFAULT_SMUDGE as aA, DEFAULT_WET_PAPER as aB, DRY_EPS as aC, DabWalker as aD, EMPTY_MIXER_LOAD as aE, EX as aF, EY as aG, type ExchangeRates as aH, FLAG_ALIVE as aI, FLAG_BOTTOM as aJ, FLAG_LEFT as aK, FLAG_RIGHT as aL, FLAG_TOP as aM, FLAG_WET as aN, FLAT as aO, FREE_INTERVAL as aP, IDENTITY_CLONE_TRANSFORM as aQ, MAX_BATCH as aR, MAX_TILT_ACCEL as aS, MAX_WET_LANES as aT, MAX_WET_SLOTS as aU, MIXER_DRAIN as aV, MIXER_PICKUP_RATE as aW, MIXING_MODELS as aX, OPP as aY, PAPER_CAPACITY as aZ, PARAM as a_, addPaintGradientStop as aa, hash2 as ab, hexToPaintRgb as ac, isGradientPaint as ad, mix32 as ae, normalizeFlow as af, normalizeHexColor as ag, normalizeWetParams as ah, paintGradientMappingFor as ai, paintSourceColor as aj, paintSourceCss as ak, parsePaintSource as al, rand01 as am, readPaintSource as an, removePaintGradientStop as ao, resolvePaintGradient as ap, reversePaintGradient as aq, scalePaintGradient as ar, solidPaint as as, updatePaintGradientStop as at, wetSupport as au, type BlenderScratch as av, DEFAULT_BLENDER as aw, DEFAULT_BRUSH as ax, DEFAULT_MIXER as ay, DEFAULT_RETOUCH as az, type MixerTarget as b, createBlenderScratch as b$, PIGMENT_CHANNELS as b0, PLANE as b1, PLANE_BYTES as b2, P_D0 as b3, P_EDGE as b4, P_FX as b5, P_FY as b6, P_H as b7, P_P0 as b8, P_RHO as b9, type ToneRange as bA, TransformedPixelSource as bB, U_MAX as bC, W9 as bD, WET_TILE as bE, type WetFlowField as bF, WetGpuEngine as bG, type WetGpuJob as bH, type WetGpuSupport as bI, type WetKernelKind as bJ, type WetLaneOptions as bK, type WetLaneStats as bL, type WetPaper as bM, type WetWorkerLayout as bN, WetWorkerPool as bO, WetWorldError as bP, applyRetouchToTile as bQ, applyStrokeToDeepTile as bR, applyStrokeToTile as bS, applyToneToDeepTile as bT, blendRadius as bU, blenderDab as bV, boxBlurPixels as bW, canShareMemory as bX, cleanMixer as bY, cloneSamplePoint as bZ, coverageTileCoord as b_, P_SW as ba, P_UX as bb, P_UY as bc, PaintExchange as bd, type PaintMedium as be, type PaintPixels as bf, type PaintSample as bg, type PixelSource as bh, RETOUCH_SAMPLES as bi, RegionPixelSource as bj, type RetouchDabEffect as bk, RetouchDabStroke as bl, type RetouchSample as bm, SET_PLANES as bn, SLOT_BYTES as bo, SLOT_PLANES as bp, SLOT_SIDE as bq, SPOT_HEAL_TYPES as br, STRIP as bs, type SmudgeDab as bt, SmudgeTip as bu, type SpotHealType as bv, TIP_GRADIENT_STEPS as bw, TONE_RANGES as bx, type TileMediumOptions as by, TilePixelSource as bz, MixerStroke as c, createWetGpuEngine as c0, dabCoverage as c1, dabRect as c2, dodgeBurn as c3, dodgeBurnCurve as c4, dsincos as c5, edgeBits as c6, exchangeRates as c7, findWebGpu as c8, flowField as c9, spotHealPixels as cA, spotHealWindow as cB, tipFalloff as cC, tipReach as cD, tipShape as cE, toneOf as cF, walkDabs as cG, wetGpuSupport as cH, wetSimdSupported as cI, gradientDabColor as ca, healPixels as cb, isIdentityCloneTransform as cc, latticeViscosity as cd, loadMixer as ce, loadWetKernel as cf, luma as cg, mixerRates as ch, normalizeBlender as ci, normalizeBrush as cj, normalizeMixer as ck, normalizeRetouch as cl, normalizeSmudge as cm, normalizeTilt as cn, packWetParams as co, perDabStrength as cp, put255 as cq, rasterizeDab as cr, readSourceRegion as cs, retouchFilter as ct, rgbaViewOfGrey as cu, saturationOf as cv, smoothPoints as cw, smudgeEffect as cx, sponge as cy, spongeEffect as cz, type RetouchApply as d, type StrokePoint as e, type RetouchPaint as f, CoverageMap as g, type PaintTileTarget as h, type StrokeApply as i, type PaintGradientSource as j, type MixingModel as k, type BlenderSettings as l, type SmudgeSettings as m, type WetTilt as n, type WetParams as o, type WetFlowSpec as p, type RgbTriple as q, type WetWorldOptions as r, type WetGpuProvider as s, type WetBackendInfo as t, type WetSnapshot as u, type WetPaperInput as v, DEFAULT_FLOW as w, DEFAULT_PAINT_GRADIENT as x, DEFAULT_PAINT_GRADIENT_MAPPING as y, DEFAULT_WET_PARAMS as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BezierPath, A as AffineMatrix } from './bezier-
|
|
2
|
-
import { V as VectorEffectType, H as VectorEffectParamsMap, I as VectorPathNode, J as VectorFillRule, K as VectorBooleanOperation, L as VectorNode, M as VectorEffect, N as VectorGroupNode, O as VectorBounds, P as VectorWarpMesh, Q as VectorInstanceNode, R as VectorFilterType, T as VectorFilterParamsMap, U as VectorFilter, W as VectorGradient, X as Vec2, Y as VectorGradientUnits, S as SvgGradientDef, Z as VectorGradientSpread, _ as VectorGradientType, $ as VectorPaint, a0 as VectorMatrix, a1 as VectorGradientStop, a2 as VectorStrokeAlign, a3 as VectorSubpath, a4 as VectorDocument, a5 as VectorWidthPoint } from './helpers-
|
|
1
|
+
import { B as BezierPath, A as AffineMatrix } from './bezier-lNEOp0Jx.js';
|
|
2
|
+
import { V as VectorEffectType, H as VectorEffectParamsMap, I as VectorPathNode, J as VectorFillRule, K as VectorBooleanOperation, L as VectorNode, M as VectorEffect, N as VectorGroupNode, O as VectorBounds, P as VectorWarpMesh, Q as VectorInstanceNode, R as VectorFilterType, T as VectorFilterParamsMap, U as VectorFilter, W as VectorGradient, X as Vec2, Y as VectorGradientUnits, S as SvgGradientDef, Z as VectorGradientSpread, _ as VectorGradientType, $ as VectorPaint, a0 as VectorMatrix, a1 as VectorGradientStop, a2 as VectorStrokeAlign, a3 as VectorSubpath, a4 as VectorDocument, a5 as VectorWidthPoint } from './helpers-Coa4e2j_.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Live appearance: path effect stacks and live boolean groups, evaluated on demand while the
|