Microsoft SDK for Java

updateOverlay

This method of the DirectDrawSurface Class repositions or modifies the visual attributes of an overlay surface. These surfaces must have the DDSCAPS_OVERLAY value set.

Syntax

public void updateOverlay(Rect r, DirectDrawSurface ddS, Rect d, int flags);

Parameters

r A Rect object that defines the x, y, width, and height of the region on the source surface being used as the overlay.
ddS The DirectDrawSurface that is being overlaid.
d A Rect object that defines the x, y, width, and height of the region on the destination surface that the overlay should be moved to.
flags One or more values of DDOVER_ type.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.