mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 00:16:15 +00:00
op/clip: smoother implementation of Arc for large angles
Signed-off-by: Sebastien Binet <s@sbinet.org>
This commit is contained in:
committed by
Elias Naur
parent
1584f3a64a
commit
f2cd504a9f
@@ -61,6 +61,7 @@ func TestPaintArc(t *testing.T) {
|
||||
p.Line(f32.Pt(0, 25))
|
||||
p.Arc(f32.Pt(-10, 5), f32.Pt(10, 15), -math.Pi)
|
||||
p.Line(f32.Pt(0, 25))
|
||||
p.Arc(f32.Pt(10, 10), f32.Pt(10, 10), 2*math.Pi)
|
||||
p.Line(f32.Pt(-10, 0))
|
||||
p.Arc(f32.Pt(-10, 0), f32.Pt(-40, 0), -math.Pi)
|
||||
p.Line(f32.Pt(-10, 0))
|
||||
|
||||
Reference in New Issue
Block a user