achimdoebler / UGUI

µGUI - Open Source GUI module for embedded systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to rotate the display?

bd7jat opened this issue · comments

commented

ugui works well right now ,but i can not rotate display .sometimes i need this feature, is there any way to achieve that goal?

That's something you have to do it yourself, the display controller have commands to do so

commented

the display controller can rotate the full screen.
if you want to rotate some object, maybe you should do it with other way , such as BMP picture work.

you can define a conversion of coordinates, in the pixel set function and hardware acceleration function, and be aware of changing the parameter of height and pixel when initializing the GUI