(&mut self)
| 198 | } |
| 199 | |
| 200 | fn clear(&mut self) -> io::Result<()> { |
| 201 | self.context.fill_rect( |
| 202 | 0.0, |
| 203 | 0.0, |
| 204 | f64::from(self.size_pixels.width), |
| 205 | f64::from(self.size_pixels.height), |
| 206 | ); |
| 207 | Ok(()) |
| 208 | } |
| 209 | |
| 210 | fn present_canvas(&mut self) -> io::Result<()> { |
| 211 | self.yielder.request_paint(); |
no outgoing calls