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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp