Jump to content

create a line


Recommended Posts

I want to make a cheat for Yahoo Pool. It has a short line which shows you where the ball will go. The first thing I wanna do is make that line longer. How I want to do this: Pixelsearch after the line's color, get the coords of the first and last pixel in the line, find the relative position between them, and then draw a second line from the last point of the already existing one, so it will double in length. But I don't know how to draw that line... I was thinking of making dozens of 1 pixel in width/height GUI... Is there any better way?

Edited by Kiti
Link to comment
Share on other sites

Look at my Radar project in my signature.

There is function MalujKriz() - DrawCross() which do almost exactly what you want.

hmm... thank you, but I didn't fully undertstood what that function does, and I should if I want to use it in my own program... can you explain me a little about it? :P

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...