Condividi tramite


Metodo ID2D1CommandSink::P ushLayer (d2d1_1.h)

Inserisce un livello nello stack di clip e layer.

Sintassi

HRESULT PushLayer(
  [in] const D2D1_LAYER_PARAMETERS1 *layerParameters1,
  [in] ID2D1Layer                   *layer
);

Parametri

[in] layerParameters1

Tipo: const D2D1_LAYER_PARAMETERS1*

Parametri che definiscono il livello.

[in] layer

Tipo: ID2D1Layer*

Risorsa livello che riceve le operazioni di disegno successive.

Valore restituito

Tipo: HRESULT

Se il metodo ha esito positivo, restituisce S_OK. Se ha esito negativo, restituisce un codice di errore HRESULT .

Requisiti

Requisito Valore
Client minimo supportato Windows 8 e aggiornamento della piattaforma per Windows 7 [app desktop | App UWP]
Server minimo supportato Windows Server 2012 e aggiornamento della piattaforma per Windows Server 2008 R2 [app desktop | App UWP]
Piattaforma di destinazione Windows
Intestazione d2d1_1.h
DLL D2d1.dll

Vedi anche

ID2D1CommandList::Stream

ID2D1CommandSink

ID2D1RenderTarget::P ushAxisAlignedClip