KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
struct | EDA_IU_SCALE |
Variables | |
constexpr double | GERB_IU_PER_MM = 1e5 |
some macros and functions to convert a value in mils, decimils or mm to the internal unit used in pcbnew, cvpcb or gerbview (nanometer or deci-mil) depending on compile time option | |
constexpr double | PCB_IU_PER_MM = 1e6 |
constexpr double | PL_IU_PER_MM = 1e3 |
constexpr double | SCH_IU_PER_MM = 1e4 |
constexpr EDA_IU_SCALE | gerbIUScale = EDA_IU_SCALE( GERB_IU_PER_MM ) |
constexpr EDA_IU_SCALE | pcbIUScale = EDA_IU_SCALE( PCB_IU_PER_MM ) |
constexpr EDA_IU_SCALE | drawSheetIUScale = EDA_IU_SCALE( PL_IU_PER_MM ) |
constexpr EDA_IU_SCALE | schIUScale = EDA_IU_SCALE( SCH_IU_PER_MM ) |
constexpr EDA_IU_SCALE | unityScale = EDA_IU_SCALE( 1 ) |
constexpr int | ARC_LOW_DEF = pcbIUScale.mmToIU( 0.02 ) |
constexpr int | ARC_HIGH_DEF = pcbIUScale.mmToIU( 0.005 ) |
|
constexpr |
Definition at line 120 of file base_units.h.
Referenced by PCB_IO_IPC2581::addKnockoutText(), STEP_PCB_MODEL::AddPadShape(), BOARD_ADAPTER::addShape(), PCB_IO_IPC2581::addShape(), GRAPHICS_IMPORTER_PCBNEW::AddSpline(), BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), PAD::BuildEffectivePolygon(), PAD::buildEffectiveShape(), ZONE::BuildSmoothedPoly(), CADSTAR_PCB_ARCHIVE_LOADER::calculateZonePriorities(), FOOTPRINT::CheckNetTies(), TEARDROP_MANAGER::computeCurvedForRectShape(), TEARDROP_MANAGER::computeCurvedForRoundShape(), ALTIUM_PCB::ConvertArcs6ToBoardItem(), ALTIUM_PCB::ConvertTracks6ToBoardItem(), BOARD_ADAPTER::createTrackWithMargin(), TRACKS_CLEANER::deleteTracksInPads(), PCB_SHAPE::Deserialize(), PAD::doCheckPad(), doConvertOutlineToPolygon(), KIGFX::PCB_PAINTER::Draw(), gen_arc(), RENDER_3D_OPENGL::generateViasAndPads(), BOARD_ADAPTER::GetCircleSegmentCount(), CADSTAR_PCB_ARCHIVE_LOADER::getPolySetFromCadstarShape(), API_HANDLER_PCB::handleGetPadShapeAsPolygon(), ALTIUM_PCB::HelperPcpShapeAsBoardKeepoutRegion(), ALTIUM_PCB::HelperPcpShapeAsFootprintKeepoutRegion(), GRAPHICS_CLEANER::isNullShape(), CADSTAR_PCB_ARCHIVE_LOADER::loadCoppers(), PCB_IO_EAGLE::loadPlain(), PCB_IO_EAGLE::loadPolygon(), PCB_IO_KICAD_LEGACY::loadZONE_CONTAINER(), DSN::SPECCTRA_DB::makeIMAGE(), PAD::MergePrimitivesAsPolygon(), PCB_SHAPE::Mirror(), PCB_IO_EAGLE::packageCircle(), PCB_IO_EAGLE::packagePolygon(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_EASYEDAPRO_PARSER::ParseContour(), PCB_IO_EASYEDAPRO_PARSER::ParseFootprint(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_SHAPE(), ALTIUM_PCB::ParsePolygons6Data(), PCB_IO_KICAD_SEXPR_PARSER::parseZONE(), process(), DRC_TEST_PROVIDER_CONNECTION_WIDTH::Run(), PANEL_SETUP_CONSTRAINTS::TransferDataToWindow(), ZONE::TransformSmoothedOutlineToPolygon(), updateBezierFromConstructionMgr(), and EDA_BEZIER_POINT_EDIT_BEHAVIOR::UpdateItem().
|
constexpr |
Definition at line 119 of file base_units.h.
Referenced by PNS::ArcHull(), collidesWithArea(), TEARDROP_MANAGER::computeAnchorPoints(), FOOTPRINT::CoverageRatio(), TEARDROP_MANAGER::findAnchorPointsOnTrack(), PCB_BASE_FRAME::FocusOnItems(), FOOTPRINT::GetBoundingHull(), FOOTPRINT::GetCoverageArea(), PCB_TUNING_PATTERN::getOutline(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), BRDITEMS_PLOTTER::PlotText(), DRC_TEST_PROVIDER_DISALLOW::Run(), DRC_TEST_PROVIDER_SLIVER_CHECKER::Run(), DRC_TEST_PROVIDER_TEXT_DIMS::Run(), KIGFX::VIEW::SetCenter(), and DRC_TEST_PROVIDER_ZONE_CONNECTIONS::testZoneLayer().
|
constexpr |
Definition at line 109 of file base_units.h.
Referenced by PL_EDITOR_FRAME::AddDrawingSheetItem(), PROPERTIES_FRAME::CopyPrmsFromPanelToItem(), PL_DRAW_PANEL_GAL::DisplayDrawingSheet(), PL_EDITOR_FRAME::DisplayGridMsg(), fromMM(), PL_EDITOR_FRAME::GetDocumentExtents(), PL_EDITOR_FRAME::GetPageSizeIU(), PL_EDITOR_CONTROL::PageSetup(), PL_DRAW_PANEL_GAL::PL_DRAW_PANEL_GAL(), PL_EDITOR_FRAME::PL_EDITOR_FRAME(), PL_EDITOR_FRAME::PrintPage(), PLEDITOR_PRINTOUT::PrintPage(), DIALOG_INSPECTOR::ReCreateDesignList(), PL_EDITOR_FRAME::SetPageSettings(), PL_DRAW_PANEL_GAL::SwitchBackend(), toMM(), PL_POINT_EDITOR::updateItem(), PL_EDITOR_FRAME::UpdateMsgPanelInfo(), and PL_EDITOR_FRAME::UpdateStatusBar().
|
constexpr |
some macros and functions to convert a value in mils, decimils or mm to the internal unit used in pcbnew, cvpcb or gerbview (nanometer or deci-mil) depending on compile time option
Definition at line 69 of file base_units.h.
Referenced by scaletoIU().
|
constexpr |
Definition at line 107 of file base_units.h.
Referenced by addHoleToPolygon(), BOOST_AUTO_TEST_CASE(), AM_PRIMITIVE::ConvertBasicShapeToPolygon(), D_CODE::ConvertShapeToPolygon(), KIGFX::PCB_PAINTER::draw(), KIGFX::GERBVIEW_PAINTER::draw(), GERBER_FILE_IMAGE::ExecuteRS274XCommand(), fillArcPOLY(), GERBVIEW_DRAW_PANEL_GAL::GERBVIEW_DRAW_PANEL_GAL(), GERBVIEW_FRAME::GERBVIEW_FRAME(), GERBER_DRAW_ITEM::GetMsgPanelInfo(), GERBVIEW_FRAME::GetPageSizeIU(), GERBER_DRAW_ITEM::HitTest(), GBR_TO_PCB_EXPORTER::MapToPcbUnits(), GERBVIEW_INSPECTION_TOOL::MeasureTool(), GERBVIEW_PRINTOUT::milsToIU(), EXCELLON_IMAGE::readToolInformation(), GERBER_FILE_IMAGE::SetDrawOffetAndRotation(), GERBVIEW_FRAME::SetPageSettings(), GERBVIEW_PRINTOUT::setupGal(), GERBVIEW_INSPECTION_TOOL::ShowDCodes(), GERBVIEW_DRAW_PANEL_GAL::SwitchBackend(), DIALOG_DRAW_LAYERS_SETTINGS::TransferDataFromWindow(), GERBVIEW_FRAME::updateDCodeSelectBox(), and GERBER_DRAW_ITEM::ViewGetLOD().
|
constexpr |
Definition at line 70 of file base_units.h.
Referenced by BITMAPCONV_INFO::ConvertBitmap(), SHAPE_ARC::DefaultAccuracyForPCB(), CADSTAR_PCB_ARCHIVE_LOADER::Load(), CADSTAR_PCB_ARCHIVE_LOADER::loadDesignRules(), BITMAPCONV_INFO::outputOnePolygon(), CADSTAR_PCB_ARCHIVE_PARSER::Parse(), PCB_IO_IPC2581::SaveBoard(), and PCB_IO_ODBPP::SaveBoard().
|
constexpr |
Definition at line 108 of file base_units.h.
Referenced by DIALOG_COPPER_ZONE::AcceptOptions(), PANEL_ZONE_PROPERTIES::AcceptOptions(), ZONE_FILLER::addHatchFillTypeOnZone(), EDA_DATA::AddPackage(), STEP_PCB_MODEL::AddPadShape(), AddRectCourtyard(), PCAD2KICAD::PCAD_PAD::AddToFootprint(), DIALOG_PLOT::applyPlotSettings(), CADSTAR_PCB_ARCHIVE_LOADER::applyTextCode(), approximateLineChainWithArcs(), AR_AUTOPLACER::AR_AUTOPLACER(), AR_AUTOPLACER::AutoplaceFootprints(), FOOTPRINT::AutoPositionFields(), BOARD::BOARD(), BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), FOOTPRINT_CHOOSER_FRAME::build3DCanvas(), EXPORTER_STEP::buildBoard3DShapes(), buildBoardBoundingBoxPoly(), BuildBoardPolygonOutlines(), ZONE_FILLER::buildCopperItemClearances(), FOOTPRINT::BuildCourtyardCaches(), BOARD_STACKUP::BuildDefaultStackupList(), PAD::buildEffectiveShape(), EXPORTER_STEP::buildFootprint3DShapes(), BuildStackupReport(), PCB_POINT_EDITOR::chamferCorner(), ComboBoxUnits(), EXPORTER_PCB_VRML::ComputeLayer3D_Zpos(), TEARDROP_MANAGER::computeTeardropPolygon(), ConfigureHPGLPenSizes(), PCBEXPR_UNIT_RESOLVER::Convert(), ALTIUM_PCB::ConvertComponentBody6ToFootprintItem(), ALTIUM_PCB::ConvertShapeBasedRegions6ToBoardItem(), ALTIUM_PCB::ConvertShapeBasedRegions6ToFootprintItem(), GERBER_WRITER::createDrillFile(), PLACEFILE_GERBER_WRITER::CreatePlaceFile(), PANEL_PCBNEW_COLOR_SETTINGS::createPreviewItems(), TEARDROP_MANAGER::createTeardrop(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), diameter_in_inches(), diameter_in_mm(), PANEL_PREVIEW_3D_MODEL::doIncrementOffset(), PANEL_PREVIEW_3D_MODEL::doIncrementScale(), CLI::PCB_EXPORT_3D_COMMAND::doPerform(), EDIT_TOOL::DragArcTrack(), KIGFX::PCB_PAINTER::draw(), DRAWING_TOOL::drawArc(), DRAWING_TOOL::DrawBoardCharacteristics(), DRAWING_TOOL::drawOneBezier(), DRAWING_TOOL::drawShape(), DRAWING_TOOL::DrawSpecificationStackup(), ARC_POINT_EDIT_BEHAVIOR::editArcEndpointKeepCenter(), ARC_POINT_EDIT_BEHAVIOR::editArcMidKeepCenter(), PAD_TOOL::EnumeratePads(), BOARD_NETLIST_UPDATER::estimateFootprintInsertionPosition(), EVT_UPDATE_UI_RANGE(), PAD_TOOL::explodePad(), PCB_EDIT_FRAME::Export_IDF3(), EXPORTER_PCB_VRML::EXPORTER_PCB_VRML(), EXPORTER_STEP::EXPORTER_STEP(), EXPORTER_PCB_VRML::ExportVRML_File(), EXPORTER_PCB_VRML::ExportVrmlFootprint(), EXPORTER_PCB_VRML::ExportVrmlPadHole(), EXPORTER_PCB_VRML::ExportVrmlViaHoles(), ZONE_FILLER::fillCopperZone(), PCB_IO_EASYEDAPRO_PARSER::fillFootprintModelInfo(), FillNegativeKnockout(), ZONE_FILLER::fillNonCopperZone(), PCB_BASE_FRAME::FocusOnItems(), FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME(), FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS(), FOOTPRINT::FootprintNeedsUpdate(), PCB_IO_KICAD_SEXPR::format(), formatBBox(), BOARD_STACKUP::FormatBoardStackup(), formatInternalUnits(), GENDRILL_WRITER_BASE::genDrillMapFile(), RENDER_3D_OPENGL::generate3dGrid(), ARC_DATA_MM::GenerateArc(), GERBER_JOBFILE_WRITER::GERBER_JOBFILE_WRITER(), PCB_GROUP::GetBoundingBox(), FOOTPRINT::GetBoundingBox(), FOOTPRINT::GetBoundingHull(), GetChamferParams(), BOARD_STACKUP_ITEM::GetCopperDefaultThickness(), STEP_PCB_MODEL::getCopperLayerZPlacement(), ZONE::GetDefaultHatchPitch(), GetDefaultIpcRoundingRatio(), getDefaultPenSize(), FOOTPRINT_EDIT_FRAME::GetDocumentExtents(), GetDogboneParams(), PCBNEW_JOBS_HANDLER::getDrawingSheetProxyView(), BOARD_DESIGN_SETTINGS::GetDRCEpsilon(), PCB_GRID_HELPER::GetGridSize(), BOARD_DESIGN_SETTINGS::GetHolePlatingThickness(), getInPcbUnits(), ZONE::GetInteractingZones(), getMarkerBestPenSize(), BOARD_STACKUP_ITEM::GetMaskDefaultThickness(), PCB_DIMENSION_BASE::GetMsgPanelInfo(), PCB_DIM_ALIGNED::GetMsgPanelInfo(), PANEL_ZONE_GAL::GetPageSizeIU(), PCB_BASE_FRAME::GetPageSizeIU(), DIALOG_BOARD_REANNOTATE::GetParameters(), PCB_GENERATOR::GetProperties(), getSketchOvalBestPenSize(), BOARD_ITEM::GetStroke(), PCB_DIMENSION_BASE::GetValueText(), GRAPHICS_IMPORTER_PCBNEW::GRAPHICS_IMPORTER_PCBNEW(), HelperShapeLineChainFromAltiumVertices(), ZONE::HitTest(), PCB_IO_KICAD_LEGACY::init(), DIALOG_PLOT::init_Dialog(), initializePlotter(), BOARD_ADAPTER::InitSettings(), initTextTable(), TEST_BOARD_ITEM_FIXTURE::Instantiate(), DSN::IU2um(), iu_to_d356(), PCBNEW_JOBS_HANDLER::JobExportRender(), PCBNEW_JOBS_HANDLER::JobExportStep(), PCB_IO_EASYEDA::LoadBoard(), PCB_IO_EAGLE::loadClasses(), PCB_IO_KICAD_LEGACY::loadGENERAL(), PCB_IO_EAGLE::loadPolygon(), PANEL_3D_RAYTRACING_OPTIONS::loadSettings(), MakeInvalidCourtyardTestFP(), STEP_PCB_MODEL::MakeShapeAsThickSegment(), STEP_PCB_MODEL::MakeShapes(), DSN::SPECCTRA_DB::makeVIA(), makeWireFromChain(), PCB_VIEWER_TOOLS::MeasureTool(), FOOTPRINT_EDITOR_SETTINGS::MigrateFromLegacy(), PCBNEW_SETTINGS::MigrateFromLegacy(), PCBNEW_PRINTOUT::milsToIU(), FOOTPRINT::MoveAnchorPosition(), NET_SETTINGS::NET_SETTINGS(), DIALOG_EXPORT_STEP::onExportButton(), PCB_EDIT_FRAME::OnExportIDF3(), PCB_EDIT_FRAME::OnExportVRML(), PANEL_PREVIEW_3D_MODEL::onMouseWheelOffset(), PANEL_PREVIEW_3D_MODEL::onMouseWheelScale(), PANEL_PREVIEW_3D_MODEL::onUnitsChanged(), PCB_IO_EAGLE::packageWire(), PAD::PAD(), PAD_DESC::PAD_DESC(), DIALOG_PAD_PROPERTIES::PadTypeSelected(), BOARD_EDITOR_CONTROL::PageSettings(), PANEL_SETUP_NETCLASSES::PANEL_SETUP_NETCLASSES(), ALTIUM_PCB::Parse(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_KICAD_SEXPR_PARSER::parseBoardUnits(), ALTIUM_PCB::ParseComponentsBodies6Data(), PCB_IO_KICAD_SEXPR_PARSER::parseEDA_TEXT(), ALTIUM_PCB::ParseFootprint(), PCB_IO_EASYEDAPRO_PARSER::ParseFootprint(), PCB_IO_KICAD_SEXPR_PARSER::parseGENERATOR(), PCB_IO_KICAD_SEXPR_PARSER::parsePAD(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_SHAPE(), PCB_IO_KICAD_SEXPR_PARSER::parsePCB_TABLE(), PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent(), PCB_IO_EASYEDA_PARSER::ParseToBoardItemContainer(), PCB_IO_KICAD_SEXPR_PARSER::parseZONE(), PCB_PLOT_PARAMS::PCB_PLOT_PARAMS(), PCB_TARGET::PCB_TARGET(), PCB_TEXT::PCB_TEXT(), PCB_TRACK::PCB_TRACK(), PCB_TUNING_PATTERN::PCB_TUNING_PATTERN(), playground_main_func(), EXPORT_SVG::Plot(), BRDITEMS_PLOTTER::PlotDrillMarks(), PlotLayerOutlines(), BRDITEMS_PLOTTER::PlotPadNumber(), POSITION_RELATIVE_TOOL::PositionRelativeInteractively(), DIALOG_PAD_PROPERTIES::prepareCanvas(), primitiveNeedsUpdate(), LINE_EXTENSION_ROUTINE::ProcessLinePair(), FABMASTER::processScaleFactor(), LP_CACHE::ReadAndVerifyHeader(), MWAVE_POLYGONAL_SHAPE_DLG::ReadDataShapeDescr(), PCB_TUNING_PATTERN::recoverBaseline(), PCB_EDIT_FRAME::redrawNetnames(), PCB_TUNING_PATTERN::resetToBaseline(), DRC_TEST_PROVIDER_SLIVER_CHECKER::Run(), DSN::scale(), ZONE::SetBorderDisplayStyle(), PANEL_SETUP_BOARD_STACKUP::setDefaultLayerWidths(), BOARD_DESIGN_SETTINGS::SetDefaultMasterPad(), EXCELLON_WRITER::SetFormat(), GERBER_WRITER::SetFormat(), PCB_SHAPE::SetIsProxyItem(), PCB_BASE_FRAME::SetPageSettings(), PCB_EDIT_FRAME::SetPageSettings(), PCBNEW_PRINTOUT::setupGal(), RENDER_3D_RAYTRACE_BASE::setupMaterials(), PCBNEW_PRINTOUT::setupPainter(), shapeNeedsUpdate(), PNS::SHOVE::shoveIteration(), StartPlotBoard(), STEP_PCB_MODEL::STEP_PCB_MODEL(), PCAD2KICAD::StrToDoublePrecisionUnits(), PNS_KICAD_IFACE_BASE::syncZone(), DRC_TEST_PROVIDER_MISC::testOutline(), DRC_TEST_PROVIDER_MISC::testTextVars(), PANEL_3D_RAYTRACING_OPTIONS::TransferDataFromWindow(), DIALOG_GLOBAL_EDIT_TEARDROPS::TransferDataFromWindow(), DIALOG_NON_COPPER_ZONES_EDITOR::TransferDataFromWindow(), DIALOG_RULE_AREA_PROPERTIES::TransferDataFromWindow(), DIALOG_TARGET_PROPERTIES::TransferDataFromWindow(), DIALOG_TEXTBOX_PROPERTIES::TransferDataFromWindow(), PANEL_FP_EDITOR_DEFAULTS::TransferDataFromWindow(), PANEL_SETUP_CONSTRAINTS::TransferDataFromWindow(), PANEL_SETUP_TEXT_AND_GRAPHICS::TransferDataFromWindow(), DIALOG_IMPORT_GRAPHICS::TransferDataFromWindow(), DIALOG_NON_COPPER_ZONES_EDITOR::TransferDataToWindow(), PCB_TUNING_PATTERN::Update(), DIALOG_POSITION_RELATIVE::updateAnchorInfo(), PCB_TUNING_PATTERN::UpdateFromEditPoints(), REFERENCE_IMAGE_POINT_EDIT_BEHAVIOR::UpdateItem(), PANEL_PREVIEW_3D_MODEL::updateOrientation(), TEARDROP_MANAGER::UpdateTeardrops(), DIALOG_FOOTPRINT_PROPERTIES::Validate(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::Validate(), PCB_TUNING_PATTERN::ViewDraw(), PAD::ViewGetLOD(), PCB_TRACK::ViewGetLOD(), PCB_VIA::ViewGetLOD(), WriteDRCReport(), ERC_REPORT::WriteJsonReport(), DRC_REPORT::WriteJsonReport(), EXPORTER_PCB_VRML::writeLayers(), DRC_REPORT::WriteTextReport(), ZONE_DESC::ZONE_DESC(), ZONE_SETTINGS::ZONE_SETTINGS(), BOARD_EDITOR_CONTROL::ZoneDuplicate(), PCB_SELECTION_TOOL::ZoomFitCrossProbeBBox(), and DIALOG_IMPORT_GRAPHICS::~DIALOG_IMPORT_GRAPHICS().
|
constexpr |
Definition at line 71 of file base_units.h.
Referenced by BITMAPCONV_INFO::ConvertBitmap(), BITMAPCONV_INFO::outputOnePolygon(), and PCB_IO_ODBPP::SaveBoard().
|
constexpr |
Definition at line 72 of file base_units.h.
Referenced by BOOST_AUTO_TEST_CASE(), CADSTAR_SCH_ARCHIVE_LOADER::checkDesignLimits(), BITMAPCONV_INFO::ConvertBitmap(), EDA_UNIT_UTILS::UI::MessageTextFromValue(), BITMAPCONV_INFO::outputDataHeader(), BITMAPCONV_INFO::outputOnePolygon(), CADSTAR_SCH_ARCHIVE_PARSER::Parse(), and EDA_UNIT_UTILS::UI::StringFromValue().
|
constexpr |
Definition at line 110 of file base_units.h.
Referenced by SCH_IO_EAGLE::addBusEntries(), SCH_IO_EAGLE::addImplicitConnections(), SCH_IO_EAGLE::adjustNetLabels(), Altium2KiCadUnit(), SCH_CONNECTION::AppendInfoToMsgPanel(), ASCH_BORDER_INTERFACE::ASCH_BORDER_INTERFACE(), EE_GRID_HELPER::BestSnapAnchor(), BOOST_AUTO_TEST_CASE(), bumpToNextGrid(), CheckLibSymbol(), CONNECTION_GRAPH::collectAllDriverValues(), LIB_SYMBOL::Compare(), AUTOPLACER::computeFBoxSize(), ConvertSVGToLibShapes(), SCH_PLOTTER::createHPGLFiles(), PANEL_EESCHEMA_COLOR_SETTINGS::createPreviewItems(), DIALOG_IMPORT_GFX_SCH::DIALOG_IMPORT_GFX_SCH(), DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), KIGFX::SCH_VIEW::DisplaySheet(), AUTOPLACER::DoAutoplace(), SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), CLI::SCH_EXPORT_PLOT_COMMAND::doPerform(), EESCHEMA_JOBS_HANDLER::doSymExportSvg(), KIGFX::SCH_PAINTER::draw(), KIGFX::SCH_PAINTER::drawAnchor(), SCH_EDIT_FRAME::DrawCurrentSheetToClipboard(), KIGFX::SCH_PAINTER::drawDanglingIndicator(), KIGFX::SCH_PAINTER::drawItemBoundingBox(), SCH_DRAWING_TOOLS::DrawSheet(), KIGFX::dummy(), dummy(), SYMBOL_EDITOR_CONTROL::ExportSymbolAsSVG(), AUTOPLACER::fieldVPlacement(), SCH_IO_ALTIUM::fixupSymbolPinNameNumbers(), formatArc(), formatBezier(), formatCircle(), formatIU(), formatPoly(), formatRect(), SCH_HIERLABEL::GetBodyBoundingBox(), SCH_EDIT_FRAME::GetDocumentExtents(), SYMBOL_EDIT_FRAME::GetDocumentExtents(), EESCHEMA_JOBS_HANDLER::getDrawingSheetProxyView(), SCH_JUNCTION::getEffectiveShape(), SCH_SHAPE::GetEffectiveWidth(), EE_GRID_HELPER::GetGridSize(), getInSchUnits(), GetLastPinLength(), GetLastPinNameSize(), GetLastPinNumSize(), CADSTAR_SCH_ARCHIVE_LOADER::getLineThickness(), SCH_IO_LTSPICE_PARSER::getLineWidth(), KIGFX::SCH_PAINTER::getLineWidth(), SCH_SHEET::GetMinHeight(), SCH_SHEET::GetMinWidth(), SCH_PIN::GetNameTextSize(), SCH_PIN::GetNumberTextSize(), KIGFX::SCH_PAINTER::getOperatingPointTextSize(), SCH_BASE_FRAME::GetPageSizeIU(), SCH_LINE::GetPenWidth(), SCH_SHEET::GetPenWidth(), SCH_SHEET_PIN::GetPenWidth(), PIN_LAYOUT_CACHE::GetPinElectricalTypeInfo(), PIN_LAYOUT_CACHE::getPinTextOffset(), DIALOG_PLOT_SCHEMATIC::getPlotOptions(), KIGFX::SCH_PAINTER::getShadowWidth(), ERC_REPORT::GetTextReport(), PIN_LAYOUT_CACHE::getUntransformedAltIconBox(), PIN_LAYOUT_CACHE::getUntransformedPinTypeBox(), GRAPHICS_IMPORTER_LIB_SYMBOL::GRAPHICS_IMPORTER_LIB_SYMBOL(), GRAPHICS_IMPORTER_SCH::GRAPHICS_IMPORTER_SCH(), HelperGeneratePowerPortGraphics(), DIALOG_PLOT_SCHEMATIC::initDlg(), TEST_EE_ITEM_FIXTURE::Instantiate(), SCH_SYMBOL::IsMovableFromAnchorPoint(), IterateOverPositionsAndReferences(), EESCHEMA_JOBS_HANDLER::JobSymExportSvg(), LIB_SYMBOL::LIB_SYMBOL(), CADSTAR_SCH_ARCHIVE_LOADER::Load(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadArc(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadBezier(), SCH_IO_KICAD_LEGACY::loadBitmap(), SCH_IO_KICAD_LEGACY::loadBusEntry(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadCircle(), PANEL_EESCHEMA_EDITING_OPTIONS::loadEEschemaSettings(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadField(), SCH_IO_EAGLE::loadFrame(), SCH_IO_KICAD_LEGACY::loadJunction(), CADSTAR_SCH_ARCHIVE_LOADER::loadLibPart(), SCH_IO_EAGLE::loadModuleInstance(), SCH_IO_KICAD_LEGACY::loadNoConnect(), SCH_IO_KICAD_LEGACY_LIB_CACHE::LoadPart(), SCH_IO_EAGLE::loadPin(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadPin(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadPolyLine(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadRect(), SCH_IO_EAGLE::loadSchematic(), LoadSchematic(), SCH_IO_EASYEDAPRO::LoadSchematicFile(), CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances(), SCH_IO_EAGLE::loadSegments(), SCH_IO_EAGLE::loadSheet(), SCH_IO_KICAD_LEGACY::loadSheet(), CADSTAR_SCH_ARCHIVE_LOADER::loadSheets(), SCH_IO_KICAD_LEGACY::loadSymbol(), PANEL_SYM_EDITING_OPTIONS::loadSymEditorSettings(), SCH_IO_KICAD_LEGACY::loadText(), SCH_IO_KICAD_LEGACY_LIB_CACHE::loadText(), SCH_IO_KICAD_LEGACY::loadWire(), SIM_MODEL::MigrateSimModel(), SCH_PRINTOUT::milsToIU(), NET_SETTINGS::NET_SETTINGS(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddField(), DIALOG_LIB_EDIT_PIN_TABLE::OnAddRow(), DIALOG_SHAPE_PROPERTIES::onBorderChecked(), PANEL_SYM_EDITING_OPTIONS::onKillFocusPinPitch(), DIALOG_PIN_PROPERTIES::OnPaintShowPanel(), PANEL_SETUP_NETCLASSES::PANEL_SETUP_NETCLASSES(), SCH_IO_LTSPICE_PARSER::Parse(), SCH_IO_KICAD_SEXPR_PARSER::parseBusEntry(), SCH_IO_ALTIUM::ParseHarnessPort(), SCH_IO_KICAD_SEXPR_PARSER::parseInternalUnits(), SCH_IO_ALTIUM::ParseLibHeader(), SCH_IO_ALTIUM::ParseLibParameter(), SCH_IO_KICAD_SEXPR_PARSER::parseLine(), SCH_IO_ALTIUM::ParsePin(), SCH_IO_ALTIUM::ParsePort(), SCH_IO_KICAD_SEXPR_PARSER::parseSchArc(), SCH_IO_KICAD_SEXPR_PARSER::parseSchBezier(), SCH_IO_KICAD_SEXPR_PARSER::parseSchCircle(), SCH_EASYEDAPRO_PARSER::ParseSchematic(), SCH_EASYEDA_PARSER::ParseSchematic(), SCH_IO_KICAD_SEXPR_PARSER::parseSchPolyLine(), SCH_IO_KICAD_SEXPR_PARSER::parseSchRectangle(), SCH_IO_KICAD_SEXPR_PARSER::parseSchRuleArea(), SCH_IO_KICAD_SEXPR_PARSER::parseSchTable(), SCH_IO_KICAD_SEXPR_PARSER::parseSchTextBoxContent(), SCH_IO_KICAD_SEXPR_PARSER::parseSheet(), SCH_IO_ALTIUM::ParseSheet(), SCH_IO_KICAD_SEXPR_PARSER::parseStroke(), SCH_EASYEDAPRO_PARSER::ParseSymbol(), SCH_IO_KICAD_SEXPR_PARSER::parseSymbolArc(), SCH_IO_KICAD_SEXPR_PARSER::parseSymbolBezier(), SCH_IO_KICAD_SEXPR_PARSER::parseSymbolCircle(), SCH_IO_KICAD_SEXPR_PARSER::parseSymbolPin(), SCH_IO_KICAD_SEXPR_PARSER::parseSymbolPolyLine(), SCH_IO_KICAD_SEXPR_PARSER::parseSymbolRectangle(), SCH_EASYEDA_PARSER::ParseSymbolShapes(), SCH_IO_KICAD_SEXPR_PARSER::parseSymbolTextBox(), SCH_SHEET::Plot(), SCH_TABLE::Plot(), SCH_SYMBOL::PlotDNP(), SCH_PLOTTER::plotOneSheetDXF(), SCH_PLOTTER::plotOneSheetHpgl(), SCH_PLOTTER::plotOneSheetPDF(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), SCH_PIN::PlotPinTexts(), SCH_SHEET::Print(), SCH_SYMBOL::Print(), SCH_EDIT_FRAME::PrintPage(), SYMBOL_EDIT_FRAME::PrintPage(), SCH_PRINTOUT::PrintPage(), SCH_PIN::printPinElectricalTypeName(), SCH_PIN::printPinTexts(), CONNECTION_GRAPH::processSubGraphs(), PIN_LAYOUT_CACHE::recomputeCaches(), SCH_EDIT_TOOL::RepeatDrawItem(), SYMBOL_EDITOR_PIN_TOOL::RepeatPin(), KIGFX::SCH_VIEW::ResizeSheetWorkingArea(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveArc(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveBezier(), SCH_IO_KICAD_LEGACY::saveBitmap(), SCH_IO_KICAD_SEXPR::saveBitmap(), SCH_IO_KICAD_LEGACY::saveBusEntry(), SCH_IO_KICAD_SEXPR::saveBusEntry(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveCircle(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveField(), SCH_IO_KICAD_LEGACY::saveField(), SCH_IO_KICAD_SEXPR::saveField(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveField(), SCH_IO_KICAD_LEGACY::saveJunction(), SCH_IO_KICAD_SEXPR::saveJunction(), SCH_IO_KICAD_LEGACY::saveLine(), SCH_IO_KICAD_SEXPR::saveLine(), SCH_IO_KICAD_LEGACY::saveNoConnect(), SCH_IO_KICAD_SEXPR::saveNoConnect(), SCH_IO_KICAD_LEGACY_LIB_CACHE::savePin(), SCH_IO_KICAD_SEXPR_LIB_CACHE::savePin(), SCH_IO_KICAD_LEGACY_LIB_CACHE::savePolyLine(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveRectangle(), SCH_IO_KICAD_LEGACY::saveSheet(), SCH_IO_KICAD_SEXPR::saveSheet(), SCH_IO_KICAD_SEXPR_LIB_CACHE::SaveSymbol(), SCH_IO_KICAD_LEGACY_LIB_CACHE::SaveSymbol(), SCH_IO_KICAD_LEGACY::saveSymbol(), SCH_IO_KICAD_SEXPR::saveSymbol(), SCH_IO_KICAD_SEXPR::saveTable(), SCH_IO_KICAD_LEGACY_LIB_CACHE::saveText(), SCH_IO_KICAD_LEGACY::saveText(), SCH_IO_KICAD_SEXPR::saveText(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveText(), SCH_IO_KICAD_SEXPR::saveTextBox(), SCH_IO_KICAD_SEXPR_LIB_CACHE::saveTextBox(), SCH_EASYEDA_PARSER::ScaleSize(), SCH_EASYEDAPRO_PARSER::ScaleSize(), SCH_BUS_BUS_ENTRY::SCH_BUS_BUS_ENTRY(), SCH_BUS_ENTRY_BASE::SCH_BUS_ENTRY_BASE(), SCH_BUS_WIRE_ENTRY::SCH_BUS_WIRE_ENTRY(), SCH_DIRECTIVE_LABEL::SCH_DIRECTIVE_LABEL(), SCH_JUNCTION::SCH_JUNCTION(), SCH_LINE::SCH_LINE(), SCH_NO_CONNECT::SCH_NO_CONNECT(), SCH_PREVIEW_PANEL::SCH_PREVIEW_PANEL(), SCH_RENDER_SETTINGS::SCH_RENDER_SETTINGS(), SCH_SCREEN::SCH_SCREEN(), KIGFX::SCH_VIEW::SCH_VIEW(), SCHEMATIC_SETTINGS::SCHEMATIC_SETTINGS(), DIALOG_PLOT_SCHEMATIC::setHpglPenWidth(), SetLibShapeFillAndColor(), SetSchShapeFillAndColor(), SCH_PLOTTER::setupPlotPagePDF(), PIN_TABLE_DATA_MODEL::SetValue(), SCH_DRAWING_TOOLS::sizeSheet(), SYMBOL_EDIT_FRAME::SVGPlotSymbol(), SYMBOL_DIFF_FRAME::SYMBOL_DIFF_FRAME(), SYMBOL_EDIT_FRAME::SYMBOL_EDIT_FRAME(), SYMBOL_VIEWER_FRAME::SYMBOL_VIEWER_FRAME(), TEST_EE_ITEM_FIXTURE::TEST_EE_ITEM_FIXTURE(), ERC_TESTER::TestLibSymbolIssues(), ERC_TESTER::TestTextVars(), SCH_IO_LTSPICE_PARSER::ToKicadCoords(), SCH_IO_LTSPICE_PARSER::ToKicadFontSize(), SCH_IO_LTSPICE_PARSER::ToLtSpiceCoords(), PANEL_EESCHEMA_EDITING_OPTIONS::TransferDataFromWindow(), PANEL_SYM_EDITING_OPTIONS::TransferDataFromWindow(), DIALOG_IMPORT_GFX_SCH::TransferDataFromWindow(), SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace(), BITMAP_POINT_EDIT_BEHAVIOR::UpdateItem(), RECTANGLE_POINT_EDIT_BEHAVIOR::UpdateItem(), SCH_LINE::ViewGetLOD(), EE_SELECTION_TOOL::ZoomFitCrossProbeBBox(), PANEL_EESCHEMA_COLOR_SETTINGS::zoomFitPreview(), and DIALOG_IMPORT_GFX_SCH::~DIALOG_IMPORT_GFX_SCH().
|
constexpr |
Definition at line 111 of file base_units.h.
Referenced by BOOST_AUTO_TEST_CASE(), PANEL_PREVIEW_3D_MODEL::doIncrementRotation(), DRAWING_TOOL::DrawBoardCharacteristics(), DRAWING_TOOL::DrawSpecificationStackup(), DRC_ENGINE::EvalRules(), DS_DRAW_ITEM_BASE::GetMsgPanelInfo(), PANEL_SETUP_FORMATTING::ImportSettingsFrom(), DIALOG_PLOT::init_Dialog(), UNITS_PROVIDER::MessageTextFromValue(), PANEL_PREVIEW_3D_MODEL::onMouseWheelRot(), PlotDrawingSheet(), PrintDrawingSheet(), rotationFromString(), DS_DATA_ITEM_TEXT::SetConstrainedTextSize(), EDA_TEXT::SetTextSize(), and UNITS_PROVIDER::StringFromValue().