55 if( gerber ==
nullptr )
59 bbox.
Merge( item->GetBoundingBox() );
70 const std::vector<KICAD_T>& aScanTypes )
72#if 0 && defined(DEBUG)
73 std::cout <<
GetClass().mb_str() <<
' ';
76 for(
KICAD_T scanType : aScanTypes )
84 if( gerber ==
nullptr )
87 if( gerber->
Visit( inspector, testData, aScanTypes ) == INSPECT_RESULT::QUIT )
88 return INSPECT_RESULT::QUIT;
93 return INSPECT_RESULT::CONTINUE;
constexpr BOX2< Vec > & Normalize()
Ensure that the height and width are positive.
constexpr BOX2< Vec > & Merge(const BOX2< Vec > &aRect)
Modify the position and size of the rectangle in order to contain aRect.
A base class for most all the KiCad significant classes used in schematics and boards.
BOX2I ComputeBoundingBox() const
Calculate the bounding box containing all Gerber items.
GERBER_FILE_IMAGE_LIST * GetImagesList() const
INSPECT_RESULT Visit(INSPECTOR inspector, void *testData, const std::vector< KICAD_T > &aScanTypes) override
May be re-implemented for each derived class in order to handle all the types given by its member dat...
wxString GetClass() const override
Return the class name.
GERBER_FILE_IMAGE_LIST is a helper class to handle a list of GERBER_FILE_IMAGE files which are loaded...
static GERBER_FILE_IMAGE_LIST & GetImagesList()
unsigned ImagesMaxCount()
GERBER_FILE_IMAGE * GetGbrImage(int aIdx)
Hold the image data and parameters for one gerber file and layer parameters.
INSPECT_RESULT Visit(INSPECTOR inspector, void *testData, const std::vector< KICAD_T > &aScanTypes) override
May be re-implemented for each derived class in order to handle all the types given by its member dat...
GERBER_DRAW_ITEMS & GetItems()
const INSPECTOR_FUNC & INSPECTOR
Class CLASS_GBR_LAYOUT to handle info to draw loaded Gerber images and page frame reference.
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.