← Back to team overview

kicad-developers team mailing list archive

EDGE_MODULE and DRAWSEGMENT refactor

 

Would it make sense to get rid of EDGE_MODULE class? As far as I can
tell, the only difference I see is that EDGE_MODULE stores coordinates
relative to its parent module.

Perhaps we could have only DRAWSEGMENT offering methods to access both
absolute and relative position, but the latter is relative to its parent
BOARD_ITEM, which could be either BOARD or MODULE? Similar refactoring
could be applied to TEXTE_MODULE and TEXTE_PCB.

What do you think? Do I miss anything unusual about these classes?

Regards,
Orson

Attachment: signature.asc
Description: OpenPGP digital signature