PS_CIRCLE(3)
π PS_CIRCLE β bestie, we're drawing a circle π
okay so. this is the manual page for PS_circle, from section 3 (library functions, the fun one). she's short, she's sweet, she draws a circle. no cap. let's go π«Ά
β¨ SYNOPSIS β¨
#include <pslib.h>
void PS_circle(PSDoc *psdoc, float x, float y, float radius)
that's it. that's the whole thing. she returns void (so like, nothing, she's mysterious π
) and she takes a PSDoc *psdoc plus three floats: x, y, and radius.
πΈ DESCRIPTION πΈ
PS_circle draws a circle. the middle point of that circle lives at (x, y) β that's her center, her main character position, her whole vibe. π
and the circle starts and ends at position (x+radius, y). so like, the pen puts the first dot down at x+radius, y, swoops all the way around, and lands right back there. full 360, ate and left no crumbs. π
now here's where it gets spicy π₯ β what happens depends on where you call her:
- if you call this function outside a path, she starts a new path for you. fresh start, new era, we love that β¨
- if you call her within a path, she adds the circle as a subpath. nesting energy. cute. π
β οΈ but bestie, listen: if the last drawing operation does not end in point (x+radius, y), then there will be a gab in the path. yes, "gab". that's what the page says, that's the typo, and honestly? we respect it. it means gap β a lil break in your path. don't let your drawing operations leave you hanging at the wrong coordinate or you'll get the gab. π
π SEE ALSO π
go read those too, they're giving sibling energy π¦
π AUTHOR π
This manual page was written by Uwe Steinmann uwe@steinmann.cx. thank you for your service, king π
and that's the whole page, fr fr β PS_CIRCLE(3) from the Library Functions Manual, section 3, all wrapped up. drink water, close your paths properly, and go draw a circle bestie ππ·β¨
π¦ where this page comes from
- debian bookworm: pslib-dev 0.4.7-1+b1
- debian trixie: pslib-dev 0.4.8-1+b1
- ubuntu jammy: pslib-dev 0.4.7-1
- ubuntu noble: pslib-dev 0.4.7-1build2
- ubuntu questing: pslib-dev 0.4.8-1
- ubuntu resolute: pslib-dev 0.4.8-1build1
- ubuntu stonking: pslib-dev 0.4.8-3 Β· GPL-2.0-or-later OR LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms