SetInvert

SetInvert method

Sets the threshold value for color inversion.

Syntax


HRESULT retVal = object.SetInvert(Threshold);

Parameters

Threshold [in]

Type: float

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.

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.

 

 

Show:
© 2016 Microsoft