gpu,op/clip: implement stroked paths

Flat and Square caps are implemented.
Bevel joins are implemented.

Round caps, Round joins and Miter joins are left for another PR.

Signed-off-by: Sebastien Binet <s@sbinet.org>
This commit is contained in:
Sebastien Binet
2020-11-09 14:13:11 +00:00
committed by Elias Naur
parent 936eb52b7e
commit 33c5fb63db
9 changed files with 605 additions and 9 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ const (
TypePushLen = 1
TypePopLen = 1
TypeAuxLen = 1
TypeClipLen = 1 + 4*4
TypeClipLen = 1 + 4*4 + 4 + 1
TypeProfileLen = 1
)