Dilanka Posted September 25, 2017 Report Share Posted September 25, 2017 Hello, I need to create custom progress bar. So I need to know there is any method to rotate bitmap image for specific angle? Link to comment Share on other sites More sharing options...
inmarket Posted September 25, 2017 Report Share Posted September 25, 2017 There is no image rotation support in uGFX currently. If your display supports changing orientation you can work around this by rotating the display relative to the drawing canvas instead. Link to comment Share on other sites More sharing options...
inmarket Posted September 25, 2017 Report Share Posted September 25, 2017 Another way is to maintain multiple versions of the image pre-rotated. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted September 25, 2017 Report Share Posted September 25, 2017 Using an image that rotates constantly for a progressbar sounds like a bad idea. Usually you use pictures for backgrounds and then use the primitive rendering functions to draw on top of that. You can easily rotate shapes like polygons and similar. 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