Sign in to follow this  
Followers 0
livewolf

Draw circle?

6 posts in this topic

Goodmorning, i don't speak english wery well but i'll try to make me understand.

I have two couples of screen coordinates, one of these is fixed and the other changes in the time.

i need to draw a circle that has center in the fixed point and that has as radius the distance between the two point

Thanks in advance :sweating:

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Using

GUICtrlCreateGraphic()
GUICtrlSetGraphic(-1, $GUI_GR_ELLIPSE, x, y, w, h)

I think would help you out. :)

EDIT: example of usage would be in the helpfile. Which can be done by clicking on either of those function names.

P.S. Welcome to the AutoIt forum!  ^_^ 

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

Using

GUICtrlCreateGraphic()
GUICtrlSetGraphic(-1, $GUI_GR_ELLIPSE, x, y, w, h)

I think would help you out. :)

EDIT: example of usage would be in the helpfile. Which can be done by clicking on either of those function names.

P.S. Welcome to the AutoIt forum!  ^_^ 

 

Thanks a lot,

GuiCtrlCreateGraphic() needs a GUI to work? i'll made an invisible full screen gui to show it on the others windows?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Anytime. ;)

Here are a couple >examples done by Melba23 of making a transparent GUI.

Another in that >topic is done by UEZ, using GDI+.

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

Thank you a lot  :thumbsup:

Share this post


Link to post
Share on other sites

My pleasure. ;) 

If you get to working on this and have any questions, feel free to ask here.

If it is about another subject not related to this, feel free to start a new topic. 

Happy coding. :)


Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

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  
Followers 0