op/clip: split clip operations into its own package

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-11-09 19:05:03 +01:00
parent 560cf6054c
commit e864ac3fc3
14 changed files with 72 additions and 53 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ type material struct {
uvOffset f32.Point
}
// clipOp is the shadow of paint.ClipOp.
// clipOp is the shadow of clip.Op.
type clipOp struct {
bounds f32.Rectangle
}