| 56 | } |
| 57 | |
| 58 | void CanvasWidget::drawRect(RectF const& coords, Vec4B const& color) { |
| 59 | m_renderOps.append(make_tuple(coords, color)); |
| 60 | } |
| 61 | |
| 62 | void CanvasWidget::drawPoly(PolyF const& poly, Vec4B const& color, float lineWidth) { |
| 63 | m_renderOps.append(make_tuple(poly, color, lineWidth)); |