|
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 <pcb_field.h>#include <pcb_text.h>#include <pcbplot.h>#include <plotters/plotter_gerber.h>#include <pcb_plot_params.h>#include <qa_utils/pdf_test_utils.h>#include <wx/filename.h>#include <wx/ffile.h>#include <limits>#include <regex>#include <string>Go to the source code of this file.
Functions | |
| static BOX2I | plotSilkBBox (BOARD &aBoard) |
| BOOST_AUTO_TEST_CASE (ScaledFootprintReferencePlotsScaled) | |
| BOOST_AUTO_TEST_CASE (ScaledFootprintGraphicTextPlotsScaled) | |
| BOOST_AUTO_TEST_CASE | ( | ScaledFootprintGraphicTextPlotsScaled | ) |
Definition at line 134 of file test_plot_footprint_scaled_text.cpp.
References BOARD::Add(), BOOST_REQUIRE(), F_SilkS, BOX2< Vec >::GetHeight(), BOX2< Vec >::GetWidth(), pcbIUScale, plotSilkBBox(), FOOTPRINT::SetTransformScale(), and text.
| BOOST_AUTO_TEST_CASE | ( | ScaledFootprintReferencePlotsScaled | ) |
Definition at line 102 of file test_plot_footprint_scaled_text.cpp.
References BOARD::Add(), BOOST_AUTO_TEST_CASE(), BOOST_REQUIRE(), F_SilkS, BOX2< Vec >::GetHeight(), BOX2< Vec >::GetWidth(), pcbIUScale, plotSilkBBox(), BOARD_ITEM::SetLayer(), EDA_TEXT::SetText(), PCB_TEXT::SetTextSize(), PCB_TEXT::SetTextThickness(), FOOTPRINT::SetTransformScale(), and EDA_TEXT::SetVisible().
Definition at line 42 of file test_plot_footprint_scaled_text.cpp.
References BOOST_REQUIRE(), end, GERBER_PLOTTER::EndPlot(), F_SilkS, GERBER, PLOTTER::OpenFile(), pcbIUScale, PlotStandardLayer(), PCB_PLOT_PARAMS::SetFormat(), PLOTTER::SetRenderSettings(), GERBER_PLOTTER::SetViewport(), and GERBER_PLOTTER::StartPlot().
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().