e-Paper icon indicating copy to clipboard operation
e-Paper copied to clipboard

Paint_DrawRectangle Problem

Open MingYuanJeng opened this issue 3 years ago • 3 comments

Refer to this source code:e-Paper/STM32/STM32-F103ZET6/User/GUI/GUI_Paint.c Problem test code: Paint_NewImage(BaseImage, 800, 480, 0, WHITE); Paint_Clear(RED);//First make the whole picture red Paint_DrawRectangle(0, 0, 800, 480, BLACK, DOT_PIXEL_1X1, DRAW_FILL_FULL);//Second step make the whole picture black Why is the bottom part of the picture not painted black? How to solve it please? thanks DrawImage

MingYuanJeng avatar Apr 13 '22 08:04 MingYuanJeng

Does anyone know about this issue?

MingYuanJeng avatar Apr 18 '22 01:04 MingYuanJeng

I tested and the GUI worked.

Take a look at the complete code (from creating a BaseImage to refreshing the screen)

Note that STM32103ZET6 only has 64K RAM and may run out of memory to cause instability.

SSYYL avatar May 17 '22 11:05 SSYYL

Hi SSYYL: I am not testing on a microprocessor platform, I am testing GUI functions on a computer, so there will be no shortage of memory issues.

MingYuanJeng avatar May 18 '22 08:05 MingYuanJeng