(&mut self, x1y1: PixelsXY, x2y2: PixelsXY)
| 533 | } |
| 534 | |
| 535 | fn draw_line(&mut self, x1y1: PixelsXY, x2y2: PixelsXY) -> io::Result<()> { |
| 536 | self.ops.push(CapturedRasop::DrawLine(x1y1.x, x1y1.y, x2y2.x, x2y2.y)); |
| 537 | Ok(()) |
| 538 | } |
| 539 | |
| 540 | fn draw_pixel(&mut self, xy: PixelsXY) -> io::Result<()> { |
| 541 | self.ops.push(CapturedRasop::DrawPixel(xy.x, xy.y)); |