Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>linedaa</b> calculate points in a line http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LineDAA              Calculate Points In A Line

void LineDAA(FirstX, FirstY, LastX, LastY, lpLineFunc, lpData)
short FirstX;
short FirstY;
short LastX;
short LastY;
FARPROC lpLineFunc;  /* As returned by MakeProcInstance() */
LPSTR lpData; /* Data to pass to call back function */

Note:       Call back function has following definition:

                BOOL _export FAR PASCAL LinFunc(X, Y, lpData)
                short X;
                short Y;
                LPSTR lpData;

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson