← Back to team overview

kicad-developers team mailing list archive

Re: GAL canvas strategy

 

Hi Tom,

Two more commits.

The first implements hidden text, lines, etc.

The second fixes the draw order issues.  I couldn’t get the layerDepth stuff to work, either for Eeschema or LibEdit.  

For Eeschema, where we put only the component in the VIEW (and draw all the children from it) I resorted to draw order (body-colour-filled items first, then all others).  

For LibEdit, where we put the individual items in the VIEW, I used the drawPriority.  This works well, although it does mean getting rid of all the AdvanceDepth() calls in SCH_PAINTER.

Both are marked as heuristics until we provide a user-editable z-order.

Anyway, give it a look and let me know what you think.

Cheers,
Jeff.


> On 31 Aug 2018, at 00:13, Jeff Young <jeff@xxxxxxxxx> wrote:
> 
> One more commit (adds dangling ends for lines and labels).
> 
> 
>> On 30 Aug 2018, at 21:41, Jeff Young <jeff@xxxxxxxxx> wrote:
>> 
>> Yes, that’s “a couple more issues completed”, not “a couple more issues found”. ;)
>> 
>>> On 30 Aug 2018, at 21:38, Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx> wrote:
>>> 
>>> On 30/08/18 21:49, Jeff Young wrote:
>>>> A couple more for you:
>>>> 
>>>> 1) pin name/number offset
>>>> 2) pin electrical types
>>>> 3) hidden pins
>>>> 4) dangling pins (pin targets)
>>> 
>>> Did you mean you just did them (judging from your commits to the repo)?
>>> 
>>> Tom
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References