22#error "lv_img: lv_label is required. Enable it in lv_conf.h (LV_USE_LABEL 1)"
51 uint8_t antialias : 1;
52 uint8_t obj_size_mode: 2;
64 LV_IMG_SIZE_MODE_VIRTUAL = 0,
69 LV_IMG_SIZE_MODE_REAL,
72typedef uint8_t lv_img_size_mode_t;
96void lv_img_set_src(
lv_obj_t * obj,
const void * src);
103void lv_img_set_offset_x(
lv_obj_t * obj, lv_coord_t x);
111void lv_img_set_offset_y(
lv_obj_t * obj, lv_coord_t y);
121void lv_img_set_angle(
lv_obj_t * obj, int16_t angle);
130void lv_img_set_pivot(
lv_obj_t * obj, lv_coord_t x, lv_coord_t y);
144void lv_img_set_zoom(
lv_obj_t * obj, uint16_t zoom);
152void lv_img_set_antialias(
lv_obj_t * obj,
bool antialias);
160void lv_img_set_size_mode(
lv_obj_t * obj, lv_img_size_mode_t mode);
170const void * lv_img_get_src(
lv_obj_t * obj);
177lv_coord_t lv_img_get_offset_x(
lv_obj_t * obj);
184lv_coord_t lv_img_get_offset_y(
lv_obj_t * obj);
191uint16_t lv_img_get_angle(
lv_obj_t * obj);
205uint16_t lv_img_get_zoom(
lv_obj_t * obj);
212bool lv_img_get_antialias(
lv_obj_t * obj);
219lv_img_size_mode_t lv_img_get_size_mode(
lv_obj_t * obj);
226#define LV_IMG_DECLARE(var_name) extern const lv_img_dsc_t var_name;
Definition lv_obj_class.h:49