lv_draw_sw_rotate() function
Rotate a buffer into another buffer
Arguments
dest
the destination buffer
src_width
source width in pixels
src_height
source height in pixels
src_stride
source stride in bytes (number of bytes in a row)
dest_stride
destination stride in bytes (number of bytes in a row)
rotation
LV_DISPLAY_ROTATION_0/90/180/270
color_format
LV_COLOR_FORMAT_RGB565/RGB888/XRGB8888/ARGB8888