# gpui: Add more shapes for \`PathBuilder\` \(\#30904\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c73af0a52f61106c36b64982ee016ffc1a73d7e6)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c73af0a52f61106c36b64982ee016ffc1a73d7e6

Requested commit: c73af0a52f61106c36b64982ee016ffc1a73d7e6

Commit: c73af0a52f61106c36b64982ee016ffc1a73d7e6

Tree: 8d5acfa7b9a441a52cbc8d68a78ac52c30d8ffec

Author: Floyd Wang

Committer: GitHub

## Message

```
gpui: Add more shapes for `PathBuilder` (#30904)

- Add `arc` for drawing elliptical arc.
- Add `polygon` support.

<img width="1136" alt="image"
src="https://github.com/user-attachments/assets/97032b02-e6ff-4985-a587-3689500bfd56"
/>

Release Notes:

- N/A
```

## Parents

- [e42cf21703ae280d555935a0c4490393514f2e1c](https://git.cafe/gitcafe/zed/commit/e42cf21703ae280d555935a0c4490393514f2e1c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c73af0a52f61106c36b64982ee016ffc1a73d7e6?format=markdown)
