Grx.put_scanline

@accepts(int, int, int, [Grx.Color], Grx.Color)
@returns(none)
def put_scanline(x1, x2, y, scan_line, op):
    # Python wrapper for grx_put_scanline()
  

Writes @scan_data to the current context using the op operation.

Data values in @scan_data must fit #GRX_COLOR_VALUE_MASK otherwise the results are implementation dependent. So you can't supply operation code with the pixel data!

x1

the starting X coordinate

x2

the ending X coordinate

y

the Y coordinate

scan_line

the data to write

op

the color operation