| 296 | } |
| 297 | |
| 298 | void Graphics2D_cairo::drawLine(float x1, float y1, float x2, float y2) { |
| 299 | _context->move_to(x1, y1); |
| 300 | _context->line_to(x2, y2); |
| 301 | _context->stroke(); |
| 302 | } |
| 303 | |
| 304 | void Graphics2D_cairo::drawRect(float x, float y, float w, float h) { |
| 305 | _context->rectangle(x, y, w, h); |