D2D1_PROPERTY_TYPE
TOC
Collapse the table of content
Expand the table of content

D2D1_PROPERTY_TYPE enumeration

Specifies the types of properties supported by the Direct2D property interface.

Syntax


typedef enum  { 
  D2D1_PROPERTY_TYPE_UNKNOWN          = 0,
  D2D1_PROPERTY_TYPE_STRING           = 1,
  D2D1_PROPERTY_TYPE_BOOL             = 2,
  D2D1_PROPERTY_TYPE_UINT32           = 3,
  D2D1_PROPERTY_TYPE_INT32            = 4,
  D2D1_PROPERTY_TYPE_FLOAT            = 5,
  D2D1_PROPERTY_TYPE_VECTOR2          = 6,
  D2D1_PROPERTY_TYPE_VECTOR3          = 7,
  D2D1_PROPERTY_TYPE_VECTOR4          = 8,
  D2D1_PROPERTY_TYPE_BLOB             = 9,
  D2D1_PROPERTY_TYPE_IUNKNOWN         = 10,
  D2D1_PROPERTY_TYPE_ENUM             = 11,
  D2D1_PROPERTY_TYPE_ARRAY            = 12,
  D2D1_PROPERTY_TYPE_CLSID            = 13,
  D2D1_PROPERTY_TYPE_MATRIX_3X2       = 14,
  D2D1_PROPERTY_TYPE_MATRIX_4X3       = 15,
  D2D1_PROPERTY_TYPE_MATRIX_4X4       = 16,
  D2D1_PROPERTY_TYPE_MATRIX_5X4       = 17,
  D2D1_PROPERTY_TYPE_COLOR_CONTEXT    = 17
} D2D1_PROPERTY_TYPE;

Constants

D2D1_PROPERTY_TYPE_UNKNOWN

An unknown property.

D2D1_PROPERTY_TYPE_STRING

An arbitrary-length string.

D2D1_PROPERTY_TYPE_BOOL

A 32-bit integer value constrained to be either 0 or 1.

D2D1_PROPERTY_TYPE_UINT32

An unsigned 32-bit integer.

D2D1_PROPERTY_TYPE_INT32

A signed 32-bit integer.

D2D1_PROPERTY_TYPE_FLOAT

A 32-bit float.

D2D1_PROPERTY_TYPE_VECTOR2

Two 32-bit float values.

D2D1_PROPERTY_TYPE_VECTOR3

Three 32-bit float values.

D2D1_PROPERTY_TYPE_VECTOR4

Four 32-bit float values.

D2D1_PROPERTY_TYPE_BLOB

An arbitrary number of bytes.

D2D1_PROPERTY_TYPE_IUNKNOWN

A returned COM or nano-COM interface.

D2D1_PROPERTY_TYPE_ENUM

An enumeration. The value should be treated as a UINT32 with a defined array of fields to specify the bindings to human-readable strings.

D2D1_PROPERTY_TYPE_ARRAY

An enumeration. The value is the count of sub-properties in the array. The set of array elements will be contained in the sub-property.

D2D1_PROPERTY_TYPE_CLSID

A CLSID.

D2D1_PROPERTY_TYPE_MATRIX_3X2

A 3x2 matrix of float values.

D2D1_PROPERTY_TYPE_MATRIX_4X3

A 4x2 matrix of float values.

D2D1_PROPERTY_TYPE_MATRIX_4X4

A 4x4 matrix of float values.

D2D1_PROPERTY_TYPE_MATRIX_5X4

A 5x4 matrix of float values.

D2D1_PROPERTY_TYPE_COLOR_CONTEXT

A nano-COM color context interface pointer.

Remarks

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

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

Header

D2d1_1.h

See also

ID2D1Properties
ID2D1Properties::GetType

 

 

Community Additions

ADD
Show:
© 2016 Microsoft