| 48 | } |
| 49 | |
| 50 | void CanvasWidget::drawTiledImage(String texName, float textureScale, Vec2D const& offset, RectF const& screenCoords, Vec4B const& color) { |
| 51 | m_renderOps.append(make_tuple(std::move(texName), textureScale, offset, screenCoords, color)); |
| 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)); |