﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1763	incorrect sequence during GUICtrlSetGraphic	anonymous		"When using GUICtrlSetGraphic, one should expect that the elements you draw are ""placed"" on top of each other.
This is not the case when you draw a ellipse and a line. (not tested with other combinations)

Next example shows this.
1. draw ellipse and then the line
2. draw line and then the ellipse



{{{

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

Opt('MustDeclareVars', 1)

Example1()

; example 1
Func Example1()
    Local $msg

    GUICreate(""My GUI"") ; will create a dialog box that when displayed is centered

	GUICtrlCreateGraphic(10,10,100,100)
	GUICtrlSetBkColor(-1,0xffffff)
	GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0x000000, 0x000000)
	GUICtrlSetGraphic(-1, $GUI_GR_ELLIPSE, 20,20,60,60)
	GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0xF0F0F0, 0xF0F0F0)
	GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0,50)
	GUICtrlSetGraphic(-1, $GUI_GR_LINE, 100,50)

	GUICtrlCreateGraphic(120,10,100,100)
	GUICtrlSetBkColor(-1,0xffffff)
	GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0xF0F0F0, 0xF0F0F0)
	GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0,50)
	GUICtrlSetGraphic(-1, $GUI_GR_LINE, 100,50)
	GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0x000000, 0x000000)
	GUICtrlSetGraphic(-1, $GUI_GR_ELLIPSE, 20,20,60,60)


    GUISetState(@SW_SHOW) ; will display an empty dialog box

    ; Run the GUI until the dialog is closed
    While 1
        $msg = GUIGetMsg()

        If $msg = $GUI_EVENT_CLOSE Then ExitLoop
    WEnd
    GUIDelete()
EndFunc   ;==>Example1

}}}"	Bug	closed		AutoIt	3.3.6.1	None	Rejected	graphic, sequence, draw	SilentButeo2@…
