KiCad PCB EDA Suite
|
#include <boost/range/adaptor/reversed.hpp>
#include <sch_edit_frame.h>
#include <sch_symbol.h>
#include <sch_line.h>
#include <sch_pin.h>
#include <kiface_base.h>
#include <algorithm>
#include <tool/tool_manager.h>
#include <tools/ee_selection_tool.h>
#include <eeschema_settings.h>
#include <core/arraydim.h>
Go to the source code of this file.
Classes | |
class | AUTOPLACER |
struct | AUTOPLACER::SIDE_AND_NPINS |
struct | AUTOPLACER::SIDE_AND_COLL |
Macros | |
#define | FIELD_PADDING schIUScale.MilsToIU( 15 ) |
#define | WIRE_V_SPACING schIUScale.MilsToIU( 100 ) |
#define | HPADDING schIUScale.MilsToIU( 25 ) |
#define | VPADDING schIUScale.MilsToIU( 15 ) |
Functions | |
template<typename T > | |
T | round_n (const T &value, const T &n, bool aRoundUp) |
Round up/down to the nearest multiple of n. | |
#define FIELD_PADDING schIUScale.MilsToIU( 15 ) |
Definition at line 66 of file autoplace_fields.cpp.
#define HPADDING schIUScale.MilsToIU( 25 ) |
Definition at line 68 of file autoplace_fields.cpp.
#define VPADDING schIUScale.MilsToIU( 15 ) |
Definition at line 69 of file autoplace_fields.cpp.
#define WIRE_V_SPACING schIUScale.MilsToIU( 100 ) |
Definition at line 67 of file autoplace_fields.cpp.
T round_n | ( | const T & | value, |
const T & | n, | ||
bool | aRoundUp | ||
) |
Round up/down to the nearest multiple of n.
Definition at line 74 of file autoplace_fields.cpp.
Referenced by AUTOPLACER::computeFBoxSize(), AUTOPLACER::DoAutoplace(), AUTOPLACER::fieldVPlacement(), and AUTOPLACER::fitFieldsBetweenWires().