achimdoebler / UGUI

µGUI - Open Source GUI module for embedded systems
Other
1.2k stars 415 forks source link

how to rotate the display? #44

Open bd7jat opened 3 years ago

bd7jat commented 3 years ago

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

deividAlfa commented 2 years ago

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

ZanoZ commented 1 year ago

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.

LazerFaze commented 1 year ago

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