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