gpu,op/clip: implement stroked paths with miter joins

Signed-off-by: Sebastien Binet <s@sbinet.org>
This commit is contained in:
Sebastien Binet
2020-11-11 15:05:47 +00:00
committed by Elias Naur
parent 7de8ce51a5
commit 7eb32360e5
8 changed files with 145 additions and 3 deletions
+5
View File
@@ -8,6 +8,11 @@ package clip
type StrokeStyle struct {
Cap StrokeCap
Join StrokeJoin
// Miter is the limit to apply to a miter joint.
// The zero Miter disables the miter joint; setting Miter to +∞
// unconditionally enables the miter joint.
Miter float32
}
// StrokeCap describes the head or tail of a stroked path.