16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ |
17 */ |
18 |
18 |
19 #include "curvemode.h" |
19 #include "curvemode.h" |
20 #include "../ldObject.h" |
20 #include "../ldObject.h" |
21 #include "../glRenderer.h" |
21 #include "../canvas.h" |
22 |
22 |
23 CurveMode::CurveMode (GLRenderer* renderer) : |
23 CurveMode::CurveMode (Canvas* canvas) : |
24 Super (renderer) {} |
24 Super (canvas) {} |
25 |
25 |
26 void CurveMode::render (QPainter& painter) const |
26 void CurveMode::render (QPainter& painter) const |
27 { |
27 { |
28 if (countof(m_drawedVerts) >= 1) |
28 if (countof(m_drawedVerts) >= 1) |
29 { |
29 { |