Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Représente un rectangle et fournit des méthodes pratiques pour créer des rectangles.
Syntax
struct CD3D11_RECT : D3D11_RECT {
void CD3D11_RECT();
void CD3D11_RECT(
const D3D11_RECT & o
);
void CD3D11_RECT(
LONG Left,
LONG Top,
LONG Right,
LONG Bottom
);
void ~CD3D11_RECT();
};
Héritage
La structure CD3D11_RECT implémente D3D11_RECT.
Membres
Instancie une nouvelle instance d’une structure de CD3D11_RECT non initialisée.
void CD3D11_RECT( const D3D11_RECT & o)
Instancie une nouvelle instance d’une structure CD3D11_RECT initialisée avec une structure D3D11_RECT.
void CD3D11_RECT( LONG Left, LONG Top, LONG Right, LONG Bottom)
Instancie une nouvelle instance d’une structure CD3D11_RECT initialisée avec les dimensions d’un rectangle.
Détruit un instance d’une structure CD3D11_RECT.
Remarques
Voici comment D3D11.h définit CD3D11_RECT :
struct CD3D11_RECT : public D3D11_RECT
{
CD3D11_RECT()
{}
explicit CD3D11_RECT( const D3D11_RECT& o ) :
D3D11_RECT( o )
{}
explicit CD3D11_RECT(
LONG Left,
LONG Top,
LONG Right,
LONG Bottom )
{
left = Left;
top = Top;
right = Right;
bottom = Bottom;
}
~CD3D11_RECT() {}
operator const D3D11_RECT&() const { return *this; }
};
|
Configuration requise
| Condition requise | Valeur |
|---|---|
| Client minimal pris en charge | Windows 7 [applications de bureau | Applications UWP] |
| Serveur minimal pris en charge | Windows Server 2008 R2 [applications de bureau | Applications UWP] |
| En-tête | d3d11.h |