|

楼主 |
发表于 2017-3-28 17:52:52
|
显示全部楼层
不开存储设备感觉好闪,有没有什么办法解决?用流位图还是感觉显示没有RA8875调用SPI读FLASH的速度快;我是用的竖屏的,
请问
static void _FillRect(GUI_DEVICE * pDevice, int x0, int y0, int x1, int y1) {
LCD_PIXELINDEX ColorIndex;
ColorIndex = LCD__GetColorIndex();
// printf("x0 = [%d] y0 = [%d] x1 = [%d] y1 = [%d]\\r\\n",x0,y0,x1,y1);
//RA8875_DrawRect(x0,y0,x1,y1,ColorIndex);
// RA8875_RTERect(x0,y0,x1,y1,ColorIndex);
// LCD_Fill_Rect(x0,y0,x1,y1,ColorIndex);
for (; y0 <= y1; y0++) {
RA8875_DrawHLine(x0, y0, x1,ColorIndex);
}
}
函数如何弄; |
|