Hi Dan,

There are a few line drawing routines for you to search
for...Bresenham's, of course, and midpoint, which is faster.

A good starting point for these algorithms and the algorithm to draw
wider lines is the book "Computer Graphics: Principles and Practice", by
Foley, Van Damm, Feiner and Hughes.  This is an amazingly detailed book
into graphics, likely to take you as far as you might want to go.

-Ken

On Fri, 2003-01-17 at 10:23, Dan Patrutiu wrote:
>    Hello to all members of this forum. I have this problem and I am sure
> some of you have run into it earlier. Does anyone know where can I find some
> references for writing a new WinDrawLine routine, faster than the OS one?
> (eventually assembler). I wrote one but even with a fast algorithm, it
> haven't been faster. The second point is: does somebody know where I can
> find an efficient algorithm for generating the four corners of a "wideline"
> polygon? I need to draw lines in any width, using the line routine I wrote
> about earlier.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to