Navigation
API > API/Editor > API/Editor/SVGDistanceField
The strategy of scaling the SVG coordinate system units to output pixels
| Name | ESvgDistanceFieldScaleMode |
| Type | enum |
| Header File | /Engine/Source/Editor/SVGDistanceField/Public/SvgDistanceFieldConfiguration.h |
| Include Path | #include "SvgDistanceFieldConfiguration.h" |
Syntax
enum ESvgDistanceFieldScaleMode
{
ExplicitScale,
FitCanvas,
FitPaddedCanvas,
FitBoundingBox,
}
Values
| Name | Remarks |
|---|---|
| ExplicitScale | The SVG coordinates are to be multiplied by the Scale value. |
| FitCanvas | Scale is selected so that the entire SVG canvas tightly fits the output image. |
| FitPaddedCanvas | Scale is selected so that the SVG canvas padded by the outer distance spread on each side tightly fits the output image. |
| FitBoundingBox | Scale is selected so that all areas with a signed distance above the minimum representable value tightly fit the output image. |