ellboy Posted November 26, 2014 Report Share Posted November 26, 2014 Hello!Is it possible to rotate a string using uGFX?Thanks Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted November 26, 2014 Report Share Posted November 26, 2014 Hello ellboy and welcome to the community!There is currently no API that allows string rotation but we are planing to include that soon. We already added matrix rotation alogrithms to the GMISC module a couple of days ago.However, there is a small work around: You can change the orientation of your screen, draw the string and change the orientation back again. Note that this method however only works if you have a display controller that does not redraw the framebuffer content when you change the orientation. This is the case with most display controllers such as the SSD and the ILI families.~ Tectu Link to comment Share on other sites More sharing options...
ellboy Posted December 5, 2014 Author Report Share Posted December 5, 2014 Would it be possible to use any rotation angles for the strings or limited to some specific? Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted December 5, 2014 Report Share Posted December 5, 2014 With the method mentioned above it is only possible to rotate by 90 degrees as your display won't provide any other orientations that than.When we will implement this feature ourself it will be most likely possible to rotate by 90 degrees as well as by any degree value (the 90 degrees will just be a lot quicker).~ Tectu Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now