Sets a transformation such that: (0,0) is the center point of the canvas (0,height/2) is the top of the canvas Pixels are square
(&mut self, height: f32)
| 110 | /// (0,height/2) is the top of the canvas |
| 111 | /// Pixels are square |
| 112 | fn canvas_height(&mut self, height: f32) { self.draw(Draw::CanvasHeight(height)); } |
| 113 | |
| 114 | /// Moves a particular region to the center of the canvas (coordinates are minx, miny, maxx, maxy) |
| 115 | fn center_region(&mut self, minx: f32, miny: f32, maxx: f32, maxy: f32) { |