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