wxDCOverlay(3erl)

wxDCOverlay3erl

Functions for wxdcoverlay class

Overview

Connects an overlay with a drawing DC.

See: wxOverlay, wxDC

wxWidgets docs: wxDCOverlay

Data types

wxDCOverlay() = wx:wx_object()

Exports

new(Overlay, Dc) -> wxDCOverlay()

Types:

Overlay = wxOverlay:wxOverlay()
Dc = wxDC:wxDC()

Convenience wrapper that behaves the same using the entire area of the dc.

new(Overlay, Dc, X, Y, Width, Height) -> wxDCOverlay()

Types:

Overlay = wxOverlay:wxOverlay()
Dc = wxDC:wxDC()
X = Y = Width = Height = integer()

Connects this overlay to the corresponding drawing dc, if the overlay is not initialized yet this call will do so.

destroy(This :: wxDCOverlay()) -> ok

Removes the connection between the overlay and the dc.

clear(This) -> ok

Types:

This = wxDCOverlay()

Clears the layer, restoring the state at the last init.

Releases

4 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10
  3. 11
  4. 12

From erlang-manpages 1:25.2.3+dfsg-1+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.