text: fix typo

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-06-21 21:14:05 +02:00
parent 1a9ae1af69
commit 424a728988
+1 -1
View File
@@ -19,7 +19,7 @@ type Shaper interface {
// Shape a line of text and return a clipping operation for its outline.
Shape(font Font, size fixed.Int26_6, layout []Glyph) op.CallOp
// LayoutString is like Layout, but for strings..
// LayoutString is like Layout, but for strings.
LayoutString(font Font, size fixed.Int26_6, maxWidth int, str string) []Line
// ShapeString is like Shape for lines previously laid out by LayoutString.
ShapeString(font Font, size fixed.Int26_6, str string, layout []Glyph) op.CallOp