@@ -84,6 +84,12 @@ void msdfFastDistanceErrorCorrection(const BitmapRef<float, 3> &sdf, const Proje
8484void msdfFastDistanceErrorCorrection (const BitmapRef<float , 4 > &sdf, const Projection &projection, Range range, double minDeviationRatio) {
8585 msdfErrorCorrectionShapeless (sdf, SDFTransformation (projection, range), minDeviationRatio, false );
8686}
87+ void msdfFastDistanceErrorCorrection (const BitmapRef<float , 3 > &sdf, Range pxRange, double minDeviationRatio) {
88+ msdfErrorCorrectionShapeless (sdf, SDFTransformation (Projection (), pxRange), minDeviationRatio, false );
89+ }
90+ void msdfFastDistanceErrorCorrection (const BitmapRef<float , 4 > &sdf, Range pxRange, double minDeviationRatio) {
91+ msdfErrorCorrectionShapeless (sdf, SDFTransformation (Projection (), pxRange), minDeviationRatio, false );
92+ }
8793
8894void msdfFastEdgeErrorCorrection (const BitmapRef<float , 3 > &sdf, const SDFTransformation &transformation, double minDeviationRatio) {
8995 msdfErrorCorrectionShapeless (sdf, transformation, minDeviationRatio, true );
@@ -97,6 +103,12 @@ void msdfFastEdgeErrorCorrection(const BitmapRef<float, 3> &sdf, const Projectio
97103void msdfFastEdgeErrorCorrection (const BitmapRef<float , 4 > &sdf, const Projection &projection, Range range, double minDeviationRatio) {
98104 msdfErrorCorrectionShapeless (sdf, SDFTransformation (projection, range), minDeviationRatio, true );
99105}
106+ void msdfFastEdgeErrorCorrection (const BitmapRef<float , 3 > &sdf, Range pxRange, double minDeviationRatio) {
107+ msdfErrorCorrectionShapeless (sdf, SDFTransformation (Projection (), pxRange), minDeviationRatio, true );
108+ }
109+ void msdfFastEdgeErrorCorrection (const BitmapRef<float , 4 > &sdf, Range pxRange, double minDeviationRatio) {
110+ msdfErrorCorrectionShapeless (sdf, SDFTransformation (Projection (), pxRange), minDeviationRatio, true );
111+ }
100112
101113
102114// Legacy version
0 commit comments