wxGraphicsPen(3erl)

πŸ’… wxGraphicsPen πŸ’…

okay so bestie, welcome to the wxGraphicsPen(3erl) manual page β€” it's an Erlang Module Definition, and it's lowkey all about the wxGraphicsPen class. Think native pen representation with main character energy. πŸ–ŠοΈβœ¨

🌸 NAME 🌸

  • wxGraphicsPen β€” functions for the wxGraphicsPen class. That's the whole assignment, fr fr. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

A wxGraphicsPen is a native representation of a pen. The contents are specific and private to the respective renderer β€” so like, it's not sharing its diary with just anyone. πŸ”’βœ¨

Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via wxGraphicsContext:createPen/2 or wxGraphicsRenderer::CreatePen() (not implemented in wx). That's the only door in, no cap. πŸšͺπŸ‘‘

This class is derived (and can use functions) from: wxGraphicsObject β€” so it's got that inheritance glow-up. 🌈

  • wxWidgets docs: wxGraphicsPen β€” go read the source material, iykyk. πŸ“šπŸ’…

πŸŽ€ DATA TYPES πŸŽ€

  • wxGraphicsPen() = wx:wx_object()

literally the type shape: wxGraphicsPen() maps to wx:wx_object(). iconic. ⭐


cute sign-off: big thank-you to the wxWidgets team. for this page, version wx 2.2.2.1, and the footer tag is wxGraphicsPen(3erl). no separate date line, just that footer vibe β€” mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from