Back to main

 

Function 38 - draw a line

 

Options:

   * eax = 38 - function number

   * ebx = [start coordinate along the x axis] * 65536 +

               [x coordinate of the end coordinate]

   * ecx = [start coordinate along the y axis] * 65536 +

               [y coordinate of the end coordinate]

   * edx = 0x00RRGGBB - color

     edx = 0x01xxxxxx - draw inverse line

           (low 24 bits are ignored)

Return value:

   * function does not return value

 

Remarks:

   The coordinates are taken relative to the window.

   The end point is also drawn.

 

Constants for registers:

   eax - SF_DRAW_LINE (38)