---
name: "wxScreenDC"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/wxScreenDC"
---

# wxScreenDC(3erl)

Functions for wxScreenDC class

## NAME

wxScreenDC - Functions for wxScreenDC class

## DESCRIPTION

A *wxScreenDC* can be used to paint on the screen. This should normally be constructed as a temporary stack object; don't store a *wxScreenDC* object.

When using multiple monitors, *wxScreenDC* corresponds to the entire virtual screen composed of all of them. Notice that coordinates on *wxScreenDC* can be negative in this case, see *wxDisplay:getGeometry/1* for more.

See: *wxDC*, *wxMemoryDC*, *wxPaintDC*, *wxClientDC*, *wxWindowDC*

This class is derived (and can use functions) from: *wxDC*

wxWidgets docs: wxScreenDC

## DATA TYPES

```
wxScreenDC() = wx:wx_object()
```

## EXPORTS

```
new() -> wxScreenDC()
```

Constructor.

```
destroy(This :: wxScreenDC()) -> ok
```

Destroys the object.
