msdf-artifact-patcher.h 647 B

123456789101112131415
  1. #pragma once
  2. #include "Vector2.h"
  3. #include "Shape.h"
  4. #include "Projection.h"
  5. #include "BitmapRef.hpp"
  6. #include "generator-config.h"
  7. namespace msdfgen {
  8. void msdfPatchArtifacts(const BitmapRef<float, 3> &sdf, const Shape &shape, const Projection &projection, double range, const GeneratorConfig &generatorConfig = GeneratorConfig(), const ArtifactPatcherConfig &config = ArtifactPatcherConfig());
  9. void msdfPatchArtifacts(const BitmapRef<float, 4> &sdf, const Shape &shape, const Projection &projection, double range, const GeneratorConfig &generatorConfig = GeneratorConfig(), const ArtifactPatcherConfig &config = ArtifactPatcherConfig());
  10. }