(dst draw.Image, x, y int, text string, c color.Color)
| 80 | } |
| 81 | |
| 82 | func DrawText(dst draw.Image, x, y int, text string, c color.Color) { |
| 83 | for i := range text { |
| 84 | DrawCharacter(dst, x, y, text[i], c) |
| 85 | x += 16 |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | var fontData = []byte{ |
| 90 | 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, |
no test coverage detected
searching dependent graphs…