XMConvertFloatToHalfStream
XMConvertHalfToFloatStream
XMMatrixDecompose
XMPlaneTransformStream
XMVector2TransformCoordStream
XMVector2TransformNormalStream
XMVector2TransformStream
XMVector3ProjectStream
XMVector3TransformCoordStream
XMVector3TransformNormalStream
XMVector3TransformStream
XMVector3UnprojectStream
XMVector4TransformStream
Expand Minimize

BitmapProperties1 function

Creates a D2D1_BITMAP_PROPERTIES1 structure.

Syntax


D2D1_BITMAP_PROPERTIES1 BitmapProperties1(
  D2D1_BITMAP_OPTIONS bitmapOptions = D2D1_BITMAP_OPTIONS_NONE,
  _In_  const D2D1_PIXEL_FORMAT pixelFormat = D2D1::PixelFormat(),
  FLOAT dpiX = 96.0f,
  FLOAT dpiY = 96.0f,
  _In_  ID2D1ColorContext *colorContext = NULL
);

Parameters

bitmapOptions

Type: D2D1_BITMAP_OPTIONS

A combination of D2D1_BITMAP_OPTIONS-typed values that specify how the bitmap can be used.

pixelFormat [in]

Type: const D2D1_PIXEL_FORMAT

The bitmap's pixel format and alpha mode. The default value is a D2D1_PIXEL_FORMAT with a format of DXGI_FORMAT_UNKNOWN and an alphaMode of D2D1_ALPHA_MODE_UNKNOWN. For more information about pixel formats, see Supported Pixel Formats and Alpha Modes.

dpiX

Type: FLOAT

The horizontal dpi of the bitmap. The default value is 96.0f.

dpiY

Type: FLOAT

The vertical dpi of the bitmap. The default value is 96.0f.

colorContext [in]

Type: ID2D1ColorContext*

An optional pointer to the ID2D1ColorContext interface for a color context to use with the bitmap. If you don't want to specify a color context, set this parameter to NULL.

Return value

Type: D2D1_BITMAP_PROPERTIES1

A D2D1_BITMAP_PROPERTIES1 structure that describes the bitmap.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1helper.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft