![]() |
pcb 4.1.1
An interactive printed circuit board layout editor.
|

Go to the source code of this file.
Defines | |
| #define | ROUND(x, n) ((int)(((x)+(n)/2)/(n))*(n)) |
Functions | |
| static void | FillDrill (DrillType *, ElementType *, PinType *) |
| static void | InitializeDrill (DrillType *, PinType *, ElementType *) |
| static int | DrillQSort (const void *va, const void *vb) |
| DrillInfoType * | GetDrillInfo (DataType *top) |
| void | FreeDrillInfo (DrillInfoType *Drills) |
PCB, interactive printed circuit board design
Copyright (C) 1994,1995,1996 Thomas Nau
This module, drill.c, was written and is Copyright (C) 1997 harry eaton
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 drill.c.
Definition at line 216 of file drill.c.
Referenced by frac_circle(), OctagonPoly(), and vect_inters2().
| static int DrillQSort | ( | const void * | va, |
| const void * | vb | ||
| ) | [static] |
Definition at line 111 of file drill.c.
References DrillType::DrillSize.
Referenced by GetDrillInfo().
| static void FillDrill | ( | DrillType * | Drill, |
| ElementType * | Element, | ||
| PinType * | Pin | ||
| ) | [static] |
Definition at line 55 of file drill.c.
References DrillType::Element, DrillType::ElementN, GetDrillElementMemory(), GetDrillPinMemory(), n, pin, DrillType::PinCount, ptr, TEST_FLAG, DrillType::UnplatedCount, and DrillType::ViaCount.
Referenced by GetDrillInfo().

| void FreeDrillInfo | ( | DrillInfoType * | Drills | ) |
Definition at line 308 of file drill.c.
References DrillInfoType::Drill, DRILL_LOOP, and END_LOOP.
Referenced by ReportDrills().
| DrillInfoType* GetDrillInfo | ( | DataType * | top | ) |
Definition at line 119 of file drill.c.
References ALLPIN_LOOP, DrillInfoType::Drill, DRILL_LOOP, pin_st::DrillingHole, DrillInfoType::DrillN, DrillQSort(), DrillType::DrillSize, END_LOOP, ENDALL_LOOP, FillDrill(), GetDrillInfoDrillMemory(), InitializeDrill(), pin, and VIA_LOOP.
Referenced by PrintFab(), PrintFab_overhang(), and ReportDrills().

| static void InitializeDrill | ( | DrillType * | drill, |
| PinType * | pin, | ||
| ElementType * | element | ||
| ) | [static] |
Definition at line 82 of file drill.c.
References pin_st::DrillingHole, DrillType::DrillSize, DrillType::Element, DrillType::ElementMax, DrillType::ElementN, GetDrillElementMemory(), GetDrillPinMemory(), pin, DrillType::Pin, DrillType::PinCount, DrillType::PinMax, DrillType::PinN, ptr, TEST_FLAG, DrillType::UnplatedCount, and DrillType::ViaCount.
Referenced by GetDrillInfo().
