Re: robsta - r24035 - abiword/branches/gsoc2008cairo/src/af/gr/gtk

From: Robert Staudinger <robert.staudinger_at_gmail.com>
Date: Mon May 26 2008 - 22:03:07 CEST

On Mon, May 26, 2008 at 6:55 PM, J.M. Maurer <uwog@uwog.net> wrote:

[...]

> I don't think this is actually correct. If you do x1 + width = x2, then
> your x2 is 1 pixel too big. For example, left pos x1 = 0, width = 10,
> then x2 should be 9, not 10. So you need an additional -1. Same case for
> y2.
>
> We have this mistake all over the code. No need to spread it any
> further :)

http://cairographics.org/FAQ/#sharp_lines

It seems both of us are not quite correct.

- Rob
Received on Mon May 26 22:03:16 2008

This archive was generated by hypermail 2.1.8 : Mon May 26 2008 - 22:03:16 CEST