view ueda/libuschem/graphsym.h @ 61:ff1d565d233c

pads2gpcb: handle dummy decals with no pins (found in the E-Sample PCB)
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 31 Jan 2016 05:02:49 +0000
parents cd92449fdb51
children
line wrap: on
line source

/*
 * data structures for graphical symbols
 */

struct graphsym {
	char	*gs_name;
	char	*gs_pathname;
	struct	graphsym_pindef *gs_pins;
	int	gs_npins;
	int	gs_varpins;
	int	gs_forcenets;
	struct	graphsym *gs_nextinhash;
};

struct graphsym_pindef {
	int	gspd_x;
	int	gspd_y;
	char	*gspd_pinname;
	char	*gspd_pinnumber;
	char	*gspd_forcenet;
	struct	graphsym_pindef *gspd_next;
};

struct graphsym_pininst {
	int	x;
	int	y;
	struct	schemobj *compinst;
	struct	graphsym_pindef *pindef;
	struct	graphsym_pininst *nextinhash;
};