clipping bugfix

This commit is contained in:
Thomas Friedel 2019-04-16 16:15:59 +02:00
parent 70ece785e9
commit c9fcfbdd53

View file

@ -395,6 +395,9 @@ func (cv *Canvas) clip(path *Path2D) {
return
}
cv.state.clip.p = make([]pathPoint, len(path.p))
copy(cv.state.clip.p, path.p)
cv.b.Clip(tris)
}