Nigel Tao
2d84b72ff6
Add a DrawString benchmark.
2015-08-23 20:45:19 +10:00
Nigel Tao
6deea24143
Add a truetype.Face type.
...
Its implementation is mostly a copy/paste of the freetype.Context type.
Follow-up commits will make it more efficient.
Also add an example that uses a truetype.Face and the
golang.org/x/exp/shiny/font package to draw text.
2015-08-22 14:46:12 +10:00
Nigel Tao
f42630ca7a
Use the common golang.org/x/exp/shiny/font.Hinting type.
2015-08-20 16:07:51 +10:00
Nigel Tao
7e2154db58
Delete the f26dot6 type in favor of fixed.Int26_6.
2015-08-18 16:47:46 +10:00
Nigel Tao
43fc220ebd
Make f26dot6 methods prefix, not infix.
...
This is in anticipation of removing the f26dot6 type entirely. Instead,
we will use the fixed.Int26_6 type from golang.org/x/image/math/fixed.
2015-08-18 16:36:59 +10:00
Nigel Tao
e8121e3c7d
Don't use backtick quotes in the comments.
2015-08-18 16:33:14 +10:00
Nigel Tao
2a5cbfd47e
Use the fixed.Int26_6 type in package truetype.
2015-08-18 16:30:37 +10:00
Nigel Tao
5193f9f147
Add canonical import paths.
2015-08-12 14:34:19 +10:00
Nigel Tao
d1c460896e
Fix testdata paths after moving files up one level.
2015-08-12 14:32:40 +10:00
Nigel Tao
bf25f8ce0e
Move files up one level.
2015-08-12 14:30:01 +10:00