(&mut self, xy: PixelsXY, size: SizeInPixels)
| 349 | } |
| 350 | |
| 351 | fn draw_rect_filled(&mut self, xy: PixelsXY, size: SizeInPixels) -> io::Result<()> { |
| 352 | self.context.fill_rect( |
| 353 | f64::from(xy.x), |
| 354 | f64::from(xy.y), |
| 355 | f64::from(size.width), |
| 356 | f64::from(size.height), |
| 357 | ); |
| 358 | Ok(()) |
| 359 | } |
| 360 | |
| 361 | fn draw_tri(&mut self, x1y1: PixelsXY, x2y2: PixelsXY, x3y3: PixelsXY) -> io::Result<()> { |
| 362 | self.context.begin_path(); |
no outgoing calls
no test coverage detected