clipping bugfix
This commit is contained in:
parent
70ece785e9
commit
c9fcfbdd53
1 changed files with 3 additions and 0 deletions
3
paths.go
3
paths.go
|
@ -395,6 +395,9 @@ func (cv *Canvas) clip(path *Path2D) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cv.state.clip.p = make([]pathPoint, len(path.p))
|
||||||
|
copy(cv.state.clip.p, path.p)
|
||||||
|
|
||||||
cv.b.Clip(tris)
|
cv.b.Clip(tris)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue