Direct2D Constants

Direct2D defines the following list of constants.

D2D1_DEFAULT_FLATTENING_TOLERANCE
0.25f

The default tolerance for geometric flattening operations.

D2D1_INVALID_TAG
ULONGLONG_MAX

Reserved; do not use.

D2D1_INVALID_PROPERTY_INDEX
UINT_MAX

When the invalid property index is specified to GetValue or GetValueByName, the call fails and the output buffer is zero-filled.

D2D1_APPEND_ALIGNED_ELEMENT
-1

This constant is used when packing input layout elements. It indicates that the elements must be packed contiguously.

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], Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

 

 

Show: