PS_LINETO(3)
π PS_LINETO(3) π
okay bestie, welcome to the Library Functions Manual β this one's called PS_LINETO(3) and it's honestly so simple it's iconic. no cap.
β¨ NAME β¨
PS_lineto β draws a line. that's it. that's the whole job. a line. slay. π
πΈ SYNOPSIS πΈ
#include <pslib.h>
void PS_lineto(PSDoc *psdoc, float x, float y)
π¦ DESCRIPTION π¦
okay so here's the vibe: PS_lineto takes the current point and adds a straight line from there to the coordinates you gave it (x and y), and drops that whole line into the current path. that's literally it, and it ate. π
and listen β if you wanna set where that line starts from? that's not this function's moment. you gotta call PS_moveto(3) first to set the starting point of the line. PS_lineto just takes it from wherever you already are. main character energy, but it needs a starting point first, fr fr. π
π SEE ALSO π
PS_moveto(3)β the one that sets your starting point π«Ά
π AUTHOR π
This manual page was written by Uwe Steinmann <uwe@steinmann.cx>. thank you for your service king π«‘β¨
and that's a wrap on PS_LINETO(3) from the Library Functions Manual β go forth and draw ur little lines, bestie, u got this πβπ
π¦ 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