1. 05 Oct, 2019 1 commit
    • Philip Stewart's avatar
      fix(gfx/display): Draw partially clipped primitives · 14d5abcc
      Philip Stewart authored and Rahix's avatar Rahix committed
      Fix two bugs in the display/gfx module:
      
      1. The animation of the simple_menu used in the main menu had the issue
         that there is a black line visible at the top.  This is due the
         gfx_puts method ignoring lines, where the top pixel of the string is
         above the top of the screen.  As gfx_puts uses gfx_setpixel which in
         turn ignores pixels outside of the screen, remove the check in
         gfx_puts.
      2. X and Y coordinates were cast to unsigned-ints before being given to
         the gfx-library which means calls like circ(0, -10, 30) would be draw
         at coordinates like [0,65526].  Fix this by changing the data-type of
         all coordinates to signed-integers.
      
      Also remove the x and y ranges from the documentation of the individual
      python functions and instead add a general documentation about the
      screen and it's size/coordinate system.
      14d5abcc
  2. 03 Oct, 2019 1 commit
  3. 28 Aug, 2019 1 commit
  4. 27 Aug, 2019 1 commit
  5. 24 Aug, 2019 1 commit
  6. 22 Aug, 2019 1 commit
    • Marek's avatar
      Optimize circle drawing · bca913c3
      Marek authored
      I have no idea whether this is something the compiler wouldn't
      automatically do, but it can't hurt to be explicit.
      bca913c3
  7. 21 Aug, 2019 4 commits
  8. 15 Aug, 2019 2 commits
  9. 14 Aug, 2019 1 commit
  10. 12 Aug, 2019 1 commit