shapes

command
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2021 License: BSD-3-Clause, GooglePatentClause Imports: 4 Imported by: 0

Documentation

Overview

The shapes example shows how to draw basic shapes into a window. It can be considered the Go equivalent of https://x.org/releases/X11R7.5/doc/libxcb/tutorial/#drawingprim Four points, a single polyline, two line segments, two rectangles and two arcs are drawn. In addition to this, we will also write some text and fill a rectangle.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL