src/editmodes/curvemode.cpp

changeset 1104
edddb9b0db9e
parent 1079
67c6e5d32e68
child 1129
2b20261dc511
equal deleted inserted replaced
1103:ac7db4c076c3 1104:edddb9b0db9e
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 {

mercurial