Share via


CD2DSolidColorBrush::Create

Visual Studio 2010 SP1 is required.

Creates a CD2DSolidColorBrush.

virtual HRESULT Create(
   CRenderTarget* pRenderTarget
);

Parameters

  • pRenderTarget
    A pointer to the render target.

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DSolidColorBrush Class