mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-21 12:17:14 +00:00
...
This commit is contained in:
parent
2bab0b7b18
commit
5f8c8a30fc
1 changed files with 3 additions and 2 deletions
|
|
@ -1235,8 +1235,9 @@ rectcircle(Canvas *self, Corner which) {
|
|||
The entire rectircle fits in four cells, each cell being one quadrant
|
||||
of the full rectircle and the origin being the center of the rectircle.
|
||||
The functions we return do the mapping for the specified cell.
|
||||
╭╮
|
||||
╰╯
|
||||
╭╮ ╭─╮
|
||||
╰╯ │ │
|
||||
╰─╯
|
||||
See https://math.stackexchange.com/questions/1649714
|
||||
*/
|
||||
double radius = self->width / 2.;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue