← Back to team overview

kicad-developers team mailing list archive

Re: Eeschema GAL arc rendering

 

Le 19/10/2018 à 22:12, Wayne Stambaugh a écrit :
> I don't know if anyone is aware but there is an issue with rendering
> symbols with arcs in the new Eeschema gal code.  Apparently, the legacy
> canvas could be tricked into drawing a minimal line width using a
> negative width value.  This cause the the gal canvas to draw a rather
> interesting blob (you can check this by opening any nor gate symbol in
> the 4xxx library.  The solution proposed by the librarians is to us the
> minimal 1mil line width but the rendered results are less than ideal in
> the legacy canvas[1].  Anyone have any ideas about how to resolve this?
> I would prefer that the gal canvases render symbols the same as the
> legacy canvas without have two sets of symbol libraries.
> 
> Cheers,
> 
> Wayne
> 
> [1]: https://github.com/KiCad/kicad-symbols/pull/1059#issuecomment-431447533

This is an issue with polylines.

In 5.0 you cannot even select a item having a negative line width.

This is an issue with very large negative values ( a value = -1 does not
create this issue) for line width.

I just committed a workaround for this issue.

This is a workaround because you cannot (currently) edit items with a
negative line thickness.

A full fix is a bit more complex, because items with background fill
must be drawn on the background at least the filled area), and all other
items on top, after the background fill, in any case (for instance when
moving/placing an object in libedit).

I know Jeff has already worked on this problem, so because he has a
better knowledge of priority drawings, I'll leave it fix this issue (if
he agree, of course)

-- 
Jean-Pierre CHARRAS


Follow ups

References