IDCompositionBrightnessEffect::SetBlackPoint method (dcomp.h)

Specifies the lower portion of the brightness transfer curve for the brightness effect.

Syntax

HRESULT SetBlackPoint(
  [in, ref] const D2D1_VECTOR_2F & blackPoint
);

Parameters

[in, ref] blackPoint

Type: const D2D1_VECTOR_2F

The lower portion of the brightness transfer curve. The black point adjusts the appearance of the darker portions of the image. The vector is for both the x value and the y value, in that order. Each of the values must be between 0 and 1, inclusive.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header dcomp.h
Library Dcomp.lib
DLL Dcomp.dll

See also

IDCompositionBrightnessEffect