Re: truecolr.e update, line(), other stuff...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hawke wrote:

>I would like to see anyone's algorithms that plot
>*diagonal* lines (horizontal and vertical are handily
>dealt with already) given the following: <bla bla>

Go to the Archives and fetch my ratpack (SVGA mouse routines). In it you
will find a little library called xor.e. From memory, among other graphic
elements it also contains  an xor_line routine. It is based on Bresenham's
line algorithm, the fastest one known to mankind blink. Simply replace my
xorpixel with your mongrel, and you should be in business within seconds.
Give me a yell if you have any problems. But I will be at home, not at work,
for the next four or five days, it's Labour weekend over here and I am
taking an extra day off to make a decent meal out of it... jiri

home: jbabor at paradise.net.nz

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu