NAME

CreateDIBPatternBrushPt  (GDI32.@)

SYNOPSIS

 HBRUSH CreateDIBPatternBrushPt
 (
  const void* data,
  UINT        coloruse
 )

DESCRIPTION

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 to create the brush.

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

IMPLEMENTATION

Defined in "wingdi.h".

Implemented in "dlls/gdi32/brush.c". source.winehq.org/source/dlls/gdi32/brush.c

Debug channel "gdi".


Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.