lv_draw_buf_dup_ex() function
Duplicate a draw buf with same image size, stride and color format. Copy the image data too.
Arguments
handlers
the draw buffer handlers
draw_buf
the draw buf to duplicate
Return value
the duplicated draw buf on success, NULL if failed
lv_draw_buf_dup_ex() is called by 2 functions and calls 2 functions:
![]()
lv_draw_buf_dup_ex()
lv_draw_buf_dup_ex() reads 10 variables and writes 1 variable:
![]()
lv_draw_buf_dup_ex()