rigSvg 0.1.0
RigKit pack API - rigSvg
Loading...
Searching...
No Matches
SvgPathParser.h File Reference
#include <string>
#include "CPath.h"
Include dependency graph for SvgPathParser.h:

Functions

bool rigkit::svg::parsePathD (const std::string &d, ecs::CPath &out)
 Parse an SVG path d attribute into a CPath.

Function Documentation

◆ parsePathD()

bool rigkit::svg::parsePathD ( const std::string & d,
ecs::CPath & out )

Parse an SVG path d attribute into a CPath.

Supports M/L/H/V/C/S/Q/T/A/Z (absolute + relative). Arcs stay ArcTo (SVG A). Smooth S/T reflect the previous control.