CD2DBitmapBrush::CD2DBitmapBrush
Costruisce un oggetto CD2DBitmapBrush.
CD2DBitmapBrush(
CRenderTarget* pParentTarget,
D2D1_BITMAP_BRUSH_PROPERTIES* pBitmapBrushProperties = NULL,
CD2DBrushProperties* pBrushProperties = NULL,
BOOL bAutoDestroy = TRUE
);
CD2DBitmapBrush(
CRenderTarget* pParentTarget,
UINT uiResID,
LPCTSTR lpszType = NULL,
CD2DSizeU sizeDest = CD2DSizeU(0,
0),
D2D1_BITMAP_BRUSH_PROPERTIES* pBitmapBrushProperties = NULL,
CD2DBrushProperties* pBrushProperties = NULL,
BOOL bAutoDestroy = TRUE
);
CD2DBitmapBrush(
CRenderTarget* pParentTarget,
LPCTSTR lpszImagePath,
CD2DSizeU sizeDest = CD2DSizeU(0,
0),
D2D1_BITMAP_BRUSH_PROPERTIES* pBitmapBrushProperties = NULL,
CD2DBrushProperties* pBrushProperties = NULL,
BOOL bAutoDestroy = TRUE
);
Parametri
pParentTarget
Un puntatore alla destinazione di rendering.pBitmapBrushProperties
Puntatore alle modalità estese e alla modalità di interpolazione di un pennello bitmap.pBrushProperties
Un puntatore all'opacità e alla trasformazione di un pennello.bAutoDestroy
Indica che l'oggetto verrà eliminato dal proprietario (pParentTarget).uiResID
Il numero dell'ID di risorsa della risorsa.lpszType
Puntatore a una stringa con terminazione Null contenente il tipo di risorsa.sizeDest
Dimensione della destinazione della bitmap.lpszImagePath
Puntatore a una stringa con terminazione null contenente il nome del file.
Requisiti
Intestazione: afxrendertarget.h