#pragma once #include #include "../shape/Shape.h" #include "SvgState.h" class EllipticalArcTo { public: static std::vector> absolute(SvgState& state, std::vector& args); static std::vector> relative(SvgState& state, std::vector& args); private: static std::vector> parseEllipticalArc(SvgState& state, std::vector& args, bool isAbsolute); static void createArc(std::vector>& shapes, Vector2 start, float rx, float ry, float theta, bool largeArcFlag, bool sweepFlag, Vector2 end); };