Share via


CD2DBrush::CD2DBrush

Constructs a CD2DBrush object.

CD2DBrush(
   CRenderTarget* pParentTarget,
   CD2DBrushProperties* pBrushProperties = NULL,
   BOOL bAutoDestroy = TRUE
);

Parameters

  • pParentTarget
    A pointer to the render target.

  • pBrushProperties
    A pointer to the opacity and transformation of a brush.

  • bAutoDestroy
    Indicates that the object will be destroyed by owner (pParentTarget).

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DBrush Class