table of contents
other versions
- bookworm 1:25.2.3+dfsg-1
- testing 1:25.3.2.8+dfsg-1
- unstable 1:25.3.2.10+dfsg-1
- experimental 1:26.2.1+dfsg-1
wxDCOverlay(3erl) | Erlang Module Definition | wxDCOverlay(3erl) |
NAME¶
wxDCOverlay - Functions for wxDCOverlay class
DESCRIPTION¶
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()
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()
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.
wx 2.4 | wxWidgets team. |