"AS for what swift said, drawing many of theese lines on each other may sometimes make pixels all solid but it is it really any point checking for that?"
I was not talking about drawing the lines on top of eachother. I was merely referring to those pixels which end up with an alpha of 1.0.
Determining lines that overlap would be exessive optimization and would have a 99% chance of making your code slower rather than making it faster. Unless of course you're intentionalyl drawing lines over the same segemnt of the screen pixel for pixel, thousands of times a frame for god knows what reason. There are always excpetions to the rule.
I was not talking about drawing the lines on top of eachother. I was merely referring to those pixels which end up with an alpha of 1.0.
Determining lines that overlap would be exessive optimization and would have a 99% chance of making your code slower rather than making it faster. Unless of course you're intentionalyl drawing lines over the same segemnt of the screen pixel for pixel, thousands of times a frame for god knows what reason. There are always excpetions to the rule.