#pragma once #include <vector> #include "base.h" namespace msdfgen { /// Fill rule dictates how intersection total is interpreted during rasterization. enum FillRule { … }; /// Resolves the number of intersection into a binary fill value based on fill rule. bool interpretFillRule(int intersections, FillRule fillRule); /// Represents a horizontal scanline intersecting a shape. class Scanline { … }; }