pcb 4.1.1
An interactive printed circuit board layout editor.

rubberband.h File Reference

Prototypes for rubberband routines. More...

#include "global.h"
Include dependency graph for rubberband.h:
This graph shows which files directly or indirectly include this file:

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 *)

Detailed Description

Prototypes for rubberband routines.


Copyright.


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

Thomas.Nau@rz.uni-ulm.de

Definition in file rubberband.h.


Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function: