mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 10:25:37 +00:00
op: add package op for operations
Extract operation types from package ui into package op. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+2
-2
@@ -6,8 +6,8 @@ import (
|
||||
"fmt"
|
||||
"image"
|
||||
|
||||
"gioui.org/ui"
|
||||
"gioui.org/layout"
|
||||
"gioui.org/op"
|
||||
"golang.org/x/image/math/fixed"
|
||||
)
|
||||
|
||||
@@ -50,7 +50,7 @@ type Face interface {
|
||||
// options.
|
||||
Layout(s string, opts LayoutOptions) *Layout
|
||||
// Path returns the ClipOp outline of a text recorded in a macro.
|
||||
Path(s String) ui.MacroOp
|
||||
Path(s String) op.MacroOp
|
||||
}
|
||||
|
||||
type Alignment uint8
|
||||
|
||||
Reference in New Issue
Block a user