wxDCOverlay (wx v2.5.4)

Copy Markdown View Source

Connects an overlay with a drawing DC.

See:

wxWidgets docs: wxDCOverlay

Summary

Functions

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

Destroys the object

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

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

Types

wxDCOverlay()

-type wxDCOverlay() :: wx:wx_object().

Functions

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

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

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

Destroys the object

new(Overlay :: wxOverlay:wxOverlay(), Dc :: wxDC:wxDC()) -> wxDCOverlay()

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.