PLGDRAWMODE(3plplot)
π PLGDRAWMODE (3plplot) π
okay bestie, welcome to the PLplot API page for plgdrawmode β she's short, she's sweet, and she's lowkey mysterious π
β¨ SYNOPSIS β¨
plgdrawmode()
likeβ¦ that's it. no args. she takes nothing and she gives you a vibe (technically a PLINT, but we'll get there π¦)
πΈ DESCRIPTION πΈ
So plgdrawmode() gets you the drawing mode. Simple concept, iconic execution π
but here's the tea, bestie β and this is important, no cap β only one device driver currently supports this at the moment, and that's cairo. Just cairo. That's the whole list. One (1) driver. π«Ά
For that one glorious cairo case, the PLINT value this function hands back is one of these four:
PL_DRAWMODE_DEFAULTβ the default vibe β¨PL_DRAWMODE_REPLACEβ replace mode, she's swapping things outPL_DRAWMODE_XORβ xor mode, doing her little bitwise thing π₯PL_DRAWMODE_UNKNOWNβ we literally don't know, and that's valid
And for the rest of the device drivers? This function returns PL_DRAWMODE_UNKNOWN. Every single one of them. Not a fan of that for them, but okay π
Also seeplsdrawmode(3plplot)β that's the setter, the one who actually sets the mode.plgdrawmodejust tells you what's up. iykyk π§
Redacted form: plgdrawmode() β yes, the redacted form is literally identical, she's not hiding anything π
This function is used in example 34. go look at example 34, it ate π
π AUTHORS π
Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. fr fr, "many developers," over a long history β that's main character energy for an entire project πβ
π SEE ALSO π
- PLplot documentation at http://plplot.sourceforge.net/documentation.php β go read it, it's giving resources πΈ
and that's the page!! π¦ source/version: the PLplot API, dated August, 2026 β mwah, drink water, go check your draw mode, periodt ππ
π¦ where this page comes from
- ubuntu stonking: plplot-doc 5.15.0+dfsg3-4 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms