#pragma once #include "MaskCore/DYMaskOperator.h" struct DYToolMaskEntry { DYResolvedMask mask; int section,combine; // Image-normalized bounds of a detected face contour (section -100). float minX,minY,maxX,maxY; }; struct DYToolMaskHeader {unsigned count;float offsetX,offsetY,scaleX,scaleY;int section,premultiplied,faceOnly,skinPreview;}; 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; };