Grx.fast_draw_box
@accepts(int, int, int, int, Grx.Color) @returns(none) def fast_draw_box(x1, y1, x2, y2, c): # Python wrapper for grx_fast_draw_box()
Draws a rectangle on the current context using the specified coordinates and color.
This function does not perform clipping. If you cannot ensure that the box is within the bounds of the current context, then use Grx.draw_box instead.
- x1
the left X coordinate
- y1
the top Y coordinate
- x2
the right X coordinate
- y2
the bottom Y coordinate
- c
the color