Hi i was drawing lines using LVGL in a 640*480 screen. While drawing the line of width 1, color inversion happens for even coordinates for RED and odd coordinates for blue. The line becomes green. If line width 2 no color inversion. But color inverstion happens at vertically 0.
also if i start line from x=1 makes a one pixel gap at starting and if i end with 639 it makes a gap at end.
which means staring from 0 and end with 640 will draw a complete line.
Giving some informations
stride = 2560/4 =640
LV_COLOR_DEPTH 32