Supported Browsers Home   
MGL_srand Previous   
MGL_srcTransBltCoord Next   
External Functions Up   

MGL_srcTransBlt

Copies a block of image data with source transparency.

Declaration

void MGL_srcTransBlt(
    MGLDC *dst,
    MGLDC *src,
    rect_t srcRect,
    int dstLeft,
    int dstTop,
    color_t transparent,
    int op)

Prototype In

mgraph.h

Parameters

dst

Destination device context

src

Source device context

srcRect

Rectangle defining source image

dstLeft

Left coordinate of destination

dstTop

Top coordinate of destination

transparent

Transparent color to skip in source image

op

Write mode to use during Blt

 

Description

This function is the same as MGL_srcTransBltCoord, however it takes a rectangle as a parameter instead of the four coordinates of a rectangle.

See Also

MGL_bitBlt, MGL_bitBltCoord, MGL_srcTransBlt, MGL_srcTransBltCoord, MGL_dstTransBlt, MGL_dstTransBltCoord, MGL_bitBltPatt, MGL_bitBltPattCoord, MGL_bitBltFx, MGL_bitBltFxCoord, MGL_stretchBlt, MGL_stretchBltCoord, MGL_stretchBltFx, MGL_stretchBltFxCoord, MGL_copyPage, MGL_copyPageCoord

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