Hello,
I was able to display the bmp and rotate it through memdev. I created the memdev's required in a different function, performed the rotate and kept the memdev ready. I displayed the memdev in WM_PAINT by GUI_MEMDEV_WriteAt function
GUI_SetBkColor(GUI_GRAY)
GUI_Clear();
GUI_MEMDEV_WriteAt(hDst,DIAL_SCREEN_HOME_ARC_CENTER_POS_X-(236/2), DIAL_SCREEN_HOME_ARC_CENTER_POS_Y-(236/2));
drawArc();
This is working but the screen loading performance is not improved much. My main intention is to improve the dialog loading performance so used memdev for rotating the bmp instead of knob widget. I thought this would improve the dialog loading but not much improvement.
if I comment out the code for drawing and rotating the bmp the dialog loads faster.
How can I improve the memdev drawing so that it loads faster?
Thanks
Regards,
Anuj