Cabbie8675 Posted August 12, 2012 Share Posted August 12, 2012 I got a _WinAPI_DrawLine that i draw in bottom right corner of screen and would like to redraw the line in center of screen at same degree of angle, is there any easy way to find the angle of the first line i draw. Was hoping for an easier way than having to do a bunch of math to recalcuate scale and redraw new line Link to comment Share on other sites More sharing options...
bogQ Posted August 12, 2012 Share Posted August 12, 2012 actualy i do think math is easyest way (probably only way) youl get it done if your looking to scale its lenght TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
Cabbie8675 Posted August 12, 2012 Author Share Posted August 12, 2012 being a real pain in the butt to just do a mirror overlay, I'm thinking easiest way (now) is to convert original line into 4 axis grid with 0,0 at center, would be so much easier if _WinAPI_GetObject returned a degree but its vague in help file and cant find an example. Link to comment Share on other sites More sharing options...
bogQ Posted August 12, 2012 Share Posted August 12, 2012 asking of not using math for programing language is like asking not to use letters for typingso i'm gonna redirect you to some math precalculus for angle circled dot positionpart with_Move($Distance, $rotation)is interesting for you TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
UEZ Posted August 12, 2012 Share Posted August 12, 2012 Have a look here: Might be helpful. Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
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