|
rigSvg 0.1.0
RigKit pack API - rigSvg
|
#include <string>#include "ParsedPathDoc.h"Functions | |
| bool | rigkit::svg::writeDocument (const plot::ParsedPathDoc &doc, std::string &outJson) |
| Project ParsedPathDoc through a RigWorks 0.40.0 document. | |
| bool | rigkit::svg::readDocument (const std::string &jsonText, plot::ParsedPathDoc &out) |
| Read a RigWorks document back into ParsedPathDoc. | |
| bool rigkit::svg::readDocument | ( | const std::string & | jsonText, |
| plot::ParsedPathDoc & | out ) |
Read a RigWorks document back into ParsedPathDoc.
Rebuilds bags from rig.geometry.path, rig.media.text, rig.media.text_path, rig.paint.clip, and rig.media.font_face.
| bool rigkit::svg::writeDocument | ( | const plot::ParsedPathDoc & | doc, |
| std::string & | outJson ) |
Project ParsedPathDoc through a RigWorks 0.40.0 document.
One entity per path, text run, clip, font-face, and gradient. CSS is not expanded here - only fields the loader already filled.