1
2#pragma once
3
4#include <cstdlib>
5#include <cstdio>
6#include "Shape.h"
7
8namespace msdfgen {
9
10/// Deserializes a text description of a vector shape into output.
11bool readShapeDescription(FILE *input, Shape &output, bool *colorsSpecified = NULL);
12bool readShapeDescription(const char *input, Shape &output, bool *colorsSpecified = NULL);
13/// Serializes a shape object into a text description.
14bool writeShapeDescription(FILE *output, const Shape &shape);
15
16}
17