lv_draw_buf_dup() function
Duplicate a draw buf with same image size, stride and color format. Copy the image data too.
Arguments
draw_buf
the draw buf to duplicate
Return value
the duplicated draw buf on success, NULL if failed
lv_draw_buf_dup() calls 1 function:
![]()
lv_draw_buf_dup()
lv_draw_buf_dup():
![]()
lv_draw_buf_dup()