#ifndef WXD_BITMAP_H
#define WXD_BITMAP_H
#include "../wxd_types.h"
WXD_EXPORTED wxd_Bitmap_t*
wxd_Bitmap_CreateFromRGBA(const unsigned char* data, int width, int height);
WXD_EXPORTED void
wxd_Bitmap_Destroy(wxd_Bitmap_t* bitmap);
WXD_EXPORTED int
wxd_Bitmap_GetWidth(const wxd_Bitmap_t* bitmap);
WXD_EXPORTED int
wxd_Bitmap_GetHeight(const wxd_Bitmap_t* bitmap);
WXD_EXPORTED bool
wxd_Bitmap_IsOk(const wxd_Bitmap_t* bitmap);
WXD_EXPORTED wxd_Bitmap_t*
wxd_Bitmap_Clone(const wxd_Bitmap_t* bitmap);
WXD_EXPORTED unsigned char*
wxd_Bitmap_GetRGBAData(const wxd_Bitmap_t* bitmap, size_t* width, size_t* height);
WXD_EXPORTED void
wxd_Bitmap_FreeRGBAData(unsigned char* data);
WXD_EXPORTED const wxd_Bitmap_t*
wxd_Bitmap_GetNull(void);
#endif