op/clip: use stroked path to draw Border

Signed-off-by: Sebastien Binet <s@sbinet.org>
This commit is contained in:
Sebastien Binet
2020-11-10 15:34:14 +00:00
committed by Elias Naur
parent 8e4940e6a8
commit ae256b5be8
2 changed files with 7 additions and 32 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ type Op struct {
call op.CallOp
bounds image.Rectangle
width float32 // Width of the stroked path, 0 for outline paths.
style StrokeStyle // Style of the stroked path, 0 for outline paths.
style StrokeStyle // Style of the stroked path, zero for outline paths.
}
func (p Op) Add(o *op.Ops) {