For our project, we are using one firmware image for two displays where one display is set for framebuffer in portrait mode (240x320) and other in landscape mode (320x240). We need a way to rotate the screens during run time depending on the mode of display that the UI is running on. Rotation achieved with the screenOrientation (set in Embedded Wizard studio) and EW_SURFACE_ROTATION won’t help us as these are set during compile time.
Going through Embedded Wizard's knowledge base, looks like class Views::WarpGroup can be used for run time rotation. We tried WarpGroup to see if we can rotate the complete screen but looks like there are complications with that. Rotating a single image/button works fine but to rotate a screen, it seems that it needs enough canvas area to rotate through. Could you please guide us how we can rotate complete screen with WarpView? We are trying to rotate a 320x240 screen by 270 degree to fit in framebuffer of 240x320 resolution.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!