ID2D1RenderTarget::CreateBitmapBrush methods

Creates an ID2D1BitmapBrush from the specified bitmap.

Overload list

Method Description
CreateBitmapBrush(ID2D1Bitmap*,D2D1_BITMAP_BRUSH_PROPERTIES&,D2D1_BRUSH_PROPERTIES&,ID2D1BitmapBrush**) Creates an ID2D1BitmapBrush from the specified bitmap.
CreateBitmapBrush(ID2D1Bitmap*,D2D1_BITMAP_BRUSH_PROPERTIES*,D2D1_BRUSH_PROPERTIES*,ID2D1BitmapBrush**) Creates an ID2D1BitmapBrush from the specified bitmap.
CreateBitmapBrush(ID2D1Bitmap*,ID2D1BitmapBrush**) Creates an ID2D1BitmapBrush from the specified bitmap. The brush uses the default values for its extend mode, interpolation mode, opacity, and transform.
CreateBitmapBrush(ID2D1Bitmap*,D2D1_BITMAP_BRUSH_PROPERTIES&,ID2D1BitmapBrush**) Creates an ID2D1BitmapBrush from the specified bitmap. The brush uses the default values for its opacity and transform.

Examples

For an example showing how to paint an area with a bitmap brush, see How to Create a Bitmap Brush.

Requirements

Requirement Value
Library
D2d1.lib
DLL
D2d1.dll

See also

ID2D1RenderTarget

How to Create a Bitmap Brush

Brushes Overview