mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-06 18:56:54 +08:00
31 lines
836 B
C
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 */
|