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

Function PackVector2

common/api/api_utils.cpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78
79KICOMMON_API void PackVector2( types::Vector2& aOutput, const VECTOR2I& aInput )
80{
81 aOutput.set_x_nm( aInput.x );
82 aOutput.set_y_nm( aInput.y );
83}
84
85
86KICOMMON_API VECTOR2I UnpackVector2( const types::Vector2& aInput )

Callers 15

SerializeMethod · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85
handleGetTextAsShapesMethod · 0.85
PackBox2Function · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected