Rotation of an image is simply the tedium of collecting the individual pixel points, 'do(ing) the math and re-writting the pixels in their 'new' postions. Many (most) discussions re this process use (or recommend) the use of a second picture (or other image) control. Use some code to assure the two are sixed and positioned concurrently. Read from first, write to second. When complete, put second in front (or original in back).
MichaelRed
m.red@att.net
There is never time to do it right but there is always time to do it over
I usually recommend Dan Appleman's books on the Windows API, but this technique was described better in the book Visual Basic 6 Win32 API Tutorial, written by Jason Bock, published by Wrox Press. I believe the technique was supposed to work with all TrueType fonts, but I could not get results from Wingdings, Symbol, others.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.