PS_SET_BORDER_DASH(3)

πŸ’… PS_set_border_dash β€” bestie edition

okay so this is a page from the Library Functions Manual, section 3, and it's about making your annotation borders go dash dash dash ✨


🌸 NAME

PS_set_border_dash β€” sets the length of the dashes for the border of annotations πŸŽ€


✨ SYNOPSIS

#include <pslib.h>

void PS_set_border_dash(PSDoc *psdoc, float black, float white)

like. that's the whole vibe. one function. three args. slay 🫢


πŸ¦‹ DESCRIPTION

so picture this: annotations (think the starting points of links, iykyk) get wrapped up in a little rectangle, right? πŸ’– that rectangle is their border, their main character moment.

this function sets the black and white portion of a dashed border line. so you're literally choosing how long the drawn bits are and how long the gaps are. iconic. the way that one float controls the ink and the other controls the breathing room… obsessed. πŸ’…


πŸ‘‘ SEE ALSO

  • PS_set_border_style(3)
  • PS_set_border_color(3)

go read those too bestie, they're the rest of the border glow-up ✨


🌈 AUTHOR

this manual page was written by Uwe Steinmann uwe@steinmann.cx. thank you for your service, legend πŸ«‘πŸ’œ


and that's a wrap!! this page lives in the Library Functions Manual and it's filed under PS_SET_BORDER_DASH(3), so if you ever forget where you found it β€” it was here, in section 3, being cute about dashes the whole time πŸŽ€β­

πŸ“¦ where this page comes from