mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
+1
-1
@@ -19,7 +19,7 @@ type Shaper interface {
|
|||||||
// Shape a line of text and return a clipping operation for its outline.
|
// Shape a line of text and return a clipping operation for its outline.
|
||||||
Shape(font Font, size fixed.Int26_6, layout []Glyph) op.CallOp
|
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
|
LayoutString(font Font, size fixed.Int26_6, maxWidth int, str string) []Line
|
||||||
// ShapeString is like Shape for lines previously laid out by LayoutString.
|
// ShapeString is like Shape for lines previously laid out by LayoutString.
|
||||||
ShapeString(font Font, size fixed.Int26_6, str string, layout []Glyph) op.CallOp
|
ShapeString(font Font, size fixed.Int26_6, str string, layout []Glyph) op.CallOp
|
||||||
|
|||||||
Reference in New Issue
Block a user