MCPcopy Create free account
hub / github.com/Samsung/rlottie / reset

Method reset

src/vector/vpath.cpp:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void VPath::VPathData::reset()
125{
126 if (empty()) return;
127
128 m_elements.clear();
129 m_points.clear();
130 m_segments = 0;
131 mLength = 0;
132 mLengthDirty = false;
133}
134
135size_t VPath::VPathData::segments() const
136{

Callers

nothing calls this directly

Calls 2

emptyFunction · 0.85
clearMethod · 0.80

Tested by

no test coverage detected