AnsweredAssumed Answered

stemwin antialiasing color problem

Question asked by molnar.david on Aug 28, 2015
Latest reply on Sep 1, 2015 by molnar.david
Hi STM32 Users,

I would like to request your help in the following problem. I am using STM32F427VG and HX8357D with FMC controller in 16 bit mode RGB565. I successfully integrated the STemWin library with STM32Cube_FW_F4_V1.7.0. RED and BLUE color were swapped but after using GUICC_M565 it is solved. 

in LCDConf_FlexColor_Template.c at function void LCD_X_Config(void)
...
pDevice = GUI_DEVICE_CreateAndLink(GUIDRV_FLEXCOLOR, GUICC_M565, 0, 0);
...
GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66709, GUIDRV_FLEXCOLOR_M16C0B16);
...

The problem is with the anti-aliased circles (maybe other polygons are involved too). The colors which are used by the library is not correct. Look at the picture: there are Red green and blue circles on red green and blue rectangles. I think the red circle on red background shouldn't be seen. Attached the picture

https://goo.gl/photos/cq1wQaMWtXFFPwEo9

Any help would be appreciated

Thank you in advance,
Dave

Outcomes