On Thu, 29 Mar 2007 10:53:00 +0200 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:
> >>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > Abdelrazak> Jean-Marc Lasgouttes wrote: > >>>>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > >> > Abdelrazak> I like the effect on parenthesis personally but not on the > Abdelrazak> straight lines. It should be possible to disable the > Abdelrazak> effect for horizontal and vertical lines and also for > Abdelrazak> rectangles. Could you produce a patch for that? > >> Note that all these decorations are created with the same code, so > >> testing for horizontal/vertical may be a bit tedious and lead to > >> surprises. > > Abdelrazak> Horizontal: y1 = y2 Vertical: x1 = x2 > > Abdelrazak> Hardly tedious... Are you sure you are a mathematician > Abdelrazak> JMArc? > > I was expecting that parts of parenthesis that happen to be vertical > (in the middle) might be rendered differently from the rest and > produce strange results. It does not seem to be the case, so I stand > corrected. > > Of course, the right solution for parenthesis/brackets would be to use > real ones, the this antialiasing really helps. > > JMarc Just what I was thinking... but the code given emulates this pretty nicely. - Martin
