Jump to content
Sign in to follow this  
Kiti

create a line

Recommended Posts

Kiti

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

Share this post


Link to post
Share on other sites
Kiti

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

Share this post


Link to post
Share on other sites
Zedna

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

It paints red cross (see screenshot) over picture on my GUI.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.