Supported Browsers Home   
MGL_putBufferDstTransSection Previous   
MGL_putBufferFxSection Next   
External Functions Up   

MGL_putBufferFx

Copy an offscreen buffer to the specified location, while applying different effects in the process.

Declaration

void MGLAPI MGL_putBufferFx(
    MGLDC *dc,
    int x,
    int y,
    MGLBUF *buf,
    bltfx_t *fx)

Prototype In

mgraph.h

Parameters

dc

Device context to copy buffer to

x

x coordinate to copy buffer to

y

y coordinate to copy buffer to

buf

Buffer to copy

fx

Information describing the effects to apply to the blit (bltfx_t)

 

Description

Copies an offscreen buffer to the specified location on the device context, with optional effects applied. The effects applied to the blit operation range from X and Y bitmap flipping to color transparency and blending.

Note:    This function will fail if you attempt to copy a buffer to a device context that is not the device context that the original buffer was allocated for.

See Also

MGL_copyToBuffer, MGL_copyBitmapToBuffer, MGL_updateBufferCache, MGL_updateFromBufferCache, MGL_putBuffer, MGL_putBufferSection, MGL_putBufferSrcTrans, MGL_putBufferSrcTransSection, MGL_putBufferDstTrans, MGL_putBufferDstTransSection, MGL_putBufferPatt, MGL_putBufferPattSection, MGL_putBufferFx, MGL_putBufferFxSection, MGL_stretchBuffer, MGL_stretchBufferSection, MGL_stretchBufferFx, MGL_stretchBufferFxSection

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com