enthought / enthought/enable

Agg backend doesn't draw line to arc start point

Open
#961 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
97
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Given:
```
x, y = 100, 100
gc.begin_path()
gc.move_to(x - 12, y - 12)
gc.arc(x, y, 12.0, 0.0, np.pi)
gc.line_to(x - 12, y - 12)
gc.draw_path()
```

Compare Agg:
![image](https://user-images.githubusercontent.com/600761/180605935-bc6d9ff5-3f77-4b83-a0e2-235e6e2d5e10.png)
vs. Quartz:
![image](https://user-images.githubusercontent.com/600761/180605952-b1bcfba4-1df5-400b-9380-61f07c33e331.png)

From the documentation:
https://github.com/enthought/enable/blob/bb2c358248ef72c03d62b2563985f01e1dad6977/kiva/basecore2d.py#L607-L609

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.