#include "spice.h"
#include "sced.h"
Go to the source code of this file.
void Break |
( |
int * |
LookedAhead | ) |
|
Definition at line 32 of file cutwire.c.
40 struct ka BB, OldSelectQBB;
60 if (FirstTime)
goto quit;
void ShowPrompt(char *str)
static int break_wire |
( |
| ) |
|
|
static |
static int break_wire |
( |
long |
RefX, |
|
|
long |
RefY, |
|
|
struct o * |
Pointer, |
|
|
int |
Flag |
|
) |
| |
|
static |
Definition at line 208 of file cutwire.c.
214 struct p *
pp,*px,*pTemp,*pNew,*pInt;
215 struct o *NewPointer;
223 for (pNew = pp = px; pp
And pp->
pSucc; pp = pTemp) {
240 if (pp->
pX != pInt->
pX Or pp->
pY != pInt->
pY) {
246 ((
struct w *)Pointer->
oRep)->wWidth,pNew,&NewPointer))
259 &BB.kaBottom,&BB.kaRight,&BB.kaTop);
265 if (VertCut && (RefX <= BB.kaLeft || RefX >= BB.kaRight))
267 if (!VertCut && (RefY <= BB.kaBottom Or RefY >= BB.kaTop))
272 for (pNew = pp = px; pp
And pp->
pSucc; pp = pTemp) {
290 if (pp->
pX != pInt->
pX Or pp->
pY != pInt->
pY) {
296 ((
struct w *)Pointer->
oRep)->wWidth,
307 ((
struct w *)Pointer->
oRep)->wWidth,pNew,&NewPointer))
static struct p * intersect_x()
static struct p * intersect_y()
void AssignWireProperties()
struct p * CopyPath(struct p *path)
struct p* CopyPath |
( |
struct p * |
path | ) |
|
static int do_break |
( |
long |
RefX, |
|
|
long |
RefY, |
|
|
int |
Flag |
|
) |
| |
|
static |
static struct p* intersect_x |
( |
| ) |
|
|
static |
static struct p* intersect_x |
( |
struct p * |
p1, |
|
|
struct p* |
p2, |
|
|
long |
Y |
|
) |
| |
|
static |
static struct p* intersect_y |
( |
| ) |
|
|
static |
static struct p* intersect_y |
( |
struct p * |
p1, |
|
|
struct p* |
p2, |
|
|
long |
X |
|
) |
| |
|
static |