38 void Update(
const KIGFX::VIEW_ITEM* aItem,
int aUpdateFlags )
const override
40 m_updated.push_back( aItem );
43 void Update(
const KIGFX::VIEW_ITEM* aItem )
const override { m_updated.push_back( aItem ); }
45 bool WasUpdated(
const KIGFX::VIEW_ITEM* aItem )
const
47 return std::find( m_updated.begin(), m_updated.end(), aItem ) != m_updated.end();
50 mutable std::vector<const KIGFX::VIEW_ITEM*> m_updated;
Information pertinent to a Pcbnew printed circuit board.
bool IsHatchedFill() const
void SetFillMode(FILL_T aFill)
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
static void rehatchBoardItem(KIGFX::VIEW *aView, BOARD_ITEM *aItem)
Regenerate and redraw an item's hatching, skipping non-hatched shapes. Static for testing.
@ FILLED_SHAPE
Fill with object color.
@ RECTANGLE
Use RECTANGLE instead of RECT to avoid collision in a Windows header.
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_CHECK(res.column_datatype(0)==SQL_NUMERIC||res.column_datatype(0)==SQL_DECIMAL)
BOOST_CHECK_EQUAL(std::any_cast< std::string >(rows[0].at("val")), "12345678901234567.89")
BOOST_REQUIRE(res.columns()==1)
BOOST_AUTO_TEST_SUITE_END()