op/clip: unexport Rect.Op

It wasn't used anywhere outside Rect.Add.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-07-09 17:27:48 +02:00
parent 29f820caaa
commit 4818538ef8
9 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ func TestClipping(t *testing.T) {
Max: f32.Point{X: 250, Y: 250},
},
SE: 75,
}.Op(&ops).Add(&ops)
}.Add(&ops)
pop.Add(&ops)
paint.ColorOp{Color: col2}.Add(&ops)
clip.Rect{
@@ -70,7 +70,7 @@ func TestClipping(t *testing.T) {
Max: f32.Point{X: 350, Y: 350},
},
NW: 75,
}.Op(&ops).Add(&ops)
}.Add(&ops)
pop.Add(&ops)
if err := w.Frame(&ops); err != nil {
t.Fatal(err)