MCPcopy Create free account
hub / github.com/KiCad/kicad-source-mirror / UnpackBox2

Function UnpackBox2

common/api/api_utils.cpp:113–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112
113KICOMMON_API BOX2I UnpackBox2( const types::Box2& aInput )
114{
115 return BOX2I( UnpackVector2( aInput.position() ), UnpackVector2( aInput.size() ) );
116}
117
118
119KICOMMON_API void PackPolyLine( types::PolyLine& aOutput, const SHAPE_LINE_CHAIN& aSlc )

Callers

nothing calls this directly

Calls 2

UnpackVector2Function · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected