render/examples/hello-world
Noah e758c46d70 Change public API to use int instead of int32 everywhere 2019-12-27 17:35:42 -08:00
..
DejaVuSans.ttf Clean up repository for stand-alone release 2019-12-22 15:53:52 -08:00
README.md Clean up repository for stand-alone release 2019-12-22 15:53:52 -08:00
gopher.png Clean up repository for stand-alone release 2019-12-22 15:53:52 -08:00
main.go Change public API to use int instead of int32 everywhere 2019-12-27 17:35:42 -08:00
screenshot.png Clean up repository for stand-alone release 2019-12-22 15:53:52 -08:00

README.md

Hello World Example

Screenshot

This example program draws a yellow window, with a red "ridged" border and a blue Gopher that bounces around inside the bordered area. Some blue text with drop-shadow is also present.

The window can be resized and the gopher will find his way into the visible area if he ends up outside of it.

To run this example: go run main.go

Credits

Gopher image was created by Takuya Ueda (https://twitter.com/tenntenn) from https://github.com/golang-samples/gopher-vector

This example comes with the DejaVu Sans font. License information at https://dejavu-fonts.github.io/License.html