I know (or at least think) that AHK GUI doesn't know about z axis, that is like the rotation of a fan blade viewed from the front.
But is there a simple way to manipulate an image that can show the image rotated to an arbitrary angle? Selectable by GUI control
Edit: Answer found GDI+ standard library 1.28 by tic
http://www.autohotkey.com/forum/viewtopic.php?t=32238
I am not looking for answers that use Gimp, Paint, Photoshop, etc.
Below is my working code that I'd like to modify.
Caution: UrlDownloadToFile
Any suggestions? Any questions?
As always, thanks in advance.
Leef_me
Code:
#singleinstance force
IfNotExist, AutoHotkey_logo.gif ; start with a know image, the picture on http://www.autohotkey.com
{
UrlDownloadToFile, http://www.autohotkey.com/docs/images/AutoHotkey_logo.gif, AutoHotkey_logo.gif
}
;msgbox %ErrorLevel%
win_width=400
win_height=300
pic_width=228
pic_height=133
borderx:= (win_width - pic_width)/2
bordery:= (win_height - pic_height)/2
;msgbox %win_width% %win_height% `n%pic_width% %pic_height% `n%borderx% %bordery%
Gui, Add, Picture, xm+%borderx% ym+%bordery% w%pic_width% h%pic_height%, AutoHotkey_logo.gif
Gui, Color, 0X000000
Gui, Show, w%win_width% h%win_height%
return
GuiClose: ; Indicate that the script should exit automatically when the window is closed.
GuiEscape:
ExitApp