wScreenDC

A screen device context can be used to paint on the screen.

Like other DC object, wScreenDC need nim's destructors to release the resource.

Superclass:wDC

Types

wScreenDC = object of wDC

Procs

proc ScreenDC(): wScreenDC {...}{.raises: [NilAccessError, Exception, IndexError,
                                  wFontError, wPenError, wBrushError],
                          tags: [RootEffect].}
Constructor.
proc delete(self: var wScreenDC) {...}{.raises: [], tags: [].}
Nim's destructors will delete this object by default. However, sometimes you maybe want to do that by yourself. (Nim's destructors don't work in some version?)