Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID2D1RenderTarget::CreateBitmapBrush methods

Creates an ID2D1BitmapBrush from the specified bitmap.

Overload list

MethodDescription
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

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1RenderTarget
How to Create a Bitmap Brush
Brushes Overview

 

 

Show:
© 2017 Microsoft