Re: commit: Fix border drawing


Subject: Re: commit: Fix border drawing
From: Mike Nordell (tamlin@algonet.se)
Date: Thu Mar 29 2001 - 17:58:15 CST


Paul Rohr wrote:
> we may want to check the
> math to see if this is a side effect of Mike Nordell's recent work to
speed
> up the drawline calls.

Crap, it is. Thanks for the heads up.

I can't commit right now. Can someone please change
     nLineWidth + (!bVert ? x2 - x1 : 0),
     nLineWidth + ( bVert ? y2 - y1 : 0));

to

     nLineWidth + (!bVert ? x2 - x1 - 1: 0),
     nLineWidth + ( bVert ? y2 - y1 - 1: 0));

In the fillRect call in GR_Win32Graphics::drawLine ? Thanks.

/Mike



This archive was generated by hypermail 2b25 : Thu Mar 29 2001 - 17:59:14 CST