wxScreenDC(3)

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

πŸ’… wxScreenDC(3) β€” Erlang Module Definition 🌈

okay bestie, welcome to wxScreenDC!! this is the Erlang module definition page for it, and yes it's exactly as iconic as it sounds πŸŽ€


✨ NAME ✨

wxScreenDC β€” a wxScreenDC can be used to paint on the screen. periodt. πŸ–ŒοΈβœ¨


πŸ¦‹ DESCRIPTION πŸ¦‹

So like, here's the tea: this should normally be constructed as a temporary stack object. Do not store a wxScreenDC object. it's giving "here for a good time not a long time", fr fr. 🫢

When you're using multiple monitors, wxScreenDC corresponds to the entire virtual screen composed of all of them. and notice β€” bestie, this is the important part β€” coordinates on wxScreenDC can be negative in this case. 😭 see wxDisplay:getGeometry/1 for more.

See also, the whole squad:

  • wxDC
  • wxMemoryDC
  • wxPaintDC
  • wxClientDC
  • wxWindowDC

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

  • wxDC

wxWidgets docs: wxScreenDC


🌸 DATA TYPES 🌸

  • wxScreenDC() :: wx:wx_object().

that's it that's the type, she's simple and she slays πŸ’…


πŸ‘‘ FUNCTIONS πŸ‘‘

  • destroy(This :: wxScreenDC()) -> ok β€” destroys the object πŸ’€ bye girl, thanks for the memories.
  • new() -> wxScreenDC() β€” constructor. the birth. the main character entrance. ✨

lowkey a whole entire virtual screen of real estate in one module. negative coordinates and all. no cap. πŸ”₯

Ericsson AB Β· wx 2.6 Β· that's the wxScreenDC(3) energy bestie, mwah πŸ’– go paint something iconic βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from