kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #04189
Re: Re: wxDC break through update.
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@...>
-
Date:
Thu, 11 Feb 2010 13:03:30 -0500
-
In-reply-to:
<4B74442D.6050308@...>
-
User-agent:
Thunderbird 2.0.0.23 (Windows/20090812)
Dick Hollenbeck wrote:
> 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.
Thanks. I'll take a look at it. I just fixed clip_line() so I'll check
to see if this has any effect on the magnetic track problem or if it is
a completely separate problem.
Wayne
>
>
> Dick
References