#include "Shape.h" #include <cstdlib> #include "arithmetics.hpp" namespace msdfgen { Shape::Shape() : … { … } void Shape::addContour(const Contour &contour) { … } #ifdef MSDFGEN_USE_CPP11 void Shape::addContour(Contour &&contour) { contours.push_back((Contour &&) contour); } #endif Contour &Shape::addContour() { … } bool Shape::validate() const { … } static void deconvergeEdge(EdgeHolder &edgeHolder, int param) { … } void Shape::normalize() { … } void Shape::bound(double &l, double &b, double &r, double &t) const { … } void Shape::boundMiters(double &l, double &b, double &r, double &t, double border, double miterLimit, int polarity) const { … } Shape::Bounds Shape::getBounds(double border, double miterLimit, int polarity) const { … } void Shape::scanline(Scanline &line, double y) const { … } int Shape::edgeCount() const { … } void Shape::orientContours() { … } }