pcb 4.1.1
An interactive printed circuit board layout editor.
|
Prototypes for rubberband routines. More...
#include "global.h"
Go to the source code of this file.
Functions | |
void | LookupRubberbandLines (int, void *, void *, void *) |
Lookup all lines that are connected to an object and save the data to 'Crosshair.AttachedObject.Rubberband'. | |
void | LookupRatLines (int, void *, void *, void *) |
Prototypes for rubberband routines.
PCB, interactive printed circuit board design
Copyright (C) 1994,1995,1996 Thomas Nau
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Contact addresses for paper mail and Email:
Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
Definition in file rubberband.h.
void LookupRatLines | ( | int | , |
void * | , | ||
void * | , | ||
void * | |||
) |
Definition at line 615 of file rubberband.c.
References CheckLinePointForRat(), CheckPadForRat(), CheckPinForRat(), END_LOOP, layer, line, PAD_LOOP, pin, and PIN_LOOP.
Referenced by ActionChangeName(), ActionMoveObject(), AttachForCopy(), NotifyMode(), and RotateScreenObject().
void LookupRubberbandLines | ( | int | Type, |
void * | Ptr1, | ||
void * | Ptr2, | ||
void * | Ptr3 | ||
) |
Lookup all lines that are connected to an object and save the data to 'Crosshair.AttachedObject.Rubberband'.
Lookup is only done for visible layers.
Definition at line 536 of file rubberband.c.
References CheckArcPointForRubberbandConnection(), CheckLinePointForRubberbandConnection(), CheckPadForRubberbandConnection(), CheckPinForRubberbandConnection(), CheckPolygonForRubberbandConnection(), PCBType::Data, END_LOOP, GetLayerNumber(), layer, line, max_copper_layer, PAD_LOOP, PCB, pin, PIN_LOOP, ArcType::Point1, and ArcType::Point2.
Referenced by ActionMoveObject(), AttachForCopy(), and RotateScreenObject().