CreateDIBPatternBrushPt(3w)

CreateDIBPatternBrushPt3w

Usage

HBRUSH CreateDIBPatternBrushPt
(
const void* data,
UINT coloruse
)

Overview

Create a logical brush with a pattern from a DIB.

Params

data [In] Pointer to a BITMAPINFO structure and image data for the pattern.

coloruse [In] Specifies color format, if provided.

Returns

A handle to the created brush, or a NULL handle if the brush cannot be created.

Notes

- This function uses CreateBrushIndirect(3w) to create the brush.

- The brush returned should be freed by the caller using DeleteObject(3w) when it is no longer required.

Implementation

Declared in "gdiplusenums.h".

Implemented in "dlls/gdi32/brush.c".

Debug channel "gdi".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.