mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
op: move Ops internal methods and state to internal package ops
Merge package opconsts into ops as well; it only existed to break import cycles. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -192,8 +192,8 @@ func areShapesEqual(shape1, shape2 clip.Op) bool {
|
||||
shape1.Push(&ops1).Pop()
|
||||
shape2.Push(&ops2).Pop()
|
||||
var r1, r2 ops.Reader
|
||||
r1.Reset(&ops1)
|
||||
r2.Reset(&ops2)
|
||||
r1.Reset(&ops1.Internal)
|
||||
r2.Reset(&ops2.Internal)
|
||||
for {
|
||||
encOp1, ok1 := r1.Decode()
|
||||
encOp2, ok2 := r2.Decode()
|
||||
|
||||
Reference in New Issue
Block a user