Jump to content
Sign in to follow this  

Drawing shapes over PNG image on GUI?

Recommended Posts


I was able to do it before but now for some reason I can't not sure what's wrong...

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 1050, 900, 492, 73)
$Pic1 = GUICtrlCreatePic("C:\Users\Satan\Desktop\Monopoly\board.jpg", 0, 0, 0, 0)
$Graphic1 = GUICtrlCreateGraphic(208, 157, 65, 67)
GUICtrlSetGraphic($Graphic1, $GUI_GR_PENSIZE, 4)
GUICtrlSetGraphic($Graphic1, $GUI_GR_COLOR, 0x000000)
GUICtrlSetGraphic($Graphic1, $GUI_GR_ELLIPSE, 12, 9, 25, 25)

#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.