Files
kryon/include/preview_io.h
T
2026-07-21 15:38:11 -03:00

18 lines
774 B
C

#ifndef PREVIEW_IO_H
#define PREVIEW_IO_H
#include "preview_layers.h"
int LoadPreviewRectLayer(const char *path, Rectangle *rects, int capacity);
int SavePreviewRectLayer(const char *path, const Rectangle *rects, int count);
int LoadPreviewLineLayer(const char *path, PreviewLine *lines, int capacity);
int SavePreviewLineLayer(const char *path, const PreviewLine *lines, int count);
int LoadPreviewPointLayer(const char *path, Vector2 *points, int capacity);
int SavePreviewPointLayer(const char *path, const Vector2 *points, int count);
int LoadPreviewObjectLayer(const char *path, PreviewObject *objects,
int capacity);
int SavePreviewObjectLayer(const char *path, const PreviewObject *objects,
int count);
#endif