Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| // Copyright 2015 The Freetype-Go Authors. All rights reserved. | |
| // Use of this source code is governed by your choice of either the | |
| // FreeType License or the GNU General Public License version 2 (or | |
| // any later version), both of which can be found in the LICENSE file. | |
| // +build example | |
| // | |
| // This build tag means that "go install github.com/golang/freetype/..." | |
| // doesn't install this example program. Use "go run main.go" to run it or "go | |
| // install -tags=example" to install it. |
| package main | |
| import ( | |
| "fmt" | |
| "image" | |
| "image/color" | |
| "image/gif" | |
| "math" | |
| "os" | |
| ) |