IDXLUTBuilder::SetInvert Method

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.

Sets the threshold value for color inversion.

Syntax


HRESULT SetInvert(
    float Threshold
);

Parameters

Threshold
[in] Threshold value for color inversion, which represents a fraction of a one-byte color channel. This value should be between 0.0 and 1.0.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

Color inversion produces new color values that are the previous color values subtracted from 255. Only values above Threshold*256 are inverted.

This value is used when the OPID_DXLUTBUILDER_Invert lookup table operation is used.

Community Additions

ADD
Show:
© 2014 Microsoft