04-29-2022, 02:35 PM
Does QB64 have a rotate command?
I want to rotate a small .png file through an arbitrary angle.
Thanks
I want to rotate a small .png file through an arbitrary angle.
Thanks
|
Does QB64 have a rotate command?
|
|
04-29-2022, 02:35 PM
Does QB64 have a rotate command?
I want to rotate a small .png file through an arbitrary angle. Thanks
Yes, yes we have a thing called RotoZoom and you can scale on independednt x, y axis as well as rotate. 3 for the price of 1 sub routine.
zip has bas source, an image .png and Windows exe already compiled, but as a practice one should compile their own. Code: (Select All) ' Description:Radian Angle is an angle expressed in multiples of Pi, if you prefer to use Degree Angles then you can use the Conversion Functions _R2D() = Radians to Degrees or _D2R() = Degrees to Radians. @mangurian Congrats! You are our 100th member! Welcome to the Forum!
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever
04-29-2022, 05:38 PM
Exactly what I needed. In fact, I was planning on scaling also.
Thanks |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Command$(count%) - I can't get a value when using the optional argument "(count%)" | Unatic | 3 | 530 |
08-22-2025, 11:58 AM Last Post: Unatic |
|
| keyword to get the EXE name and the EXE path instead of parsing Command$(0) ? | madscijr | 8 | 1,159 |
07-22-2025, 08:35 PM Last Post: hsiangch_ong |
|
| Command$ issues | eoredson | 8 | 1,409 |
05-02-2025, 01:42 AM Last Post: eoredson |
|
| Locate command on the ttf graphical screens | Helium5793 | 5 | 725 |
03-09-2025, 05:47 PM Last Post: SMcNeill |
|
| The Locate command | eoredson | 0 | 444 |
04-13-2024, 06:27 AM Last Post: eoredson |
|