CRenderTarget::DrawEllipse
使用指定的筆劃樣式繪製指定之橢圓形的外框。
void DrawEllipse(
const CD2DEllipse& ellipse,
CD2DBrush* pBrush,
FLOAT fStrokeWidth = 1.0,
ID2D1StrokeStyle* strokeStyle = NULL
);
參數
ellipse
要繪製之橢圓形的位置和半徑 (以裝置獨立畫素為單位)。pBrush
用來繪製橢圓形外框的筆刷。fStrokeWidth
橢圓形筆劃的粗細。 筆劃位於橢圓形外框線中間。strokeStyle
要套用至橢圓形外框的筆劃樣式,如果是 NULL,則繪製實心筆劃。
需求
**標頭檔:**afxrendertarget.h