gg
gg copied to clipboard
Give an example of how to display it on the screen
Give an example of how to display it on the screen. What is the point of output in png?
That's not really an issue with this library. The point of having PNG output is to write PNG images...
In the examples. the gg reference has a Context property/field, and that has a im property/field which is a pointer to a standard Go image.RGBA 32-bit image, and you can access that with Context.Image(). You can display that however you would normally display images on screen.
Does that help?