DATAMANIP (kdatamanip) functions


LIBRARY ROUTINE

lkblend - blend two data objects using the specified ratio

LIBRARY CALL

int lkblend(kobject src1_obj,
            kobject src2_obj,
            kobject gate_obj,
            kobject ratio_obj,
            double  ratio,
            kobject dest_obj)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

lkblend blends two objects in the specified ratio. The blending ratio of the objects can be specifed as a constant or an input object can be used for supplying the ratios. The constant is used only if the ratio object is NULL. An optional input object can be used to specify regions in which the operation is not to be performed. The value segment of the gating object is used to determine if the blending on a point is to be gated.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DATAMANIP/objects/library/kdatamanip/src/lkblend.c

SEE ALSO

kdatamanip(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.