mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
+1
-1
@@ -92,7 +92,7 @@ func (p *PathBuilder) Quad(ctrl, to f32.Point) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *PathBuilder) quadTo(ctrl, to f32.Point) {
|
func (p *PathBuilder) quadTo(ctrl, to f32.Point) {
|
||||||
// Zero width curve don't contribute to stenciling.
|
// Zero width curves don't contribute to stenciling.
|
||||||
if p.pen.X == to.X && p.pen.X == ctrl.X {
|
if p.pen.X == to.X && p.pen.X == ctrl.X {
|
||||||
p.pen = to
|
p.pen = to
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user