#include "render-sdf.h" #include "arithmetics.hpp" #include "pixel-conversion.hpp" #include "bitmap-interpolation.hpp" namespace msdfgen { static float distVal(float dist, double pxRange, float midValue) { … } void renderSDF(const BitmapRef<float, 1> &output, const BitmapConstRef<float, 1> &sdf, double pxRange, float midValue) { … } void renderSDF(const BitmapRef<float, 3> &output, const BitmapConstRef<float, 1> &sdf, double pxRange, float midValue) { … } void renderSDF(const BitmapRef<float, 1> &output, const BitmapConstRef<float, 3> &sdf, double pxRange, float midValue) { … } void renderSDF(const BitmapRef<float, 3> &output, const BitmapConstRef<float, 3> &sdf, double pxRange, float midValue) { … } void renderSDF(const BitmapRef<float, 1> &output, const BitmapConstRef<float, 4> &sdf, double pxRange, float midValue) { … } void renderSDF(const BitmapRef<float, 4> &output, const BitmapConstRef<float, 4> &sdf, double pxRange, float midValue) { … } void simulate8bit(const BitmapRef<float, 1> &bitmap) { … } void simulate8bit(const BitmapRef<float, 3> &bitmap) { … } void simulate8bit(const BitmapRef<float, 4> &bitmap) { … } }