Back to main

 

Function 13 - draw a rectangle in the window

Options:

  * eax = 13 - function number

  * ebx = [x axis coordinate] * 65536 + [x axis size]

  * ecx = [y-coordinate] * 65536 + [y-axis size]

  * edx = 0xRRGGBB or 0x80RRGGBB color for gradient fill

Return value:

  * function does not return value

Remarks:

  * Coordinates are coordinates of the upper left corner of the rectangle relative to the window.

 

Constants for registers:

  eax - SF_DRAW_RECT (13)