HUESATINTDATA

Delphi Syntax:

HUESATINTDATA= Packed Record
   nHue: L_INT;
   nSaturation: L_INT;
   nIntensity: L_INT;
   nOuterLow: L_INT;
   nOuterHigh: L_INT;
   nInnerLow: L_INT;
   nInnerHigh: L_INT;
end;

C++ Builder Syntax:

struct HUESATINTDATA
{
   int nHue;
   int nSaturation;
   int nIntensity;
   int nOuterLow;
   int nOuterHigh;
   int nInnerLow;
   int nInnerHigh;
};

The HUESATINTDATA record (structure) provides the color range information used in the ChangeHueSatInt method.

Member

Description

nHue

Angular amount to change the hue, in hundredths of a degree. Valid values range from -18000 through 18000. This value is divided internally by 100.

nSaturation

Percentage amount to change saturation, in tenths of a percent. Valid values range from -1000 through 1000. This value is divided internally by 10.

nIntensity

Percentage amount to change the intensity , in tenths of a percent. Valid values range from -1000 through 1000. This value is divided internally by 10.

nOuterLow

Specifies the start of the color range to be changed. Valid values range from -359 through 359.

nOuterHigh

Specifies the end of the color range to be changed. Valid values range is from -359 through 359.

nInnerLow

Specifies the start of the color range to be fully changed. The valid range is between the nOuterLow and nOuterHigh values.

nInnerHigh

Specifies the end of the color range to be fully changed. The valid range is between the nOuterLow and nOuterHigh values.

The hue values for the inner and outer ranges are expressed as degrees in the HSB color space. Values inside the inner range are changed fully and those within the outer range are changed partially.