gg icon indicating copy to clipboard operation
gg copied to clipboard

Give an example of how to display it on the screen

Open Keyn1 opened this issue 5 years ago • 1 comments

Give an example of how to display it on the screen. What is the point of output in png?

Keyn1 avatar Jun 08 '20 20:06 Keyn1

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?

naikrovek avatar Jul 13 '20 14:07 naikrovek