Image is a plotter that draws a scaled, raster image.
| 15 | |
| 16 | // Image is a plotter that draws a scaled, raster image. |
| 17 | type Image struct { |
| 18 | img image.Image |
| 19 | cols int |
| 20 | rows int |
| 21 | xmin, xmax, dx float64 |
| 22 | ymin, ymax, dy float64 |
| 23 | } |
| 24 | |
| 25 | // NewImage creates a new image plotter. |
| 26 | // Image will plot img inside the rectangle defined by the |
nothing calls this directly
no outgoing calls
no test coverage detected