mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 16:35:36 +00:00
gpu,op/clip: implement stroked paths with round joins
Signed-off-by: Sebastien Binet <s@sbinet.org>
This commit is contained in:
committed by
Elias Naur
parent
f3f32ed7aa
commit
700cec440e
+2
-1
@@ -162,7 +162,8 @@ func (op *clipOp) decode(data []byte) {
|
||||
bounds: layout.FRect(r),
|
||||
width: math.Float32frombits(bo.Uint32(data[17:])),
|
||||
style: clip.StrokeStyle{
|
||||
Cap: clip.StrokeCap(data[21]),
|
||||
Cap: clip.StrokeCap(data[21]),
|
||||
Join: clip.StrokeJoin(data[22]),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user