Microsoft SDK for Java

bltFx

This method of the DirectDrawSurface Class is capable of synchronous or asynchronous blits, in one of the following formats:

The blits can be performed by using z-information, alpha information, source color keys, and destination color keys. Arbitrary stretching or shrinking will be performed if the source and destination rectangles are not the same size.

Syntax

public int bltFx(Rect dest, DirectDrawSurface ddS, Rect src, int flags, DDBltFx bltFx);

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 blitted to.
ddS The DirectDrawSurface object that is the source for the blit operation.
src A Rect object that defines the upper-left and lower-right points of the rectangle on the source surface to be blitted from.
flags This parameter is currently not used and must be set to 0.
bltfx The DDBltFx object that defines the parameters for the blit operations.

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