CRenderTarget::DrawRoundedRectangle
Draws the outline of the specified rounded rectangle using the specified stroke style.
void DrawRoundedRectangle(
const CD2DRoundedRect& rectRounded,
CD2DBrush* pBrush,
FLOAT fStrokeWidth = 1.0,
ID2D1StrokeStyle* strokeStyle = NULL
);
Parameters
rectRounded
The dimensions of the rounded rectangle to draw, in device-independent pixels.pBrush
The brush used to paint the rounded rectangle's outline.fStrokeWidth
The width of the rounded rectangle's stroke. The stroke is centered on the rounded rectangle's outline. The default value is 1.0f.strokeStyle
The style of the rounded rectangle's stroke, or NULL to paint a solid stroke. The default value is NULL.
Requirements
Header: afxrendertarget.h