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

Function generatePseudoSDF

MyGUIEngine/src/msdfgen/core/msdfgen.cpp:140–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138// Legacy API
139
140void generatePseudoSDF(const BitmapSection<float, 1> &output, const Shape &shape, const Projection &projection, Range range, const GeneratorConfig &config) {
141 generatePSDF(output, shape, SDFTransformation(projection, range), config);
142}
143
144void generateSDF(const BitmapSection<float, 1> &output, const Shape &shape, Range range, const Vector2 &scale, const Vector2 &translate, bool overlapSupport) {
145 generateSDF(output, shape, Projection(scale, translate), range, GeneratorConfig(overlapSupport));

Callers

nothing calls this directly

Calls 4

generatePSDFFunction · 0.85
SDFTransformationClass · 0.85
ProjectionClass · 0.85
GeneratorConfigClass · 0.85

Tested by

no test coverage detected