20 行
863 B
C
20 行
863 B
C
#pragma once
|
|
#include "MaskCore/DYMaskOperator.h"
|
|
struct DYToolMaskEntry {
|
|
DYResolvedMask mask;
|
|
int section,combine;
|
|
// Image coordinates for face contours (-100) and mosaic face boxes (-102).
|
|
// Local path coordinates for authored Bézier mosaic masks.
|
|
float minX,minY,maxX,maxY;
|
|
};
|
|
enum DYToolMaskKeySource : unsigned { DYToolMaskLayerKey=1, DYToolMaskOriginalKey=2 };
|
|
struct DYToolMaskHeader {unsigned count;float offsetX,offsetY,scaleX,scaleY;int section,premultiplied,faceOnly,skinPreview;unsigned keySources;};
|
|
struct DYToolStageRange {int first,last,suppressBlackWhite;};
|
|
|
|
// Destination coverage and the source sampling transform are independent.
|
|
struct DYCloneStamp {
|
|
float centerX,centerY,sourceX,sourceY,samplingScaleX,samplingScaleY;
|
|
float inverseRadiusX,inverseRadiusY,feather,strength,inputBlack,inputWhite,inputGamma;
|
|
unsigned subpixel;
|
|
};
|