#pragma once #include "Vector2.hpp" #include "SignedDistance.hpp" #include "EdgeColor.h" namespace msdfgen { // Parameters for iterative search of closest point on a cubic Bezier curve. Increase for higher precision. #define MSDFGEN_CUBIC_SEARCH_STARTS … #define MSDFGEN_CUBIC_SEARCH_STEPS … /// An abstract edge segment. class EdgeSegment { … }; /// A line segment. class LinearSegment : public EdgeSegment { … }; /// A quadratic Bezier curve. class QuadraticSegment : public EdgeSegment { … }; /// A cubic Bezier curve. class CubicSegment : public EdgeSegment { … }; }