Sets the texture to use for the next fill() operation
(&mut self, texture_id: TextureId, x1: f32, y1: f32, x2: f32, y2: f32)
| 85 | |
| 86 | /// Sets the texture to use for the next fill() operation |
| 87 | fn fill_texture(&mut self, texture_id: TextureId, x1: f32, y1: f32, x2: f32, y2: f32) { |
| 88 | self.draw(Draw::FillTexture(texture_id, (x1, y1), (x2, y2))); |
| 89 | } |
| 90 | |
| 91 | /// Sets the gradient to use for the next fill() operation |
| 92 | fn fill_gradient(&mut self, gradient_id: GradientId, x1: f32, y1: f32, x2: f32, y2: f32) { |
no test coverage detected