wxGraphicsPen(3)

πŸ“¦
version 29.0.6 Β· 3 versions
, in ubuntu stonking

πŸ’– NAME πŸ’–

wxGraphicsPen β€” bestie, it's a native representation of a pen. That's it, that's the whole vibe. πŸ–ŠοΈβœ¨


🌸 DESCRIPTION 🌸

Okay so listen. The contents of a wxGraphicsPen are specific and private to the respective renderer. Meaning: whatever's inside is between the pen and its renderer, and you are not invited to that conversation. πŸ™ˆ

Instances are ref counted, so you can assign them around like normal, no big deal. But here's the catch, and it's giving locked-door energy: the only way to get a valid instance is via:

  • wxGraphicsContext:createPen/2
  • or wxGraphicsRenderer::CreatePen() β€” and heads up bestie, this one is not implemented in wx. πŸ’€

This class is derived from, and can use the functions of:

  • wxGraphicsObject

So it inherits that whole situation. Inheriting is self-care, fr fr. 🫢

wxWidgets docs: wxGraphicsPen


⭐ DATA TYPES ⭐

  • wxGraphicsPen() :: wx:wx_object().

One type, clean, iconic, no notes. πŸ‘‘


πŸ’… FUNCTIONS πŸ’…

There are no functions listed here. Nothing to scroll through, nothing to memorise. A whole section that's just vibes and empty space. πŸŽ€


Friendly reminder: don't try to roll your own wxGraphicsPen. Ref counting is real and the only valid path in is through wxGraphicsContext:createPen/2. No shortcuts, no cap. 🚫

Okay, that's the whole page bestie! πŸ¦‹ This one comes to you from Ericsson AB, sitting pretty at wx 2.6 β€” mwah, thanks for reading, slay, periodt. πŸ’œπŸŒˆ

πŸ“¦ where this page comes from