internal/graphicscommand/image.go
func NewImage(width, height int) *Image {
	i := &Image{
		width:  width,
		height: height,
	}
	c := &newImageCommand{
		result: i,
		width:  width,
		height: height,
	}
	theCommandQueue.Enqueue(c)
	return i
}
func NewImage(width, height int) *Image {
	i := &Image{
		width:  width,
		height: height,
	}
	c := &newImageCommand{
		result: i,
		width:  width,
		height: height,
	}
	theCommandQueue.Enqueue(c)
	return i
}
func NewImage ( width , height int ) * Image { i := & Image { width : width , height : height , } c := & newImageCommand { result : i , width : width , height : height , } theCommandQueue . Enqueue ( c ) return i }
// NewImage returns a new image.
//
// Note that the image is not initialized yet.
NewImage returns a new image . Note that the image is not initialized yet .