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