view ueda/libuschem/graphsym.h @ 42:43ba91b137e2

pads2gpcb: starting to grok decal definitions
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 11 Jan 2016 19:21:29 +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;
};