/** * @file class_gbr_layout.cpp * @brief GBR_LAYOUT class functions. */ #include #include #include #include #include GBR_LAYOUT::GBR_LAYOUT() { PAGE_INFO pageInfo( wxT( "GERBER" ) ); SetPageSettings( pageInfo ); // no m_printLayersMask = -1; m_printLayersMask.set(); } GBR_LAYOUT::~GBR_LAYOUT() { } EDA_RECT GBR_LAYOUT::ComputeBoundingBox() { EDA_RECT bbox; for( GERBER_DRAW_ITEM* gerb_item = m_Drawings; gerb_item; gerb_item = gerb_item->Next() ) bbox.Merge( gerb_item->GetBoundingBox() ); SetBoundingBox( bbox ); return bbox; }