livewolf Posted April 6, 2015 Posted April 6, 2015 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
MikahS Posted April 6, 2015 Posted April 6, 2015 (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 April 6, 2015 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy 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
livewolf Posted April 6, 2015 Author Posted April 6, 2015 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?
MikahS Posted April 6, 2015 Posted April 6, 2015 (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 April 6, 2015 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy 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
MikahS Posted April 6, 2015 Posted April 6, 2015 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 ~ getENVvarsMy 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now