mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +08:00
add bitmap_save_png
This commit is contained in:
parent
8e725384f3
commit
b74964b443
@ -415,6 +415,11 @@ ret_t bitmap_alloc_data(bitmap_t* bitmap);
|
||||
uint32_t bitmap_get_bpp_of_format(bitmap_format_t format);
|
||||
bool_t rgba_data_is_opaque(const uint8_t* data, uint32_t w, uint32_t h, uint8_t comp);
|
||||
|
||||
#if defined(WITH_SDL) || defined(LINUX)
|
||||
/*for helping debug drawing bugs*/
|
||||
bool_t bitmap_save_png(bitmap_t* bitmap, const char* filename);
|
||||
#endif /*defined(WITH_SDL) || defined(LINUX)*/
|
||||
|
||||
END_C_DECLS
|
||||
|
||||
#endif /*TK_BITMAP_H*/
|
||||
|
Loading…
Reference in New Issue
Block a user