Issue #123 resolved

fill(): negative coordinates

Anonymous created an issue

with python3, Surface.fill() converts negative coordinates to zero, thus the boxes drawn on the outside (top left) are clipped to the inside of the screen.

Comments (7)

  1. illume

    A rectangle outside of the screen completely Call Should not Be Filled inside of the screen, right?

    with python2, Surface.fill (color, Rect (-30, -30,20,20)) draws nothing and return Rect (0,0,0,0) what is right.

    with python3, Surface.fill (color, Rect (-30, -30,20,20)) return Rect (0,0,20,20) and fills in these coordinates.

  2. Log in to comment