| 122 | } |
| 123 | |
| 124 | void 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 | |
| 135 | size_t VPath::VPathData::segments() const |
| 136 | { |