diff options
Diffstat (limited to 'examples/shapes/main.go')
| -rw-r--r-- | examples/shapes/main.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/shapes/main.go b/examples/shapes/main.go index d2f8132..ffc911d 100644 --- a/examples/shapes/main.go +++ b/examples/shapes/main.go @@ -200,8 +200,9 @@ func main() { // Draw the text. Xorg currently knows two ways of specifying text: // a) the (extended) ASCII encoding using ImageText8(..., []byte) - // b) UTF16 encoding using ImageText16(..., []Char2b) -- Char2b is simply two bytes - // at the bottom of this file, there are two utility functions that help + // b) UTF16 encoding using ImageText16(..., []Char2b) -- Char2b is + // a structure consisting of two bytes. + // At the bottom of this example, there are two utility functions that help // convert a go string into an array of Char2b's. xproto.ImageText16(X, byte(len(text)), draw, textCtx, 10, 160, text) |
