| 90 | } |
| 91 | |
| 92 | void generateMSDF(const BitmapSection<float, 3> &output, const Shape &shape, const SDFTransformation &transformation, const MSDFGeneratorConfig &config) { |
| 93 | if (config.overlapSupport) |
| 94 | generateDistanceField<OverlappingContourCombiner<MultiDistanceSelector> >(output, shape, transformation); |
| 95 | else |
| 96 | generateDistanceField<SimpleContourCombiner<MultiDistanceSelector> >(output, shape, transformation); |
| 97 | msdfErrorCorrection(output, shape, transformation, config); |
| 98 | } |
| 99 | |
| 100 | void generateMTSDF(const BitmapSection<float, 4> &output, const Shape &shape, const SDFTransformation &transformation, const MSDFGeneratorConfig &config) { |
| 101 | if (config.overlapSupport) |
no test coverage detected