wxGraphicsBrush(3erl)
π wxGraphicsBrush (3erl) β like, the Erlang module definition, bestie
okay so this is the wxGraphicsBrush page from the erl manual, and honestly? it's a short one. cute, compact, iconic. let's get into it π
β¨ NAME β¨
wxGraphicsBrush β literally just the functions for the wxGraphicsBrush class. that's the whole name. periodt. π
πΈ DESCRIPTION πΈ
so a wxGraphicsBrush is a native representation of a brush. think of it as the actual real-deal brush object your renderer is holding onto, not some abstract vibe. ποΈβ¨
the contents are specific and private to the respective renderer β meaning ngl, you don't get to poke around inside it. it's between the brush and its renderer. π
instances are ref counted, so you can assign them around like normal, no cap. π«Ά
π¨ but here's the tea: the only way to get a valid instance is viawxGraphicsContext:createBrush/2orwxGraphicsRenderer:createBrush/2. don't go making your own, bestie, it will not slay.
this class is derived (and can use functions) from: wxGraphicsObject β so it's giving main character energy with a whole family tree. π
wxWidgets docs: wxGraphicsBrush β iykyk π
π¦ DATA TYPES π¦
wxGraphicsBrush()=wx:wx_object()
like, that's it. that's the type. a wx_object(). clean, minimal, ate. π
β¨ okay that's the whole page, you're welcome β¨
cute little sign-off: this gem came from the wxWidgets team, version wx 2.2.2.1, and it's the wxGraphicsBrush(3erl) page. mwah. ππ
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms