|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <board.h>#include <board_design_settings.h>#include <footprint.h>#include <pad.h>#include <pcbplot.h>#include <plotters/plotter_gerber.h>#include <pcb_plot_params.h>#include <geometry/shape_poly_set.h>#include <qa_utils/pdf_test_utils.h>#include <wx/filename.h>#include <wx/ffile.h>#include <memory>#include <string>#include <cmath>#include <regex>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (RoundRectMaskMatchesInflatedOutline) | |
| BOOST_AUTO_TEST_CASE (RoundRectGerberMaskApertureHasCorrectRadius) | |
| BOOST_AUTO_TEST_CASE | ( | RoundRectGerberMaskApertureHasCorrectRadius | ) |
Definition at line 118 of file test_plot_pad_mask.cpp.
References std::abs(), BOARD::Add(), PADSTACK::ALL_LAYERS, BOOST_CHECK_EQUAL(), BOOST_CHECK_MESSAGE(), BOOST_REQUIRE(), BOOST_TEST_MESSAGE(), GERBER_PLOTTER::DisableApertMacros(), GERBER_PLOTTER::EndPlot(), F_Cu, F_Mask, GERBER, BOARD::GetDesignSettings(), KiROUND(), BOARD_DESIGN_SETTINGS::m_SolderMaskExpansion, PLOTTER::OpenFile(), PAD, pad, pcbIUScale, PlotStandardLayer(), ROUNDRECT, PCB_PLOT_PARAMS::SetDisableGerberMacros(), PCB_PLOT_PARAMS::SetFormat(), PLOTTER::SetRenderSettings(), PCB_PLOT_PARAMS::SetUseGerberX2format(), GERBER_PLOTTER::SetViewport(), SMD, GERBER_PLOTTER::StartPlot(), and GERBER_PLOTTER::UseX2format().
| BOOST_AUTO_TEST_CASE | ( | RoundRectMaskMatchesInflatedOutline | ) |
Definition at line 60 of file test_plot_pad_mask.cpp.
References std::abs(), PADSTACK::ALL_LAYERS, SHAPE_POLY_SET::Area(), SHAPE_POLY_SET::BBox(), SHAPE_POLY_SET::BooleanSubtract(), BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), ERROR_INSIDE, expected, F_Cu, F_Mask, BOX2< Vec >::GetHeight(), BOX2< Vec >::GetWidth(), KiROUND(), PAD, pad, pcbIUScale, ROUNDRECT, and SMD.