pcb 4.1.1
An interactive printed circuit board layout editor.

vendor.h File Reference

More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int vendorDrillMap (int)
 For a given drill size, find the closest vendor drill size.
bool vendorIsElementMappable (ElementType *)

Detailed Description


Copyright.


PCB, interactive printed circuit board design

Copyright (C) 2004 Dan McMahill

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.

Definition in file vendor.h.


Function Documentation

int vendorDrillMap ( int  )

For a given drill size, find the closest vendor drill size.

Definition at line 629 of file vendor.c.

References _, cached_drill, cached_map, CLOSEST, max, Message(), min, n_vendor_drills, rounding_method, vendor_drills, and vendorMapEnable.

Referenced by apply_vendor_map(), CreateNewPin(), and CreateNewVia().

Here is the call graph for this function:

bool vendorIsElementMappable ( ElementType )

Definition at line 831 of file vendor.c.

References _, DESCRIPTION_NAME, ignore_descr, ignore_refdes, ignore_value, Message(), n_descr, n_refdes, n_value, NAMEONPCB_NAME, NSTRCMP, rematch(), TEST_FLAG, UNKNOWN, VALUE_NAME, and vendorMapEnable.

Referenced by apply_vendor_map(), and CreateNewPin().

Here is the call graph for this function: