lv_canvas_get_buf() function
Return the pointer for the buffer. It's recommended to use this function instead of the buffer form the return value of lv_canvas_get_image() as is can be aligned
Arguments
canvas
pointer to a canvas object
Return value
pointer to the buffer