Condividi tramite


Struttura TypeTraits (d2d1_1helper.h)

Contiene implementazioni di Point, Size e Rect che archiviano i dati usando il tipo specificato.

Sintassi

template<typename Type>
struct TypeTraits
{
    typedef D2D1_POINT_2F Point;
    typedef D2D1_SIZE_F   Size;
    typedef D2D1_RECT_F   Rect;
};

template<>
struct TypeTraits<UINT32>
{
    typedef D2D1_POINT_2U Point;
    typedef D2D1_SIZE_U   Size;
    typedef D2D1_RECT_U   Rect;
};

Requisiti

   
Client minimo supportato Windows 7, Windows Vista con SP2 e Aggiornamento della piattaforma per Windows Vista [app desktop | App UWP]
Server minimo supportato Windows Server 2008 R2, Windows Server 2008 con SP2 e Platform Update per Windows Server 2008 [app desktop | App UWP]
Intestazione d2d1_1helper.h (includere D2d1_1helper.h)