View Source wxDCOverlay (wx v2.4.3)

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

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

Functions

-spec clear(This) -> ok when This :: wxDCOverlay().

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

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

Destroys the object

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

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

Link to this function

new(Overlay, Dc, X, Y, Width, Height)

View Source
-spec new(Overlay, Dc, X, Y, Width, Height) -> wxDCOverlay()
             when
                 Overlay :: wxOverlay:wxOverlay(),
                 Dc :: wxDC:wxDC(),
                 X :: integer(),
                 Y :: integer(),
                 Width :: integer(),
                 Height :: integer().

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