Re: Patch: Abi underdraws by 1 pixel during repaints

From: Marc Maurer (j.m.maurer_at_student.utwente.nl)
Date: Sun Apr 18 2004 - 08:07:44 EDT

  • Next message: Tomas Frydrych: "commit (head): fix 6251"

    Exactly, thanks for the patch Mikey!

    I fixed about 10 of such errors in the toolbar code a few months back.
    Mind all:

      right - left != width

    You'll miss 1 pixel then. Eg.: a line from x coordinate 0 to 3 is _4_
    pixels wide, not 3.

    Math for developers :)
      Marc

    Op za 17-04-2004, om 22:35 schreef Mikey Cooper:
    > This patch fixes bugs 6600 and 6112 where borders are left behind when
    > trying to repaint uncovered rectangles. We add 1 to the height and width
    > before covering to layout units for the repaint.

    -- 
    Marc Maurer <j.m.maurer_at_student.utwente.nl>
    


    This archive was generated by hypermail 2.1.4 : Sun Apr 18 2004 - 09:03:24 EDT