DXScaleSample function

Scales the red, green, blue, and alpha channels of a sample.

Syntax

DWORD DXScaleSample(
  _In_ DWORD         src,
  _In_ unsigned long beta
);

Parameters

  • src [in]
    A value of type DWORD that specifies relative red, green, blue, and alpha intensities.

  • beta [in]
    A value of type unsigned long that specifies the relative amount by which the sample is scaled. This value must be between 0 and 255.

Return value

Returns a value of type DWORD containing the scaled color values of the sample.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxhelper.h

See also

Reference

DXScaleSamplePercent

DXScalePremultArray