CRenderTarget::DrawGeometry
使用指定的筆劃樣式繪製指定之幾何的外框。
void DrawGeometry(
CD2DGeometry* pGeometry,
CD2DBrush* pBrush,
FLOAT fStrokeWidth = 1.0,
ID2D1StrokeStyle* strokeStyle = NULL
);
參數
pGeometry
要繪製的幾何。pBrush
用來繪製幾何筆劃的筆刷。fStrokeWidth
幾何筆劃的粗細。 筆劃位於幾何外框線中間。strokeStyle
要套用至幾何外框的筆劃樣式,如果是 NULL,則繪製實心筆劃。
需求
**標頭檔:**afxrendertarget.h