| 52 | } |
| 53 | |
| 54 | void CanvasWidget::drawLine(Vec2F const& begin, Vec2F const end, Vec4B const& color, float lineWidth) { |
| 55 | m_renderOps.append(make_tuple(begin, end, color, lineWidth)); |
| 56 | } |
| 57 | |
| 58 | void CanvasWidget::drawRect(RectF const& coords, Vec4B const& color) { |
| 59 | m_renderOps.append(make_tuple(coords, color)); |