gpu,op/clip: implement stroked paths with round caps

Signed-off-by: Sebastien Binet <s@sbinet.org>
This commit is contained in:
Sebastien Binet
2020-11-10 15:46:10 +00:00
committed by Elias Naur
parent ae256b5be8
commit 1106d90f11
4 changed files with 65 additions and 0 deletions
+5
View File
@@ -20,4 +20,9 @@ const (
// and left-hand sides of a stroked path with a half square of length
// the stroked path's width.
SquareCap
// RoundCap caps stroked paths with a round cap, joining the right-hand and
// left-hand sides of a stroked path with a half disc of diameter the
// stroked path's width.
RoundCap
)