Partager via


CRenderTarget::FillRectangle

Paints the interior of the specified rectangle.

void FillRectangle(
   const CD2DRectF& rect,
   CD2DBrush* pBrush
);

Parameters

  • rect
    The dimension of the rectangle to paint, in device-independent pixels.

  • pBrush
    The brush used to paint the rectangle's interior.

Requirements

Header: afxrendertarget.h

See Also

Reference

CRenderTarget Class