@pixerate/editor 0.155.0 → 0.156.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 +58 -58
- package/dist/animation-editor/index.js +4 -4
- package/dist/{brushstrokeRender-YAZVQUXY.cjs → brushstrokeRender-5WANQIG4.cjs} +10 -10
- package/dist/{brushstrokeRender-EUDQTDYS.js → brushstrokeRender-Q4LI22QV.js} +3 -3
- package/dist/canvas/index.cjs +8 -8
- package/dist/canvas/index.js +1 -1
- package/dist/{chunk-AGZ47XY2.js → chunk-2N2QPO3H.js} +6 -2
- package/dist/{chunk-NMXPOKF3.js → chunk-45XXVHVG.js} +1 -1
- package/dist/{chunk-FLOGD3QB.js → chunk-6UPGM3JB.js} +2 -2
- package/dist/{chunk-6FUAHCVI.cjs → chunk-7NW46N7I.cjs} +16 -16
- package/dist/{chunk-ORDXMBD4.js → chunk-A5UCR2TO.js} +10 -3
- package/dist/{chunk-PI45JMP7.cjs → chunk-CD7PLU77.cjs} +81 -81
- package/dist/{chunk-LRRCMRSL.cjs → chunk-EBDCRTZI.cjs} +20 -16
- package/dist/{chunk-OLCYQLFE.js → chunk-EL5PAHNP.js} +1 -1
- package/dist/{chunk-PUC43JPT.cjs → chunk-EYVVIZJ3.cjs} +1 -1
- package/dist/{chunk-BXMIBMVG.cjs → chunk-JGKCC5OF.cjs} +65 -58
- package/dist/{chunk-LIXLD433.cjs → chunk-MHEXLG3M.cjs} +35 -35
- package/dist/{chunk-RHXW4TA5.cjs → chunk-QMI5HZWA.cjs} +7 -7
- package/dist/{chunk-UILRJQFD.js → chunk-WNAAWLZ5.js} +1 -1
- package/dist/{chunk-Y64YPIFT.js → chunk-ZQWLWDZI.js} +1 -1
- package/dist/image-editor/index.cjs +686 -686
- package/dist/image-editor/index.js +5 -5
- package/dist/paint/grain.d.cts +7 -0
- package/dist/paint/grain.d.ts +7 -0
- package/dist/paint/index.cjs +3 -3
- package/dist/paint/index.js +2 -2
- package/dist/paint-editor/controller.d.cts +30 -0
- package/dist/paint-editor/controller.d.ts +30 -0
- package/dist/paint-editor/document.d.cts +8 -0
- package/dist/paint-editor/document.d.ts +8 -0
- package/dist/paint-editor/index.cjs +403 -256
- package/dist/paint-editor/index.js +158 -11
- package/dist/paint-editor/paper.d.cts +8 -0
- package/dist/paint-editor/paper.d.ts +8 -0
- package/dist/paint-editor/stencils.d.cts +2 -0
- package/dist/paint-editor/stencils.d.ts +2 -0
- package/dist/paint-editor/wet.d.cts +1 -0
- package/dist/paint-editor/wet.d.ts +1 -0
- package/dist/vector/index.cjs +950 -950
- package/dist/vector/index.js +4 -4
- package/package.json +1 -1
- package/skills/pixerate-paint-editor/SKILL.md +9 -1
|
@@ -367,7 +367,7 @@ import {
|
|
|
367
367
|
writePsd,
|
|
368
368
|
xyToTempTint,
|
|
369
369
|
xyToUv
|
|
370
|
-
} from "../chunk-
|
|
370
|
+
} from "../chunk-ZQWLWDZI.js";
|
|
371
371
|
import {
|
|
372
372
|
parseCssColor
|
|
373
373
|
} from "../chunk-3CI7FRMK.js";
|
|
@@ -476,7 +476,7 @@ import {
|
|
|
476
476
|
spotHealPixels,
|
|
477
477
|
spotHealWindow,
|
|
478
478
|
toneOf
|
|
479
|
-
} from "../chunk-
|
|
479
|
+
} from "../chunk-EL5PAHNP.js";
|
|
480
480
|
import {
|
|
481
481
|
BODY_SCATTER,
|
|
482
482
|
DEFAULT_FLOW,
|
|
@@ -622,8 +622,8 @@ import {
|
|
|
622
622
|
warpMeshParamAt,
|
|
623
623
|
warpMeshRows,
|
|
624
624
|
warpPresetMesh
|
|
625
|
-
} from "../chunk-
|
|
626
|
-
import "../chunk-
|
|
625
|
+
} from "../chunk-6UPGM3JB.js";
|
|
626
|
+
import "../chunk-A5UCR2TO.js";
|
|
627
627
|
import "../chunk-M6DNZNVY.js";
|
|
628
628
|
import "../chunk-WEIK3UYB.js";
|
|
629
629
|
import "../chunk-PWBZH3FK.js";
|
|
@@ -732,7 +732,7 @@ import {
|
|
|
732
732
|
tipShape,
|
|
733
733
|
updatePaintGradientStop,
|
|
734
734
|
walkDabs
|
|
735
|
-
} from "../chunk-
|
|
735
|
+
} from "../chunk-2N2QPO3H.js";
|
|
736
736
|
import {
|
|
737
737
|
BRUSHSTROKE_MAX_SCALE,
|
|
738
738
|
BRUSHSTROKE_MIN_SCALE,
|
package/dist/paint/grain.d.cts
CHANGED
|
@@ -19,6 +19,11 @@ export interface PaperGrainSettings {
|
|
|
19
19
|
tiling: PaperTiling;
|
|
20
20
|
dry: GrainTuning;
|
|
21
21
|
wet: GrainTuning;
|
|
22
|
+
/** Where the grain's (0, 0) sits in document pixels (missing = the canvas's top-left). */
|
|
23
|
+
offset?: {
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
};
|
|
22
27
|
}
|
|
23
28
|
/** Side of the generated grain tile in pixels (at scale 1). */
|
|
24
29
|
export declare const GRAIN_TILE = 256;
|
|
@@ -33,6 +38,8 @@ export declare class PaperGrain {
|
|
|
33
38
|
private readonly heights;
|
|
34
39
|
private readonly scale;
|
|
35
40
|
private readonly mirror;
|
|
41
|
+
private readonly ox;
|
|
42
|
+
private readonly oy;
|
|
36
43
|
readonly flat: boolean;
|
|
37
44
|
constructor(paper: PaperGrainSettings, media?: 'dry' | 'wet');
|
|
38
45
|
/** Tile cell index for a coordinate in grain pixels (mirrored on odd tiles when mirroring). */
|
package/dist/paint/grain.d.ts
CHANGED
|
@@ -19,6 +19,11 @@ export interface PaperGrainSettings {
|
|
|
19
19
|
tiling: PaperTiling;
|
|
20
20
|
dry: GrainTuning;
|
|
21
21
|
wet: GrainTuning;
|
|
22
|
+
/** Where the grain's (0, 0) sits in document pixels (missing = the canvas's top-left). */
|
|
23
|
+
offset?: {
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
};
|
|
22
27
|
}
|
|
23
28
|
/** Side of the generated grain tile in pixels (at scale 1). */
|
|
24
29
|
export declare const GRAIN_TILE = 256;
|
|
@@ -33,6 +38,8 @@ export declare class PaperGrain {
|
|
|
33
38
|
private readonly heights;
|
|
34
39
|
private readonly scale;
|
|
35
40
|
private readonly mirror;
|
|
41
|
+
private readonly ox;
|
|
42
|
+
private readonly oy;
|
|
36
43
|
readonly flat: boolean;
|
|
37
44
|
constructor(paper: PaperGrainSettings, media?: 'dry' | 'wet');
|
|
38
45
|
/** Tile cell index for a coordinate in grain pixels (mirrored on odd tiles when mirroring). */
|
package/dist/paint/index.cjs
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunk7NW46N7Icjs = require('../chunk-7NW46N7I.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
@@ -224,7 +224,7 @@ var _chunkGNK7SESQcjs = require('../chunk-GNK7SESQ.cjs');
|
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
|
|
227
|
-
var
|
|
227
|
+
var _chunkEBDCRTZIcjs = require('../chunk-EBDCRTZI.cjs');
|
|
228
228
|
|
|
229
229
|
|
|
230
230
|
|
|
@@ -480,4 +480,4 @@ require('../chunk-XFM3OCHU.cjs');
|
|
|
480
480
|
|
|
481
481
|
|
|
482
482
|
|
|
483
|
-
exports.BODY_SCATTER = _chunkGNK7SESQcjs.BODY_SCATTER; exports.BRUSHSTROKE_MAX_SCALE = _chunkYQGCPL5Xcjs.BRUSHSTROKE_MAX_SCALE; exports.BRUSHSTROKE_MIN_SCALE = _chunkYQGCPL5Xcjs.BRUSHSTROKE_MIN_SCALE; exports.BrushstrokeCache = _chunkLRRCMRSLcjs.BrushstrokeCache; exports.CoverageMap = _chunkLRRCMRSLcjs.CoverageMap; exports.DEFAULT_BLENDER = _chunkLRRCMRSLcjs.DEFAULT_BLENDER; exports.DEFAULT_BRUSH = _chunkLRRCMRSLcjs.DEFAULT_BRUSH; exports.DEFAULT_FLOW = _chunkGNK7SESQcjs.DEFAULT_FLOW; exports.DEFAULT_MIXER = _chunkLRRCMRSLcjs.DEFAULT_MIXER; exports.DEFAULT_PAINT_GRADIENT = _chunkLRRCMRSLcjs.DEFAULT_PAINT_GRADIENT; exports.DEFAULT_PAINT_GRADIENT_MAPPING = _chunkLRRCMRSLcjs.DEFAULT_PAINT_GRADIENT_MAPPING; exports.DEFAULT_RETOUCH = _chunk6FUAHCVIcjs.DEFAULT_RETOUCH; exports.DEFAULT_SMUDGE = _chunkLRRCMRSLcjs.DEFAULT_SMUDGE; exports.DEFAULT_WET_PAPER = _chunkGNK7SESQcjs.DEFAULT_WET_PAPER; exports.DEFAULT_WET_PARAMS = _chunkGNK7SESQcjs.DEFAULT_WET_PARAMS; exports.DRY_EPS = _chunkGNK7SESQcjs.DRY_EPS; exports.DabWalker = _chunkLRRCMRSLcjs.DabWalker; exports.EMPTY_MIXER_LOAD = _chunkLRRCMRSLcjs.EMPTY_MIXER_LOAD; exports.EX = _chunkGNK7SESQcjs.EX; exports.EY = _chunkGNK7SESQcjs.EY; exports.FLAG_ALIVE = _chunkGNK7SESQcjs.FLAG_ALIVE; exports.FLAG_BOTTOM = _chunkGNK7SESQcjs.FLAG_BOTTOM; exports.FLAG_LEFT = _chunkGNK7SESQcjs.FLAG_LEFT; exports.FLAG_RIGHT = _chunkGNK7SESQcjs.FLAG_RIGHT; exports.FLAG_TOP = _chunkGNK7SESQcjs.FLAG_TOP; exports.FLAG_WET = _chunkGNK7SESQcjs.FLAG_WET; exports.FLAT = _chunkGNK7SESQcjs.FLAT; exports.FREE_INTERVAL = _chunkGNK7SESQcjs.FREE_INTERVAL; exports.GRAIN_PATTERNS = _chunkLRRCMRSLcjs.GRAIN_PATTERNS; exports.GRAIN_TILE = _chunkLRRCMRSLcjs.GRAIN_TILE; exports.HIDE = _chunkGNK7SESQcjs.HIDE; exports.IDENTITY_CLONE_TRANSFORM = _chunk6FUAHCVIcjs.IDENTITY_CLONE_TRANSFORM; exports.MAX_BATCH = _chunkGNK7SESQcjs.MAX_BATCH; exports.MAX_BRUSH_SIZE = _chunkLRRCMRSLcjs.MAX_BRUSH_SIZE; exports.MAX_TILT_ACCEL = _chunkGNK7SESQcjs.MAX_TILT_ACCEL; exports.MAX_WET_LANES = _chunkGNK7SESQcjs.MAX_WET_LANES; exports.MAX_WET_SLOTS = _chunkGNK7SESQcjs.MAX_WET_SLOTS; exports.MIXER_DRAIN = _chunkLRRCMRSLcjs.MIXER_DRAIN; exports.MIXER_PICKUP_RATE = _chunkLRRCMRSLcjs.MIXER_PICKUP_RATE; exports.MIXING_MODELS = _chunkLRRCMRSLcjs.MIXING_MODELS; exports.MixerStroke = _chunkLRRCMRSLcjs.MixerStroke; exports.OPP = _chunkGNK7SESQcjs.OPP; exports.PAINT_COLOR_JSON_SCHEMA = _chunkLRRCMRSLcjs.PAINT_COLOR_JSON_SCHEMA; exports.PAINT_GRADIENT_FULL_SPEED = _chunkLRRCMRSLcjs.PAINT_GRADIENT_FULL_SPEED; exports.PAINT_GRADIENT_JSON_SCHEMA = _chunkLRRCMRSLcjs.PAINT_GRADIENT_JSON_SCHEMA; exports.PAINT_GRADIENT_KIT = _chunkLRRCMRSLcjs.PAINT_GRADIENT_KIT; exports.PAINT_GRADIENT_MAPPINGS = _chunkLRRCMRSLcjs.PAINT_GRADIENT_MAPPINGS; exports.PAINT_GRADIENT_MAPPING_LABELS = _chunkLRRCMRSLcjs.PAINT_GRADIENT_MAPPING_LABELS; exports.PAINT_GRADIENT_PRESETS = _chunkLRRCMRSLcjs.PAINT_GRADIENT_PRESETS; exports.PAINT_GRADIENT_REPEATS = _chunkLRRCMRSLcjs.PAINT_GRADIENT_REPEATS; exports.PAINT_GRADIENT_REPEAT_LABELS = _chunkLRRCMRSLcjs.PAINT_GRADIENT_REPEAT_LABELS; exports.PAINT_GRADIENT_SPACES = _chunkLRRCMRSLcjs.PAINT_GRADIENT_SPACES; exports.PAINT_GRADIENT_SPACE_LABELS = _chunkLRRCMRSLcjs.PAINT_GRADIENT_SPACE_LABELS; exports.PAINT_SOURCE_JSON_SCHEMA = _chunkLRRCMRSLcjs.PAINT_SOURCE_JSON_SCHEMA; exports.PAPER_CAPACITY = _chunkGNK7SESQcjs.PAPER_CAPACITY; exports.PARAM = _chunkGNK7SESQcjs.PARAM; exports.PARAM_FLOATS = _chunkGNK7SESQcjs.PARAM_FLOATS; exports.PIGMENT_BANDS = _chunkCWM3CUUXcjs.PIGMENT_BANDS; exports.PIGMENT_CHANNELS = _chunkGNK7SESQcjs.PIGMENT_CHANNELS; exports.PIGMENT_LAMBDA_MIN = _chunkCWM3CUUXcjs.PIGMENT_LAMBDA_MIN; exports.PIGMENT_LAMBDA_STEP = _chunkCWM3CUUXcjs.PIGMENT_LAMBDA_STEP; exports.PIGMENT_UNIT = _chunkGNK7SESQcjs.PIGMENT_UNIT; exports.PIGMENT_WAVELENGTHS = _chunkCWM3CUUXcjs.PIGMENT_WAVELENGTHS; exports.PLANE = _chunkGNK7SESQcjs.PLANE; exports.PLANE_BYTES = _chunkGNK7SESQcjs.PLANE_BYTES; exports.P_D0 = _chunkGNK7SESQcjs.P_D0; exports.P_EDGE = _chunkGNK7SESQcjs.P_EDGE; exports.P_FX = _chunkGNK7SESQcjs.P_FX; exports.P_FY = _chunkGNK7SESQcjs.P_FY; exports.P_H = _chunkGNK7SESQcjs.P_H; exports.P_P0 = _chunkGNK7SESQcjs.P_P0; exports.P_RHO = _chunkGNK7SESQcjs.P_RHO; exports.P_SW = _chunkGNK7SESQcjs.P_SW; exports.P_UX = _chunkGNK7SESQcjs.P_UX; exports.P_UY = _chunkGNK7SESQcjs.P_UY; exports.PaintExchange = _chunkLRRCMRSLcjs.PaintExchange; exports.PaintGradientSampler = _chunkLRRCMRSLcjs.PaintGradientSampler; exports.PaintSourceError = _chunkLRRCMRSLcjs.PaintSourceError; exports.PaperGrain = _chunkLRRCMRSLcjs.PaperGrain; exports.RETOUCH_SAMPLES = _chunk6FUAHCVIcjs.RETOUCH_SAMPLES; exports.RegionPixelSource = _chunk6FUAHCVIcjs.RegionPixelSource; exports.RetouchDabStroke = _chunk6FUAHCVIcjs.RetouchDabStroke; exports.SET_PLANES = _chunkGNK7SESQcjs.SET_PLANES; exports.SLOT_BYTES = _chunkGNK7SESQcjs.SLOT_BYTES; exports.SLOT_PLANES = _chunkGNK7SESQcjs.SLOT_PLANES; exports.SLOT_SIDE = _chunkGNK7SESQcjs.SLOT_SIDE; exports.SPOT_HEAL_TYPES = _chunk6FUAHCVIcjs.SPOT_HEAL_TYPES; exports.SRGB_TO_LINEAR = _chunkGNK7SESQcjs.SRGB_TO_LINEAR; exports.STRIP = _chunkGNK7SESQcjs.STRIP; exports.SmudgeTip = _chunkLRRCMRSLcjs.SmudgeTip; exports.StrokeCoverage = _chunkLRRCMRSLcjs.StrokeCoverage; exports.TIP_GRADIENT_STEPS = _chunkLRRCMRSLcjs.TIP_GRADIENT_STEPS; exports.TONE_RANGES = _chunk6FUAHCVIcjs.TONE_RANGES; exports.TileMedium = _chunkLRRCMRSLcjs.TileMedium; exports.TilePixelSource = _chunk6FUAHCVIcjs.TilePixelSource; exports.TileableNoise = _chunkLRRCMRSLcjs.TileableNoise; exports.TransformedPixelSource = _chunk6FUAHCVIcjs.TransformedPixelSource; exports.U_MAX = _chunkGNK7SESQcjs.U_MAX; exports.W9 = _chunkGNK7SESQcjs.W9; exports.WET_FLOW_KINDS = _chunkGNK7SESQcjs.WET_FLOW_KINDS; exports.WET_PARAM_KEYS = _chunkGNK7SESQcjs.WET_PARAM_KEYS; exports.WET_TILE = _chunkGNK7SESQcjs.WET_TILE; exports.WGSL_HALO = _chunkGNK7SESQcjs.WGSL_HALO; exports.WGSL_SHADE = _chunkGNK7SESQcjs.WGSL_SHADE; exports.WGSL_STEP = _chunkGNK7SESQcjs.WGSL_STEP; exports.WetGpuEngine = _chunkGNK7SESQcjs.WetGpuEngine; exports.WetMedium = _chunkGNK7SESQcjs.WetMedium; exports.WetWorkerPool = _chunkGNK7SESQcjs.WetWorkerPool; exports.WetWorld = _chunkGNK7SESQcjs.WetWorld; exports.WetWorldError = _chunkGNK7SESQcjs.WetWorldError; exports.addPaintGradientStop = _chunkLRRCMRSLcjs.addPaintGradientStop; exports.applyRetouchToTile = _chunk6FUAHCVIcjs.applyRetouchToTile; exports.applyStrokeToDeepTile = _chunkLRRCMRSLcjs.applyStrokeToDeepTile; exports.applyStrokeToTile = _chunkLRRCMRSLcjs.applyStrokeToTile; exports.applyToneToDeepTile = _chunk6FUAHCVIcjs.applyToneToDeepTile; exports.bestOffset = _chunk6FUAHCVIcjs.bestOffset; exports.blendRadius = _chunkLRRCMRSLcjs.blendRadius; exports.blenderDab = _chunkLRRCMRSLcjs.blenderDab; exports.boxBlurPixels = _chunk6FUAHCVIcjs.boxBlurPixels; exports.brushstrokeDataUrl = _chunkLRRCMRSLcjs.brushstrokeDataUrl; exports.brushstrokeKey = _chunkLRRCMRSLcjs.brushstrokeKey; exports.brushstrokeSamples = _chunkLRRCMRSLcjs.brushstrokeSamples; exports.brushstrokeScaleBucket = _chunkYQGCPL5Xcjs.brushstrokeScaleBucket; exports.brushstrokeStrokeOptions = _chunkLRRCMRSLcjs.brushstrokeStrokeOptions; exports.brushstrokeToCanvas = _chunkLRRCMRSLcjs.brushstrokeToCanvas; exports.canShareMemory = _chunkGNK7SESQcjs.canShareMemory; exports.cleanMixer = _chunkLRRCMRSLcjs.cleanMixer; exports.cloneSamplePoint = _chunk6FUAHCVIcjs.cloneSamplePoint; exports.contentAwareFill = _chunk6FUAHCVIcjs.contentAwareFill; exports.coverageTileCoord = _chunkLRRCMRSLcjs.coverageTileCoord; exports.createBlenderScratch = _chunkLRRCMRSLcjs.createBlenderScratch; exports.createPigment = _chunkCWM3CUUXcjs.createPigment; exports.createPigmentTools = _chunkGNK7SESQcjs.createPigmentTools; exports.createWetGpuEngine = _chunkGNK7SESQcjs.createWetGpuEngine; exports.dabCoverage = _chunkLRRCMRSLcjs.dabCoverage; exports.dabRect = _chunkLRRCMRSLcjs.dabRect; exports.dexp = _chunkGNK7SESQcjs.dexp; exports.dilateMask = _chunk6FUAHCVIcjs.dilateMask; exports.dlog = _chunkGNK7SESQcjs.dlog; exports.dodgeBurn = _chunk6FUAHCVIcjs.dodgeBurn; exports.dodgeBurnCurve = _chunk6FUAHCVIcjs.dodgeBurnCurve; exports.dpow = _chunkGNK7SESQcjs.dpow; exports.dsincos = _chunkGNK7SESQcjs.dsincos; exports.edgeBits = _chunkGNK7SESQcjs.edgeBits; exports.exchangeRates = _chunkLRRCMRSLcjs.exchangeRates; exports.expNeg = _chunkGNK7SESQcjs.expNeg; exports.filmPixel = _chunkGNK7SESQcjs.filmPixel; exports.filmReflectance = _chunkGNK7SESQcjs.filmReflectance; exports.findWebGpu = _chunkGNK7SESQcjs.findWebGpu; exports.flowField = _chunkGNK7SESQcjs.flowField; exports.gradientDabColor = _chunkLRRCMRSLcjs.gradientDabColor; exports.grainCatch = _chunkLRRCMRSLcjs.grainCatch; exports.grainHeights = _chunkLRRCMRSLcjs.grainHeights; exports.hash2 = _chunkLRRCMRSLcjs.hash2; exports.healPixels = _chunk6FUAHCVIcjs.healPixels; exports.hexToPaintRgb = _chunkLRRCMRSLcjs.hexToPaintRgb; exports.isBrushstrokeBrush = _chunkLRRCMRSLcjs.isBrushstrokeBrush; exports.isGradientPaint = _chunkLRRCMRSLcjs.isGradientPaint; exports.isIdentityCloneTransform = _chunk6FUAHCVIcjs.isIdentityCloneTransform; exports.latticeViscosity = _chunkGNK7SESQcjs.latticeViscosity; exports.lerpPigment = _chunkCWM3CUUXcjs.lerpPigment; exports.lerpPigmentInto = _chunkCWM3CUUXcjs.lerpPigmentInto; exports.linearToSrgb8 = _chunkGNK7SESQcjs.linearToSrgb8; exports.loadMixer = _chunkLRRCMRSLcjs.loadMixer; exports.loadWetKernel = _chunkGNK7SESQcjs.loadWetKernel; exports.luma = _chunk6FUAHCVIcjs.luma; exports.maskBounds = _chunk6FUAHCVIcjs.maskBounds; exports.membraneFill = _chunk6FUAHCVIcjs.membraneFill; exports.mix32 = _chunkLRRCMRSLcjs.mix32; exports.mixPigments = _chunkCWM3CUUXcjs.mixPigments; exports.mixerRates = _chunkLRRCMRSLcjs.mixerRates; exports.normalizeBlender = _chunkLRRCMRSLcjs.normalizeBlender; exports.normalizeBrush = _chunkLRRCMRSLcjs.normalizeBrush; exports.normalizeFlow = _chunkGNK7SESQcjs.normalizeFlow; exports.normalizeHexColor = _chunkLRRCMRSLcjs.normalizeHexColor; exports.normalizeMixer = _chunkLRRCMRSLcjs.normalizeMixer; exports.normalizeRetouch = _chunk6FUAHCVIcjs.normalizeRetouch; exports.normalizeSmudge = _chunkLRRCMRSLcjs.normalizeSmudge; exports.normalizeTilt = _chunkGNK7SESQcjs.normalizeTilt; exports.normalizeWetParams = _chunkGNK7SESQcjs.normalizeWetParams; exports.packWetParams = _chunkGNK7SESQcjs.packWetParams; exports.paintGradientMappingFor = _chunkLRRCMRSLcjs.paintGradientMappingFor; exports.paintPathStroke = _chunkLRRCMRSLcjs.paintPathStroke; exports.paintSourceColor = _chunkLRRCMRSLcjs.paintSourceColor; exports.paintSourceCss = _chunkLRRCMRSLcjs.paintSourceCss; exports.parsePaintSource = _chunkLRRCMRSLcjs.parsePaintSource; exports.pathStrokeCoverage = _chunkLRRCMRSLcjs.pathStrokeCoverage; exports.pathStrokeDabs = _chunkLRRCMRSLcjs.pathStrokeDabs; exports.perDabStrength = _chunk6FUAHCVIcjs.perDabStrength; exports.pigmentColor = _chunkGNK7SESQcjs.pigmentColor; exports.pigmentOf = _chunkGNK7SESQcjs.pigmentOf; exports.pixelPigment = _chunkGNK7SESQcjs.pixelPigment; exports.pointerPressure = _chunkGNK7SESQcjs.pointerPressure; exports.pointerStrokeSample = _chunkGNK7SESQcjs.pointerStrokeSample; exports.pointerStrokeSamples = _chunkGNK7SESQcjs.pointerStrokeSamples; exports.put255 = _chunkLRRCMRSLcjs.put255; exports.rand01 = _chunkLRRCMRSLcjs.rand01; exports.randSigned = _chunkLRRCMRSLcjs.randSigned; exports.rasterizeDab = _chunkLRRCMRSLcjs.rasterizeDab; exports.readPaintSource = _chunkLRRCMRSLcjs.readPaintSource; exports.readSourceRegion = _chunk6FUAHCVIcjs.readSourceRegion; exports.reflectanceToRgb = _chunkCWM3CUUXcjs.reflectanceToRgb; exports.removePaintGradientStop = _chunkLRRCMRSLcjs.removePaintGradientStop; exports.renderBrushstroke = _chunkLRRCMRSLcjs.renderBrushstroke; exports.resolvePaintGradient = _chunkLRRCMRSLcjs.resolvePaintGradient; exports.retouchFilter = _chunk6FUAHCVIcjs.retouchFilter; exports.reversePaintGradient = _chunkLRRCMRSLcjs.reversePaintGradient; exports.rgbToReflectance = _chunkCWM3CUUXcjs.rgbToReflectance; exports.rgbaViewOfGrey = _chunk6FUAHCVIcjs.rgbaViewOfGrey; exports.saturationOf = _chunk6FUAHCVIcjs.saturationOf; exports.scalePaintGradient = _chunkLRRCMRSLcjs.scalePaintGradient; exports.seamlessClone = _chunk6FUAHCVIcjs.seamlessClone; exports.seedFromString = _chunkLRRCMRSLcjs.seedFromString; exports.setPigmentColor = _chunkCWM3CUUXcjs.setPigmentColor; exports.shadeTile = _chunkGNK7SESQcjs.shadeTile; exports.smoothPoints = _chunkLRRCMRSLcjs.smoothPoints; exports.smudgeEffect = _chunk6FUAHCVIcjs.smudgeEffect; exports.solidPaint = _chunkLRRCMRSLcjs.solidPaint; exports.solveMembrane = _chunk6FUAHCVIcjs.solveMembrane; exports.sponge = _chunk6FUAHCVIcjs.sponge; exports.spongeEffect = _chunk6FUAHCVIcjs.spongeEffect; exports.spotHealPixels = _chunk6FUAHCVIcjs.spotHealPixels; exports.spotHealWindow = _chunk6FUAHCVIcjs.spotHealWindow; exports.srgbByteToLinear = _chunkGNK7SESQcjs.srgbByteToLinear; exports.stepSlotTs = _chunkGNK7SESQcjs.stepSlotTs; exports.strokeGrainCatch = _chunkLRRCMRSLcjs.strokeGrainCatch; exports.tipFalloff = _chunkLRRCMRSLcjs.tipFalloff; exports.tipReach = _chunkLRRCMRSLcjs.tipReach; exports.tipShape = _chunkLRRCMRSLcjs.tipShape; exports.toneOf = _chunk6FUAHCVIcjs.toneOf; exports.updatePaintGradientStop = _chunkLRRCMRSLcjs.updatePaintGradientStop; exports.walkDabs = _chunkLRRCMRSLcjs.walkDabs; exports.wetGpuSupport = _chunkGNK7SESQcjs.wetGpuSupport; exports.wetSimdSupported = _chunkGNK7SESQcjs.wetSimdSupported; exports.wetSupport = _chunkGNK7SESQcjs.wetSupport;
|
|
483
|
+
exports.BODY_SCATTER = _chunkGNK7SESQcjs.BODY_SCATTER; exports.BRUSHSTROKE_MAX_SCALE = _chunkYQGCPL5Xcjs.BRUSHSTROKE_MAX_SCALE; exports.BRUSHSTROKE_MIN_SCALE = _chunkYQGCPL5Xcjs.BRUSHSTROKE_MIN_SCALE; exports.BrushstrokeCache = _chunkEBDCRTZIcjs.BrushstrokeCache; exports.CoverageMap = _chunkEBDCRTZIcjs.CoverageMap; exports.DEFAULT_BLENDER = _chunkEBDCRTZIcjs.DEFAULT_BLENDER; exports.DEFAULT_BRUSH = _chunkEBDCRTZIcjs.DEFAULT_BRUSH; exports.DEFAULT_FLOW = _chunkGNK7SESQcjs.DEFAULT_FLOW; exports.DEFAULT_MIXER = _chunkEBDCRTZIcjs.DEFAULT_MIXER; exports.DEFAULT_PAINT_GRADIENT = _chunkEBDCRTZIcjs.DEFAULT_PAINT_GRADIENT; exports.DEFAULT_PAINT_GRADIENT_MAPPING = _chunkEBDCRTZIcjs.DEFAULT_PAINT_GRADIENT_MAPPING; exports.DEFAULT_RETOUCH = _chunk7NW46N7Icjs.DEFAULT_RETOUCH; exports.DEFAULT_SMUDGE = _chunkEBDCRTZIcjs.DEFAULT_SMUDGE; exports.DEFAULT_WET_PAPER = _chunkGNK7SESQcjs.DEFAULT_WET_PAPER; exports.DEFAULT_WET_PARAMS = _chunkGNK7SESQcjs.DEFAULT_WET_PARAMS; exports.DRY_EPS = _chunkGNK7SESQcjs.DRY_EPS; exports.DabWalker = _chunkEBDCRTZIcjs.DabWalker; exports.EMPTY_MIXER_LOAD = _chunkEBDCRTZIcjs.EMPTY_MIXER_LOAD; exports.EX = _chunkGNK7SESQcjs.EX; exports.EY = _chunkGNK7SESQcjs.EY; exports.FLAG_ALIVE = _chunkGNK7SESQcjs.FLAG_ALIVE; exports.FLAG_BOTTOM = _chunkGNK7SESQcjs.FLAG_BOTTOM; exports.FLAG_LEFT = _chunkGNK7SESQcjs.FLAG_LEFT; exports.FLAG_RIGHT = _chunkGNK7SESQcjs.FLAG_RIGHT; exports.FLAG_TOP = _chunkGNK7SESQcjs.FLAG_TOP; exports.FLAG_WET = _chunkGNK7SESQcjs.FLAG_WET; exports.FLAT = _chunkGNK7SESQcjs.FLAT; exports.FREE_INTERVAL = _chunkGNK7SESQcjs.FREE_INTERVAL; exports.GRAIN_PATTERNS = _chunkEBDCRTZIcjs.GRAIN_PATTERNS; exports.GRAIN_TILE = _chunkEBDCRTZIcjs.GRAIN_TILE; exports.HIDE = _chunkGNK7SESQcjs.HIDE; exports.IDENTITY_CLONE_TRANSFORM = _chunk7NW46N7Icjs.IDENTITY_CLONE_TRANSFORM; exports.MAX_BATCH = _chunkGNK7SESQcjs.MAX_BATCH; exports.MAX_BRUSH_SIZE = _chunkEBDCRTZIcjs.MAX_BRUSH_SIZE; exports.MAX_TILT_ACCEL = _chunkGNK7SESQcjs.MAX_TILT_ACCEL; exports.MAX_WET_LANES = _chunkGNK7SESQcjs.MAX_WET_LANES; exports.MAX_WET_SLOTS = _chunkGNK7SESQcjs.MAX_WET_SLOTS; exports.MIXER_DRAIN = _chunkEBDCRTZIcjs.MIXER_DRAIN; exports.MIXER_PICKUP_RATE = _chunkEBDCRTZIcjs.MIXER_PICKUP_RATE; exports.MIXING_MODELS = _chunkEBDCRTZIcjs.MIXING_MODELS; exports.MixerStroke = _chunkEBDCRTZIcjs.MixerStroke; exports.OPP = _chunkGNK7SESQcjs.OPP; exports.PAINT_COLOR_JSON_SCHEMA = _chunkEBDCRTZIcjs.PAINT_COLOR_JSON_SCHEMA; exports.PAINT_GRADIENT_FULL_SPEED = _chunkEBDCRTZIcjs.PAINT_GRADIENT_FULL_SPEED; exports.PAINT_GRADIENT_JSON_SCHEMA = _chunkEBDCRTZIcjs.PAINT_GRADIENT_JSON_SCHEMA; exports.PAINT_GRADIENT_KIT = _chunkEBDCRTZIcjs.PAINT_GRADIENT_KIT; exports.PAINT_GRADIENT_MAPPINGS = _chunkEBDCRTZIcjs.PAINT_GRADIENT_MAPPINGS; exports.PAINT_GRADIENT_MAPPING_LABELS = _chunkEBDCRTZIcjs.PAINT_GRADIENT_MAPPING_LABELS; exports.PAINT_GRADIENT_PRESETS = _chunkEBDCRTZIcjs.PAINT_GRADIENT_PRESETS; exports.PAINT_GRADIENT_REPEATS = _chunkEBDCRTZIcjs.PAINT_GRADIENT_REPEATS; exports.PAINT_GRADIENT_REPEAT_LABELS = _chunkEBDCRTZIcjs.PAINT_GRADIENT_REPEAT_LABELS; exports.PAINT_GRADIENT_SPACES = _chunkEBDCRTZIcjs.PAINT_GRADIENT_SPACES; exports.PAINT_GRADIENT_SPACE_LABELS = _chunkEBDCRTZIcjs.PAINT_GRADIENT_SPACE_LABELS; exports.PAINT_SOURCE_JSON_SCHEMA = _chunkEBDCRTZIcjs.PAINT_SOURCE_JSON_SCHEMA; exports.PAPER_CAPACITY = _chunkGNK7SESQcjs.PAPER_CAPACITY; exports.PARAM = _chunkGNK7SESQcjs.PARAM; exports.PARAM_FLOATS = _chunkGNK7SESQcjs.PARAM_FLOATS; exports.PIGMENT_BANDS = _chunkCWM3CUUXcjs.PIGMENT_BANDS; exports.PIGMENT_CHANNELS = _chunkGNK7SESQcjs.PIGMENT_CHANNELS; exports.PIGMENT_LAMBDA_MIN = _chunkCWM3CUUXcjs.PIGMENT_LAMBDA_MIN; exports.PIGMENT_LAMBDA_STEP = _chunkCWM3CUUXcjs.PIGMENT_LAMBDA_STEP; exports.PIGMENT_UNIT = _chunkGNK7SESQcjs.PIGMENT_UNIT; exports.PIGMENT_WAVELENGTHS = _chunkCWM3CUUXcjs.PIGMENT_WAVELENGTHS; exports.PLANE = _chunkGNK7SESQcjs.PLANE; exports.PLANE_BYTES = _chunkGNK7SESQcjs.PLANE_BYTES; exports.P_D0 = _chunkGNK7SESQcjs.P_D0; exports.P_EDGE = _chunkGNK7SESQcjs.P_EDGE; exports.P_FX = _chunkGNK7SESQcjs.P_FX; exports.P_FY = _chunkGNK7SESQcjs.P_FY; exports.P_H = _chunkGNK7SESQcjs.P_H; exports.P_P0 = _chunkGNK7SESQcjs.P_P0; exports.P_RHO = _chunkGNK7SESQcjs.P_RHO; exports.P_SW = _chunkGNK7SESQcjs.P_SW; exports.P_UX = _chunkGNK7SESQcjs.P_UX; exports.P_UY = _chunkGNK7SESQcjs.P_UY; exports.PaintExchange = _chunkEBDCRTZIcjs.PaintExchange; exports.PaintGradientSampler = _chunkEBDCRTZIcjs.PaintGradientSampler; exports.PaintSourceError = _chunkEBDCRTZIcjs.PaintSourceError; exports.PaperGrain = _chunkEBDCRTZIcjs.PaperGrain; exports.RETOUCH_SAMPLES = _chunk7NW46N7Icjs.RETOUCH_SAMPLES; exports.RegionPixelSource = _chunk7NW46N7Icjs.RegionPixelSource; exports.RetouchDabStroke = _chunk7NW46N7Icjs.RetouchDabStroke; exports.SET_PLANES = _chunkGNK7SESQcjs.SET_PLANES; exports.SLOT_BYTES = _chunkGNK7SESQcjs.SLOT_BYTES; exports.SLOT_PLANES = _chunkGNK7SESQcjs.SLOT_PLANES; exports.SLOT_SIDE = _chunkGNK7SESQcjs.SLOT_SIDE; exports.SPOT_HEAL_TYPES = _chunk7NW46N7Icjs.SPOT_HEAL_TYPES; exports.SRGB_TO_LINEAR = _chunkGNK7SESQcjs.SRGB_TO_LINEAR; exports.STRIP = _chunkGNK7SESQcjs.STRIP; exports.SmudgeTip = _chunkEBDCRTZIcjs.SmudgeTip; exports.StrokeCoverage = _chunkEBDCRTZIcjs.StrokeCoverage; exports.TIP_GRADIENT_STEPS = _chunkEBDCRTZIcjs.TIP_GRADIENT_STEPS; exports.TONE_RANGES = _chunk7NW46N7Icjs.TONE_RANGES; exports.TileMedium = _chunkEBDCRTZIcjs.TileMedium; exports.TilePixelSource = _chunk7NW46N7Icjs.TilePixelSource; exports.TileableNoise = _chunkEBDCRTZIcjs.TileableNoise; exports.TransformedPixelSource = _chunk7NW46N7Icjs.TransformedPixelSource; exports.U_MAX = _chunkGNK7SESQcjs.U_MAX; exports.W9 = _chunkGNK7SESQcjs.W9; exports.WET_FLOW_KINDS = _chunkGNK7SESQcjs.WET_FLOW_KINDS; exports.WET_PARAM_KEYS = _chunkGNK7SESQcjs.WET_PARAM_KEYS; exports.WET_TILE = _chunkGNK7SESQcjs.WET_TILE; exports.WGSL_HALO = _chunkGNK7SESQcjs.WGSL_HALO; exports.WGSL_SHADE = _chunkGNK7SESQcjs.WGSL_SHADE; exports.WGSL_STEP = _chunkGNK7SESQcjs.WGSL_STEP; exports.WetGpuEngine = _chunkGNK7SESQcjs.WetGpuEngine; exports.WetMedium = _chunkGNK7SESQcjs.WetMedium; exports.WetWorkerPool = _chunkGNK7SESQcjs.WetWorkerPool; exports.WetWorld = _chunkGNK7SESQcjs.WetWorld; exports.WetWorldError = _chunkGNK7SESQcjs.WetWorldError; exports.addPaintGradientStop = _chunkEBDCRTZIcjs.addPaintGradientStop; exports.applyRetouchToTile = _chunk7NW46N7Icjs.applyRetouchToTile; exports.applyStrokeToDeepTile = _chunkEBDCRTZIcjs.applyStrokeToDeepTile; exports.applyStrokeToTile = _chunkEBDCRTZIcjs.applyStrokeToTile; exports.applyToneToDeepTile = _chunk7NW46N7Icjs.applyToneToDeepTile; exports.bestOffset = _chunk7NW46N7Icjs.bestOffset; exports.blendRadius = _chunkEBDCRTZIcjs.blendRadius; exports.blenderDab = _chunkEBDCRTZIcjs.blenderDab; exports.boxBlurPixels = _chunk7NW46N7Icjs.boxBlurPixels; exports.brushstrokeDataUrl = _chunkEBDCRTZIcjs.brushstrokeDataUrl; exports.brushstrokeKey = _chunkEBDCRTZIcjs.brushstrokeKey; exports.brushstrokeSamples = _chunkEBDCRTZIcjs.brushstrokeSamples; exports.brushstrokeScaleBucket = _chunkYQGCPL5Xcjs.brushstrokeScaleBucket; exports.brushstrokeStrokeOptions = _chunkEBDCRTZIcjs.brushstrokeStrokeOptions; exports.brushstrokeToCanvas = _chunkEBDCRTZIcjs.brushstrokeToCanvas; exports.canShareMemory = _chunkGNK7SESQcjs.canShareMemory; exports.cleanMixer = _chunkEBDCRTZIcjs.cleanMixer; exports.cloneSamplePoint = _chunk7NW46N7Icjs.cloneSamplePoint; exports.contentAwareFill = _chunk7NW46N7Icjs.contentAwareFill; exports.coverageTileCoord = _chunkEBDCRTZIcjs.coverageTileCoord; exports.createBlenderScratch = _chunkEBDCRTZIcjs.createBlenderScratch; exports.createPigment = _chunkCWM3CUUXcjs.createPigment; exports.createPigmentTools = _chunkGNK7SESQcjs.createPigmentTools; exports.createWetGpuEngine = _chunkGNK7SESQcjs.createWetGpuEngine; exports.dabCoverage = _chunkEBDCRTZIcjs.dabCoverage; exports.dabRect = _chunkEBDCRTZIcjs.dabRect; exports.dexp = _chunkGNK7SESQcjs.dexp; exports.dilateMask = _chunk7NW46N7Icjs.dilateMask; exports.dlog = _chunkGNK7SESQcjs.dlog; exports.dodgeBurn = _chunk7NW46N7Icjs.dodgeBurn; exports.dodgeBurnCurve = _chunk7NW46N7Icjs.dodgeBurnCurve; exports.dpow = _chunkGNK7SESQcjs.dpow; exports.dsincos = _chunkGNK7SESQcjs.dsincos; exports.edgeBits = _chunkGNK7SESQcjs.edgeBits; exports.exchangeRates = _chunkEBDCRTZIcjs.exchangeRates; exports.expNeg = _chunkGNK7SESQcjs.expNeg; exports.filmPixel = _chunkGNK7SESQcjs.filmPixel; exports.filmReflectance = _chunkGNK7SESQcjs.filmReflectance; exports.findWebGpu = _chunkGNK7SESQcjs.findWebGpu; exports.flowField = _chunkGNK7SESQcjs.flowField; exports.gradientDabColor = _chunkEBDCRTZIcjs.gradientDabColor; exports.grainCatch = _chunkEBDCRTZIcjs.grainCatch; exports.grainHeights = _chunkEBDCRTZIcjs.grainHeights; exports.hash2 = _chunkEBDCRTZIcjs.hash2; exports.healPixels = _chunk7NW46N7Icjs.healPixels; exports.hexToPaintRgb = _chunkEBDCRTZIcjs.hexToPaintRgb; exports.isBrushstrokeBrush = _chunkEBDCRTZIcjs.isBrushstrokeBrush; exports.isGradientPaint = _chunkEBDCRTZIcjs.isGradientPaint; exports.isIdentityCloneTransform = _chunk7NW46N7Icjs.isIdentityCloneTransform; exports.latticeViscosity = _chunkGNK7SESQcjs.latticeViscosity; exports.lerpPigment = _chunkCWM3CUUXcjs.lerpPigment; exports.lerpPigmentInto = _chunkCWM3CUUXcjs.lerpPigmentInto; exports.linearToSrgb8 = _chunkGNK7SESQcjs.linearToSrgb8; exports.loadMixer = _chunkEBDCRTZIcjs.loadMixer; exports.loadWetKernel = _chunkGNK7SESQcjs.loadWetKernel; exports.luma = _chunk7NW46N7Icjs.luma; exports.maskBounds = _chunk7NW46N7Icjs.maskBounds; exports.membraneFill = _chunk7NW46N7Icjs.membraneFill; exports.mix32 = _chunkEBDCRTZIcjs.mix32; exports.mixPigments = _chunkCWM3CUUXcjs.mixPigments; exports.mixerRates = _chunkEBDCRTZIcjs.mixerRates; exports.normalizeBlender = _chunkEBDCRTZIcjs.normalizeBlender; exports.normalizeBrush = _chunkEBDCRTZIcjs.normalizeBrush; exports.normalizeFlow = _chunkGNK7SESQcjs.normalizeFlow; exports.normalizeHexColor = _chunkEBDCRTZIcjs.normalizeHexColor; exports.normalizeMixer = _chunkEBDCRTZIcjs.normalizeMixer; exports.normalizeRetouch = _chunk7NW46N7Icjs.normalizeRetouch; exports.normalizeSmudge = _chunkEBDCRTZIcjs.normalizeSmudge; exports.normalizeTilt = _chunkGNK7SESQcjs.normalizeTilt; exports.normalizeWetParams = _chunkGNK7SESQcjs.normalizeWetParams; exports.packWetParams = _chunkGNK7SESQcjs.packWetParams; exports.paintGradientMappingFor = _chunkEBDCRTZIcjs.paintGradientMappingFor; exports.paintPathStroke = _chunkEBDCRTZIcjs.paintPathStroke; exports.paintSourceColor = _chunkEBDCRTZIcjs.paintSourceColor; exports.paintSourceCss = _chunkEBDCRTZIcjs.paintSourceCss; exports.parsePaintSource = _chunkEBDCRTZIcjs.parsePaintSource; exports.pathStrokeCoverage = _chunkEBDCRTZIcjs.pathStrokeCoverage; exports.pathStrokeDabs = _chunkEBDCRTZIcjs.pathStrokeDabs; exports.perDabStrength = _chunk7NW46N7Icjs.perDabStrength; exports.pigmentColor = _chunkGNK7SESQcjs.pigmentColor; exports.pigmentOf = _chunkGNK7SESQcjs.pigmentOf; exports.pixelPigment = _chunkGNK7SESQcjs.pixelPigment; exports.pointerPressure = _chunkGNK7SESQcjs.pointerPressure; exports.pointerStrokeSample = _chunkGNK7SESQcjs.pointerStrokeSample; exports.pointerStrokeSamples = _chunkGNK7SESQcjs.pointerStrokeSamples; exports.put255 = _chunkEBDCRTZIcjs.put255; exports.rand01 = _chunkEBDCRTZIcjs.rand01; exports.randSigned = _chunkEBDCRTZIcjs.randSigned; exports.rasterizeDab = _chunkEBDCRTZIcjs.rasterizeDab; exports.readPaintSource = _chunkEBDCRTZIcjs.readPaintSource; exports.readSourceRegion = _chunk7NW46N7Icjs.readSourceRegion; exports.reflectanceToRgb = _chunkCWM3CUUXcjs.reflectanceToRgb; exports.removePaintGradientStop = _chunkEBDCRTZIcjs.removePaintGradientStop; exports.renderBrushstroke = _chunkEBDCRTZIcjs.renderBrushstroke; exports.resolvePaintGradient = _chunkEBDCRTZIcjs.resolvePaintGradient; exports.retouchFilter = _chunk7NW46N7Icjs.retouchFilter; exports.reversePaintGradient = _chunkEBDCRTZIcjs.reversePaintGradient; exports.rgbToReflectance = _chunkCWM3CUUXcjs.rgbToReflectance; exports.rgbaViewOfGrey = _chunk7NW46N7Icjs.rgbaViewOfGrey; exports.saturationOf = _chunk7NW46N7Icjs.saturationOf; exports.scalePaintGradient = _chunkEBDCRTZIcjs.scalePaintGradient; exports.seamlessClone = _chunk7NW46N7Icjs.seamlessClone; exports.seedFromString = _chunkEBDCRTZIcjs.seedFromString; exports.setPigmentColor = _chunkCWM3CUUXcjs.setPigmentColor; exports.shadeTile = _chunkGNK7SESQcjs.shadeTile; exports.smoothPoints = _chunkEBDCRTZIcjs.smoothPoints; exports.smudgeEffect = _chunk7NW46N7Icjs.smudgeEffect; exports.solidPaint = _chunkEBDCRTZIcjs.solidPaint; exports.solveMembrane = _chunk7NW46N7Icjs.solveMembrane; exports.sponge = _chunk7NW46N7Icjs.sponge; exports.spongeEffect = _chunk7NW46N7Icjs.spongeEffect; exports.spotHealPixels = _chunk7NW46N7Icjs.spotHealPixels; exports.spotHealWindow = _chunk7NW46N7Icjs.spotHealWindow; exports.srgbByteToLinear = _chunkGNK7SESQcjs.srgbByteToLinear; exports.stepSlotTs = _chunkGNK7SESQcjs.stepSlotTs; exports.strokeGrainCatch = _chunkEBDCRTZIcjs.strokeGrainCatch; exports.tipFalloff = _chunkEBDCRTZIcjs.tipFalloff; exports.tipReach = _chunkEBDCRTZIcjs.tipReach; exports.tipShape = _chunkEBDCRTZIcjs.tipShape; exports.toneOf = _chunk7NW46N7Icjs.toneOf; exports.updatePaintGradientStop = _chunkEBDCRTZIcjs.updatePaintGradientStop; exports.walkDabs = _chunkEBDCRTZIcjs.walkDabs; exports.wetGpuSupport = _chunkGNK7SESQcjs.wetGpuSupport; exports.wetSimdSupported = _chunkGNK7SESQcjs.wetSimdSupported; exports.wetSupport = _chunkGNK7SESQcjs.wetSupport;
|
package/dist/paint/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
spotHealPixels,
|
|
37
37
|
spotHealWindow,
|
|
38
38
|
toneOf
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-EL5PAHNP.js";
|
|
40
40
|
import {
|
|
41
41
|
BODY_SCATTER,
|
|
42
42
|
DEFAULT_FLOW,
|
|
@@ -224,7 +224,7 @@ import {
|
|
|
224
224
|
tipShape,
|
|
225
225
|
updatePaintGradientStop,
|
|
226
226
|
walkDabs
|
|
227
|
-
} from "../chunk-
|
|
227
|
+
} from "../chunk-2N2QPO3H.js";
|
|
228
228
|
import {
|
|
229
229
|
BRUSHSTROKE_MAX_SCALE,
|
|
230
230
|
BRUSHSTROKE_MIN_SCALE,
|
|
@@ -191,6 +191,23 @@ export interface FillLayerOptions {
|
|
|
191
191
|
pressure?: number;
|
|
192
192
|
blend?: BlendMode;
|
|
193
193
|
}
|
|
194
|
+
/** Pixels to add on each side of the canvas (whole numbers, 0 or more; missing = 0). */
|
|
195
|
+
export interface PaintCanvasExtension {
|
|
196
|
+
left?: number;
|
|
197
|
+
top?: number;
|
|
198
|
+
right?: number;
|
|
199
|
+
bottom?: number;
|
|
200
|
+
}
|
|
201
|
+
export interface PaintCanvasExtended {
|
|
202
|
+
canvas: PaintCanvas;
|
|
203
|
+
/** The new canvas in the previous document's pixels: x −left, y −top and the new size. */
|
|
204
|
+
rect: RasterRect;
|
|
205
|
+
/** The document's origin after the change (see `PaintDocumentState.origin`). */
|
|
206
|
+
origin: {
|
|
207
|
+
x: number;
|
|
208
|
+
y: number;
|
|
209
|
+
};
|
|
210
|
+
}
|
|
194
211
|
export interface ReplayOptions extends StrokeVariation {
|
|
195
212
|
/** Recorded stroke ids (see `getStrokes`). */
|
|
196
213
|
strokeIds: readonly string[];
|
|
@@ -323,6 +340,7 @@ export declare class PaintEditorController {
|
|
|
323
340
|
private withWetEvents;
|
|
324
341
|
undo(): string | null;
|
|
325
342
|
redo(): string | null;
|
|
343
|
+
private restoreGuides;
|
|
326
344
|
/** Labels of the undo steps, oldest first. */
|
|
327
345
|
historyLabels(): {
|
|
328
346
|
undo: string[];
|
|
@@ -335,6 +353,18 @@ export declare class PaintEditorController {
|
|
|
335
353
|
}): PaintDocumentState;
|
|
336
354
|
/** Changes the canvas size (keeping the pixels where they are, anchored top-left) or resolution. */
|
|
337
355
|
setCanvas(update: Partial<PaintCanvas>): PaintCanvas;
|
|
356
|
+
/**
|
|
357
|
+
* Grows the canvas by `left`, `top`, `right` and `bottom` pixels without moving anything
|
|
358
|
+
* relative to anything else: the layers (with their masks, relief and stickers), the paper grain,
|
|
359
|
+
* the effect paper, guides, stencils, the tracing image and the recorded strokes and events all
|
|
360
|
+
* move by (left, top) in document pixels, `document.origin` moves by (−left, −top), and the view
|
|
361
|
+
* pans so the picture stays still on screen.
|
|
362
|
+
*
|
|
363
|
+
* Wet paint dries first (the wet simulation is canvas-sized), as with `setCanvas`; one undo step
|
|
364
|
+
* (undo brings back the old size, origin and guides, and the wet paint). Returns the new canvas,
|
|
365
|
+
* where it sits in the previous document's pixels, and the origin.
|
|
366
|
+
*/
|
|
367
|
+
extendCanvas(by: PaintCanvasExtension): PaintCanvasExtended;
|
|
338
368
|
/** Changes the paper: a library preset (`preset`), and / or any of its settings (one undo step). */
|
|
339
369
|
setPaper(update: Partial<PaperSettings> & {
|
|
340
370
|
preset?: string;
|
|
@@ -191,6 +191,23 @@ export interface FillLayerOptions {
|
|
|
191
191
|
pressure?: number;
|
|
192
192
|
blend?: BlendMode;
|
|
193
193
|
}
|
|
194
|
+
/** Pixels to add on each side of the canvas (whole numbers, 0 or more; missing = 0). */
|
|
195
|
+
export interface PaintCanvasExtension {
|
|
196
|
+
left?: number;
|
|
197
|
+
top?: number;
|
|
198
|
+
right?: number;
|
|
199
|
+
bottom?: number;
|
|
200
|
+
}
|
|
201
|
+
export interface PaintCanvasExtended {
|
|
202
|
+
canvas: PaintCanvas;
|
|
203
|
+
/** The new canvas in the previous document's pixels: x −left, y −top and the new size. */
|
|
204
|
+
rect: RasterRect;
|
|
205
|
+
/** The document's origin after the change (see `PaintDocumentState.origin`). */
|
|
206
|
+
origin: {
|
|
207
|
+
x: number;
|
|
208
|
+
y: number;
|
|
209
|
+
};
|
|
210
|
+
}
|
|
194
211
|
export interface ReplayOptions extends StrokeVariation {
|
|
195
212
|
/** Recorded stroke ids (see `getStrokes`). */
|
|
196
213
|
strokeIds: readonly string[];
|
|
@@ -323,6 +340,7 @@ export declare class PaintEditorController {
|
|
|
323
340
|
private withWetEvents;
|
|
324
341
|
undo(): string | null;
|
|
325
342
|
redo(): string | null;
|
|
343
|
+
private restoreGuides;
|
|
326
344
|
/** Labels of the undo steps, oldest first. */
|
|
327
345
|
historyLabels(): {
|
|
328
346
|
undo: string[];
|
|
@@ -335,6 +353,18 @@ export declare class PaintEditorController {
|
|
|
335
353
|
}): PaintDocumentState;
|
|
336
354
|
/** Changes the canvas size (keeping the pixels where they are, anchored top-left) or resolution. */
|
|
337
355
|
setCanvas(update: Partial<PaintCanvas>): PaintCanvas;
|
|
356
|
+
/**
|
|
357
|
+
* Grows the canvas by `left`, `top`, `right` and `bottom` pixels without moving anything
|
|
358
|
+
* relative to anything else: the layers (with their masks, relief and stickers), the paper grain,
|
|
359
|
+
* the effect paper, guides, stencils, the tracing image and the recorded strokes and events all
|
|
360
|
+
* move by (left, top) in document pixels, `document.origin` moves by (−left, −top), and the view
|
|
361
|
+
* pans so the picture stays still on screen.
|
|
362
|
+
*
|
|
363
|
+
* Wet paint dries first (the wet simulation is canvas-sized), as with `setCanvas`; one undo step
|
|
364
|
+
* (undo brings back the old size, origin and guides, and the wet paint). Returns the new canvas,
|
|
365
|
+
* where it sits in the previous document's pixels, and the origin.
|
|
366
|
+
*/
|
|
367
|
+
extendCanvas(by: PaintCanvasExtension): PaintCanvasExtended;
|
|
338
368
|
/** Changes the paper: a library preset (`preset`), and / or any of its settings (one undo step). */
|
|
339
369
|
setPaper(update: Partial<PaperSettings> & {
|
|
340
370
|
preset?: string;
|
|
@@ -49,6 +49,14 @@ export interface PaintDocumentState {
|
|
|
49
49
|
effectLayers?: Readonly<Record<string, PaintEffectSource>>;
|
|
50
50
|
/** Effect paper: a provider generator drawn over the paper, under the paint. */
|
|
51
51
|
paperEffect?: PaintPaperEffect;
|
|
52
|
+
/**
|
|
53
|
+
* Where this document's (0, 0) is in the coordinates of the canvas it grew from (missing = 0, 0).
|
|
54
|
+
* `extendCanvas({ left: 100 })` moves it to x −100; a host maps its own coordinates with it.
|
|
55
|
+
*/
|
|
56
|
+
origin?: {
|
|
57
|
+
x: number;
|
|
58
|
+
y: number;
|
|
59
|
+
};
|
|
52
60
|
}
|
|
53
61
|
/** A change a replay repeats besides strokes, recorded with how many strokes came before it. */
|
|
54
62
|
export interface PaintEvent {
|
|
@@ -49,6 +49,14 @@ export interface PaintDocumentState {
|
|
|
49
49
|
effectLayers?: Readonly<Record<string, PaintEffectSource>>;
|
|
50
50
|
/** Effect paper: a provider generator drawn over the paper, under the paint. */
|
|
51
51
|
paperEffect?: PaintPaperEffect;
|
|
52
|
+
/**
|
|
53
|
+
* Where this document's (0, 0) is in the coordinates of the canvas it grew from (missing = 0, 0).
|
|
54
|
+
* `extendCanvas({ left: 100 })` moves it to x −100; a host maps its own coordinates with it.
|
|
55
|
+
*/
|
|
56
|
+
origin?: {
|
|
57
|
+
x: number;
|
|
58
|
+
y: number;
|
|
59
|
+
};
|
|
52
60
|
}
|
|
53
61
|
/** A change a replay repeats besides strokes, recorded with how many strokes came before it. */
|
|
54
62
|
export interface PaintEvent {
|