Add Text rendering
- Add FreeType as dependency - Add MsdfGen as dependency - Add MsdfAtlasGen as dependency
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstdlib>
|
||||
#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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user