84 } |
84 } |
85 |
85 |
86 |
86 |
87 void CircleMode::endDraw() |
87 void CircleMode::endDraw() |
88 { |
88 { |
89 Model model; |
89 Model model {m_documents}; |
90 PrimitiveModel primitiveModel; |
90 PrimitiveModel primitiveModel; |
91 primitiveModel.segments = m_window->ringToolSegments(); |
91 primitiveModel.segments = m_window->ringToolSegments(); |
92 primitiveModel.divisions = m_window->ringToolHiRes() ? HighResolution : LowResolution; |
92 primitiveModel.divisions = m_window->ringToolHiRes() ? HighResolution : LowResolution; |
93 primitiveModel.ringNumber = 0; |
93 primitiveModel.ringNumber = 0; |
94 double dist0 (getCircleDrawDist (0)); |
94 double dist0 (getCircleDrawDist (0)); |