| 98 | } |
| 99 | |
| 100 | void generateMTSDF(const BitmapSection<float, 4> &output, const Shape &shape, const SDFTransformation &transformation, const MSDFGeneratorConfig &config) { |
| 101 | if (config.overlapSupport) |
| 102 | generateDistanceField<OverlappingContourCombiner<MultiAndTrueDistanceSelector> >(output, shape, transformation); |
| 103 | else |
| 104 | generateDistanceField<SimpleContourCombiner<MultiAndTrueDistanceSelector> >(output, shape, transformation); |
| 105 | msdfErrorCorrection(output, shape, transformation, config); |
| 106 | } |
| 107 | |
| 108 | void generateSDF(const BitmapSection<float, 1> &output, const Shape &shape, const Projection &projection, Range range, const GeneratorConfig &config) { |
| 109 | if (config.overlapSupport) |
no test coverage detected