Re: truecolr.e update, line(), other stuff...
- Posted by jiri babor <jbabor at PARADISE.NET.NZ> Oct 22, 1998
- 591 views
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. 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