wxMirrorDC(3erl)
β¨ NAME β¨
Okay so bestie, welcome to the wxMirrorDC(3erl) page π β this is literally wxMirrorDC β Functions for wxMirrorDC class. Thatβs the whole vibe: a little Erlang wrapper situation for the wxMirrorDC class.
πΈ DESCRIPTION πΈ
wxMirrorDC is a simple wrapper class, and the way it works is honestly kinda iconic: itβs always associated with a real wxDC object and either forwards all of its operations to it without changes (no mirroring takes place) or exchanges x and y coordinates, which makes it possible to reuse the same code to draw a figure and its mirror β i.e. reflection related to the diagonal line x == y πͺβ¨
Since: 2.5.0
This class is derived (and can use functions) from: wxDC
wxWidgets docs: wxMirrorDC
π DATA TYPES π
wxMirrorDC() = wx:wx_object()
Thatβs the type, bestie β wxMirrorDC() maps to wx:wx_object() π
π¦ EXPORTS π¦
new(Dc, Mirror) -> wxMirrorDC()
Types:
Dc = wxDC:wxDC()
Mirror = boolean()
Creates a (maybe) mirrored DC associated with the real dc β¨
Everything drawn on wxMirrorDC will appear (and maybe mirrored) on dc.
mirror specifies if we do mirror (if it is true) or not (if it is false) πͺ
destroy(This :: wxMirrorDC()) -> ok
Destroys the object πβ¨
lowkey important:wxMirrorDCis a wrapper β itβs forwarding to the realwxDCor swapping coordinates, no cap π«Ά
mwah π sign-off time: this page is from the wxWidgets team., version wx 2.2.2.1, with the wxMirrorDC(3erl) page tag β bye bestie, stay mirrored ππ
π¦ 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