2025-09-15 15:14:50 +02:00

31 lines
836 B
C

#ifndef SPINE_SPINE_ATLAS_H
#define SPINE_SPINE_ATLAS_H
#include "../base.h"
#include "types.h"
#include "arrays.h"
#ifdef __cplusplus
extern "C" {
#endif
SPINE_C_API void spine_atlas_dispose(spine_atlas self);
SPINE_C_API void spine_atlas_flip_v(spine_atlas self);
/**
* Returns the first region found with the specified name. This method uses
* String comparison to find the region, so the result should be cached rather
* than calling this method multiple times.
*
* @return The region, or nullptr.
*/
SPINE_C_API /*@null*/ spine_atlas_region spine_atlas_find_region(spine_atlas self, const char *name);
SPINE_C_API spine_array_atlas_page spine_atlas_get_pages(spine_atlas self);
SPINE_C_API spine_array_atlas_region spine_atlas_get_regions(spine_atlas self);
#ifdef __cplusplus
}
#endif
#endif /* SPINE_SPINE_ATLAS_H */