@MrMat, I found earlier that if I plot() the last pixel then linexy() works out at about the same time as line() so that is probably what is happening internally, like you said.
@GeoTrail, well I'm glad someone is getting a reasonable speed increase, thought it was just me going mad.
Derek wrote:@MrMat, I found earlier that if I plot() the last pixel then linexy() works out at about the same time as line() so that is probably what is happening internally, like you said.
Yes my debugging was in OllyDbg and it definitely is! Similar results here (but slower!):
Well, mine is one of the slowest so I am guessing that it is governed by the graphics card but I was under the impression that graphics cards were more or less the same as far as 2D was concerned, obviously not.
Mine is an onboard Intel chip (i can't remember the name). It is so much slower than the Radeon 9800 i was using until it broke. The most annoying thing was having to phone Microsofts activation people just because i took the card out and Windows decided i had changed too much hardware. Grr!
Kaeru Gaman wrote:since drawing was completely changed, the whole thread became obsolete.
now LineXY() and Line() use the same algorithm, but Line() no longer draws lines with width or heigth 0.
oh, and btw...
when you want to test performance, make sure results are above 100ms.
results like "7 or 17" are just "one or two timeslices", that's just a marginal difference depending on coincidence...
Right - a lot of things have changed
Hopefully the help file will be corrected, because the description of the "target point" is wrong (some say, this is the only right thing with Line now )
I have the confirmation from Fred himself that the Routine now is identical only the call ist slightly different.
you can search the forums, somewhere in to Line-topics he said so.
the old LineXY had an additional call of Plot to put the ending dot, so it was slower.