import-svg.h 282 B

123456789101112
  1. #pragma once
  2. #include <cstdlib>
  3. #include "../core/Shape.h"
  4. namespace msdfgen {
  5. /// Reads the first path found in the specified SVG file and stores it as a Shape in output.
  6. bool loadSvgShape(Shape &output, const char *filename, int pathIndex = 0, Vector2 *dimensions = NULL);
  7. }