diff options
| author | Lenni <[email protected]> | 2021-03-07 16:19:31 +0100 |
|---|---|---|
| committer | Lenni <[email protected]> | 2021-03-07 16:19:31 +0100 |
| commit | 84e3375e08953a6b9f5b42b6358c34be7d701338 (patch) | |
| tree | 98436e3ce217b89fc82094d5efb701f4ab92e5e2 /examples/shapes/main.go | |
| parent | d8c044d9e986a90d017567a2be538801b98a9243 (diff) | |
reworded a weird comment
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) |
