DWRITE_BITMAP_DATA_BGRA32 structure (dwrite_3.h)

Represents bitmap data in BGRA32 format.

Important

This API is available as part of the DWriteCore implementation of DirectWrite. For more info, and code examples, see DWriteCore overview.

Syntax

struct DWRITE_BITMAP_DATA_BGRA32 {
  UINT32 width;
  UINT32 height;
  UINT32 *pixels;
};

Members

width

Type: UINT32

The width, in pixels, of the bitmap.

height

Type: UINT32

The height, in pixels, of the bitmap.

pixels

Type: _Field_size_(width * height)UINT32*

A pointer to the location of the bit values for the bitmap.

Examples

See the DWriteCore overview topic, and the DWriteCoreGallery sample app.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 (with Windows App SDK 0.5 or later)
Header dwrite_3.h

See also

DWriteCore overview

DWriteCoreGallery sample