66void lv_canvas_set_buffer(
lv_obj_t * canvas,
void * buf, lv_coord_t w, lv_coord_t h, lv_img_cf_t cf);
75void lv_canvas_set_px_color(
lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_color_t c);
80static inline void lv_canvas_set_px(
lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_color_t c)
82 lv_canvas_set_px_color(canvas, x, y, c);
92void lv_canvas_set_px_opa(
lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_opa_t opa);
105void lv_canvas_set_palette(
lv_obj_t * canvas, uint8_t
id, lv_color_t c);
118lv_color_t lv_canvas_get_px(
lv_obj_t * canvas, lv_coord_t x, lv_coord_t y);
141void lv_canvas_copy_buf(
lv_obj_t * canvas,
const void * to_copy, lv_coord_t x, lv_coord_t y, lv_coord_t w,
159void lv_canvas_transform(
lv_obj_t * canvas,
lv_img_dsc_t * img, int16_t angle, uint16_t zoom, lv_coord_t offset_x,
161 int32_t pivot_x, int32_t pivot_y,
bool antialias);
185void lv_canvas_fill_bg(
lv_obj_t * canvas, lv_color_t color, lv_opa_t opa);
196void lv_canvas_draw_rect(
lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t w, lv_coord_t h,
208void lv_canvas_draw_text(
lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t max_w,
219void lv_canvas_draw_img(
lv_obj_t * canvas, lv_coord_t x, lv_coord_t y,
const void * src,
229void lv_canvas_draw_line(
lv_obj_t * canvas,
const lv_point_t points[], uint32_t point_cnt,
239void lv_canvas_draw_polygon(
lv_obj_t * canvas,
const lv_point_t points[], uint32_t point_cnt,
252void lv_canvas_draw_arc(
lv_obj_t * canvas, lv_coord_t x, lv_coord_t y, lv_coord_t r, int32_t start_angle,
258#define LV_CANVAS_BUF_SIZE_TRUE_COLOR(w, h) LV_IMG_BUF_SIZE_TRUE_COLOR(w, h)
259#define LV_CANVAS_BUF_SIZE_TRUE_COLOR_CHROMA_KEYED(w, h) LV_IMG_BUF_SIZE_TRUE_COLOR_CHROMA_KEYED(w, h)
260#define LV_CANVAS_BUF_SIZE_TRUE_COLOR_ALPHA(w, h) LV_IMG_BUF_SIZE_TRUE_COLOR_ALPHA(w, h)
263#define LV_CANVAS_BUF_SIZE_ALPHA_1BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_1BIT(w, h)
264#define LV_CANVAS_BUF_SIZE_ALPHA_2BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_2BIT(w, h)
265#define LV_CANVAS_BUF_SIZE_ALPHA_4BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_4BIT(w, h)
266#define LV_CANVAS_BUF_SIZE_ALPHA_8BIT(w, h) LV_IMG_BUF_SIZE_ALPHA_8BIT(w, h)
269#define LV_CANVAS_BUF_SIZE_INDEXED_1BIT(w, h) LV_IMG_BUF_SIZE_INDEXED_1BIT(w, h)
270#define LV_CANVAS_BUF_SIZE_INDEXED_2BIT(w, h) LV_IMG_BUF_SIZE_INDEXED_2BIT(w, h)
271#define LV_CANVAS_BUF_SIZE_INDEXED_4BIT(w, h) LV_IMG_BUF_SIZE_INDEXED_4BIT(w, h)
272#define LV_CANVAS_BUF_SIZE_INDEXED_8BIT(w, h) LV_IMG_BUF_SIZE_INDEXED_8BIT(w, h)
Definition lv_obj_class.h:49
Definition lv_draw_arc.h:28
Definition lv_draw_img.h:32
Definition lv_draw_label.h:30
Definition lv_draw_line.h:28
Definition lv_draw_rect.h:32
Definition lv_img_buf.h:141