Microsoft SDK for Java

bltColorFill

This method of the DirectDrawSurface Class fills the given rectangle on the surface with the given fill value.

Syntax

public int bltColorFill(Rect dest, int fillValue);

Return Value

Returns S_OK or 0 if the operation is successful; otherwise, returns an error code.

Parameters

dest A Rect object that defines the upper-left and lower-right points of the rectangle on the destination surface to be filled.
fillvalue The fill value to fill the rectangle with.

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