Draw a pixel: Difference between revisions
Content deleted Content added
Line 756: | Line 756: | ||
func main() { |
func main() { |
||
// Create |
// Create a 320 x 240 image |
||
img := image.NewRGBA(image.Rect(0, 0, 320, 240)) |
img := image.NewRGBA(image.Rect(0, 0, 320, 240)) |
||
// fill img in white |
// fill img in white |