CRenderTarget::FillGeometry
Paints the interior of the specified geometry.
void FillGeometry(
CD2DGeometry* pGeometry,
CD2DBrush* pBrush,
CD2DBrush* pOpacityBrush = NULL
);
Parameters
pGeometry
The geometry to paint.pBrush
The brush used to paint the geometry's interior.pOpacityBrush
The opacity mask to apply to the geometry;NULL for no opacity mask. If an opacity mask (the opacityBrush parameter) is specified, brush must be an ID2D1BitmapBrush that has its x- and y-extend modes set to D2D1_EXTEND_MODE_CLAMP. For more information, see the Remarks section.
Requirements
Header: afxrendertarget.h