Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 2.99 KB

ns-gdipluseffects-redeyecorrectionparams.md

File metadata and controls

75 lines (63 loc) · 2.99 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist req.product ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:gdipluseffects.RedEyeCorrectionParams
RedEyeCorrectionParams (gdipluseffects.h)
A RedEyeCorrectionParams structure contains members that specify the areas of a bitmap to which a red-eye correction is applied.
RedEyeCorrectionParams
RedEyeCorrectionParams structure [GDI+]
_gdiplus_STRUC_RedEyeCorrectionParams
gdiplus._gdiplus_STRUC_RedEyeCorrectionParams
gdipluseffects/RedEyeCorrectionParams
gdiplus\_gdiplus_STRUC_RedEyeCorrectionParams.htm
gdiplus
VS|gdicpp|~\gdiplus\gdiplusreference\structures\redeyecorrectionparams.htm
12/05/2018
RedEyeCorrectionParams, RedEyeCorrectionParams structure [GDI+], _gdiplus_STRUC_RedEyeCorrectionParams, gdiplus._gdiplus_STRUC_RedEyeCorrectionParams, gdipluseffects/RedEyeCorrectionParams
gdipluseffects.h
Gdiplus.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
GDI+ 1.1
19H1
RedEyeCorrectionParams
gdipluseffects/RedEyeCorrectionParams
c++
APIRef
kbSyntax
HeaderDef
Gdipluseffects.h
RedEyeCorrectionParams

RedEyeCorrectionParams structure

-description

A RedEyeCorrectionParams structure contains members that specify the areas of a bitmap to which a red-eye correction is applied.

You can correct red eyes in a bitmap by following these steps.

  1. Create and initialize a RedEyeCorrectionParams structure.
  2. Pass the address of the RedEyeCorrectionParams structure to the RedEyeCorrection::SetParameters method of a RedEyeCorrection object.
  3. Pass the address of the RedEyeCorrection object to the Graphics::DrawImage method or to the Bitmap::ApplyEffect method.

-struct-fields

-field numberOfAreas

Type: UINT

Integer that specifies the number of RECT structures in the areas array.

-field areas

Type: RECT*

Pointer to an array of RECT structures, each of which specifies an area of the bitmap to which red eye correction should be applied.