MCPcopy Create free account
hub / github.com/MyGUI/mygui / generatePSDF

Function generatePSDF

MyGUIEngine/src/msdfgen/core/msdfgen.cpp:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void generatePSDF(const BitmapSection<float, 1> &output, const Shape &shape, const SDFTransformation &transformation, const GeneratorConfig &config) {
86 if (config.overlapSupport)
87 generateDistanceField<OverlappingContourCombiner<PerpendicularDistanceSelector> >(output, shape, transformation);
88 else
89 generateDistanceField<SimpleContourCombiner<PerpendicularDistanceSelector> >(output, shape, transformation);
90}
91
92void generateMSDF(const BitmapSection<float, 3> &output, const Shape &shape, const SDFTransformation &transformation, const MSDFGeneratorConfig &config) {
93 if (config.overlapSupport)

Callers 2

mainFunction · 0.85
generatePseudoSDFFunction · 0.85

Calls 3

SDFTransformationClass · 0.85
ProjectionClass · 0.85
GeneratorConfigClass · 0.85

Tested by

no test coverage detected