Go to the documentation of this file. 13 #ifndef _ROCKX_IMAGE_UTIL_H 14 #define _ROCKX_IMAGE_UTIL_H 139 #endif //_ROCKX_IMAGE_UTIL_H
rockx_ret_t rockx_image_convert_keep_ration(rockx_image_t *src, rockx_image_t *dst, int dst_width, int dst_heigh, rockx_pixel_format dst_pixel_format, int pad_color, float *scale_w, float *scale_h)
int rockx_image_get_channels(rockx_image_t *img)
rockx_ret_t
Return Value of RockX functions.
rockx_ret_t rockx_image_release(rockx_image_t *img)
rockx_ret_t rockx_image_draw_circle(rockx_image_t *img, rockx_point_t point, int radius, rockx_color_t color, int thickness)
rockx_ret_t rockx_image_draw_text(rockx_image_t *img, const char *text, rockx_point_t pt, rockx_color_t color, int thickness)
rockx_ret_t rockx_image_write(const char *path, rockx_image_t *img)
rockx_ret_t rockx_image_read(const char *img_path, rockx_image_t *image, int flag)
rockx_pixel_format
Image Pixel Format.
rockx_ret_t rockx_image_draw_line(rockx_image_t *img, rockx_point_t pt1, rockx_point_t pt2, rockx_color_t color, int thickness)
rockx_image_t * rockx_image_clone(rockx_image_t *img)
rockx_ret_t rockx_image_draw_rect(rockx_image_t *img, rockx_point_t pt1, rockx_point_t pt2, rockx_color_t color, int thickness)
rockx_ret_t rockx_image_convert(rockx_image_t *src, rockx_image_t *dst, int dst_width, int dst_heigh, rockx_pixel_format dst_pixel_format)