Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
16 lines
437 B
C++
16 lines
437 B
C++
|
|
#pragma once
|
|
|
|
#include <cstdio>
|
|
#include "Shape.h"
|
|
|
|
namespace msdfgen {
|
|
|
|
/// Deserializes a text description of a vector shape into output.
|
|
bool readShapeDescription(FILE *input, Shape &output, bool *colorsSpecified = NULL);
|
|
bool readShapeDescription(const char *input, Shape &output, bool *colorsSpecified = NULL);
|
|
/// Serializes a shape object into a text description.
|
|
bool writeShapeDescription(FILE *output, const Shape &shape);
|
|
|
|
}
|