Toshihiro Shimizu 890ddd
#ifndef PLUGIN_TILE_INTERFACE
Toshihiro Shimizu 890ddd
#define PLUGIN_TILE_INTERFACE
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "toonz_hostif.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
int tile_interface_get_raw_address_unsafe(toonz_tile_handle_t handle, void **address);
Toshihiro Shimizu 890ddd
int tile_interface_get_raw_stride(toonz_tile_handle_t handle, int *stride);
Toshihiro Shimizu 890ddd
int tile_interface_get_element_type(toonz_tile_handle_t handle, int *element);
Toshihiro Shimizu 890ddd
int tile_interface_copy_rect(toonz_tile_handle_t handle, int left, int top, int width, int height, void *dst, int dststride);
Toshihiro Shimizu 890ddd
int tile_interface_create_from(toonz_tile_handle_t handle, toonz_tile_handle_t *newhandle);
Toshihiro Shimizu 890ddd
int tile_interface_create(toonz_tile_handle_t *newhandle);
Toshihiro Shimizu 890ddd
int tile_interface_destroy(toonz_tile_handle_t handle);
Toshihiro Shimizu 890ddd
int tile_interface_get_rectangle(toonz_tile_handle_t handle, toonz_rect_t *);
Toshihiro Shimizu 890ddd
int tile_interface_safen(toonz_tile_handle_t handle);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif