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