← Back to team overview

kicad-developers team mailing list archive

Re: Re: wxDC break through update.

 

Wayne Stambaugh wrote:
jean-pierre.charras@... wrote:

Wayne Stambaugh a écrit :

jean-pierre.charras@... wrote:


Oops! I got a little over zealous in my clipping logic. I was
incorrect in my original assessment about the unsigned integer bug. I
fixed the clipping problem in svn r2326. Hopefully that also resolved
the missing graphics items problems as well.

Wayne



Working better now. Thanks.
Still remains clipping problems in sketch mode with all segments types: tracks or graphics items and footprints outlines.


The culprit is clip_line() in gr_basic.cpp. It doesn't clip correctly
when one or both of the end points of a diagonal line bisects the clip
area. I'll see if I can come up with a solution. Maybe there is
something in kbool that can use to solve the problem.

Wayne



There was some code in the magnetic track drawing code also.

Grep for magnetic in the track drawing logic. So what I'm saying is that this algorithm may be in there more than once, duplicately coded, and working well in once instance but not the other.


Dick








Follow ups

References