monoscout999 Posted July 28, 2011 Share Posted July 28, 2011 Of course it is possible to rotate a string. Just write the text to the bitmap and rotate the bitmap (backbuffer) afterwards.To rotate each letter is a little more complicated - have a look to Ballet of Letters (#30).Br,UEZWhy working with a bitmap and drawing the bitmap in the graphic causes no flick than setting the graphic directly?I hope you understand my bad english. Link to comment Share on other sites More sharing options...
UEZ Posted July 29, 2011 Share Posted July 29, 2011 (edited) If you want to animate something it is better to draw the frame to a bitmap and copy the bitmap afterwards to the graphic handle (visible screen) to avoid flickering. But if you only want to rotate it then it is enough to rotate the graphic handle as showed by Malkey. What I wrote was not entirely correct because you cannot rotate a bitmap directly only its graphic handle. Br, UEZ Edited July 29, 2011 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
andygo Posted July 29, 2011 Share Posted July 29, 2011 back again without headaches. thanks for all the replys, now my script works perfectly like i want!!! have a nice weekend, BR andy Link to comment Share on other sites More sharing options...
monoscout999 Posted July 29, 2011 Share Posted July 29, 2011 If you want to animate something it is better to draw the frame to a bitmap and copy the bitmap afterwards to the graphic handle (visible screen) to avoid flickering.But if you only want to rotate it then it is enough to rotate the graphic handle as showed by Malkey.What I wrote was not entirely correct because you cannot rotate a bitmap directly only its graphic handle.Br,UEZThanks for your answer. 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