09-22-2017, 04:28 AM
Hello,
I found that the LINE_P will draw a line at the right of the expected position if the y1 is less than 0.
You can try:
<code>LINE_P(100,0,100,100,0);
LINE_P(100,-1,100,100,255);
FREEZE;</code>
Then you will find that the blue line is just a pixel right of the black line. The bug still exists with the newest firmware, is there any way to fix it?
P.S. The alpha of the RECT_P function is still not fixed. RECT_P(#FF000000h);will still make the screen black.
I found that the LINE_P will draw a line at the right of the expected position if the y1 is less than 0.
You can try:
<code>LINE_P(100,0,100,100,0);
LINE_P(100,-1,100,100,255);
FREEZE;</code>
Then you will find that the blue line is just a pixel right of the black line. The bug still exists with the newest firmware, is there any way to fix it?
P.S. The alpha of the RECT_P function is still not fixed. RECT_P(#FF000000h);will still make the screen black.