← Back to team overview

kicad-developers team mailing list archive

TRACK m_Shape values

 

I found a curious thing... the m_Shape member in TRACK hold the shape
(of the via, for example); for TRACK themselves and SEGZONE there is no
significance (the constructor sets it to S_SEGMENT). I'd move the
m_Shape member to the SEGVIA class, since it's significant only there...

Alas, in the Draw method there is a check for the S_CIRCLE track shape!
How is that possible???

-- 
Lorenzo Marcantonio
Logos Srl


Follow ups