Getting all pixels from a created line

Hi Everyone,

I am trying to figure out a way to find all pixels a line falls on when using the display.newline function with the starting/ending x,y point. I have tried calculating manually the slope and y intercept a have tried searching for a way to grab a pixel from the screen in order to see if it were filled but had no luck with either. The equation of the line approach worked to an extent but was not really detailed enough for what I am trying to do.

Any suggestions?

Thanks,
Richard [import]uid: 129315 topic_id: 22290 reply_id: 322290[/import]