wxErlang

Reference Manual

Version 2.0

Table of Contents

wxDCOverlay

Module

wxDCOverlay

Module Summary

Functions for wxDCOverlay class

Description

Connects an overlay with a drawing DC.

See: wxOverlay, wxDC

wxWidgets docs: wxDCOverlay

new(Overlay, Dc) -> wxDCOverlay()

Types

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

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

Types

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

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