(&mut self, x1y1: PixelsXY, x2y2: PixelsXY)
| 462 | } |
| 463 | |
| 464 | fn draw_line(&mut self, x1y1: PixelsXY, x2y2: PixelsXY) -> io::Result<()> { |
| 465 | self.without_sync(|self2| drawing::draw_line(self2, x1y1, x2y2)) |
| 466 | } |
| 467 | |
| 468 | fn draw_pixel(&mut self, xy: PixelsXY) -> io::Result<()> { |
| 469 | let xy = self.clip_xy(xy); |