YellowLab Posted February 12, 2010 Share Posted February 12, 2010 (edited) I have been struggling with this for a while and can't figure out for the life of me how to generate a Beizer Curve using GUICtrlSetGraphic function. I have generated a list of Beizer points using the script from the following post (http://www.autoitscript.com/forum/index.php?showtopic=82782 - great script BTW) and now want to generate the curve using GUICtrlSetGraphic. From the help file, the function has six parameters labeled x,y,x1,y1,x2,y2 with a description - draw a Beizer curve with two control points. I am assuming this is correct; however the example doesn't seem to jibe with this: GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 120, 20) ; start point GUICtrlSetGraphic(-1, $GUI_GR_BEZIER, 120, 100, 200, 20, 200, 100) The starting point is x=120, y=20 then the curve has the parameters x, ?, ?, y, ?, ? The script draws half an elipse and I can't figure out for the life of me how this works. Any help would be appreciated. Thanks! Edited February 12, 2010 by YellowLab You can't see a rainbow without first experiencing the rain. Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now