D2D1_BITMAP_PROPERTIES structure (d2d1.h)

Describes the pixel format and dpi of a bitmap.

Syntax

typedef struct D2D1_BITMAP_PROPERTIES {
  D2D1_PIXEL_FORMAT pixelFormat;
  FLOAT             dpiX;
  FLOAT             dpiY;
} D2D1_BITMAP_PROPERTIES;

Members

pixelFormat

Type: D2D1_PIXEL_FORMAT

The bitmap's pixel format and alpha mode.

dpiX

Type: FLOAT

The horizontal dpi of the bitmap.

dpiY

Type: FLOAT

The vertical dpi of the bitmap.

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header d2d1.h