Gdiplus::Graphics::FillEllipse填充椭圆

HDC hdc = ::GetDC(m_hWnd); Graphics graphics(hdc); SolidBrush brush(Color(150,0,0,255)); graphics.FillEllipse(&brush,10,10,200,100);//填充椭圆 /* 格式: Status FillEllipse(const Brush* brush, const Rect& rect); Status FillEllipse(const Brush* brush, INT x, INT y, INT width, INT height); Status FillEllipse(const Brush* brush, const RectF& rect); Status FillEllipse(const Brush* brush, REAL x, REAL y, REAL width, REAL height); 参数1:画刷指针 */


浙公网安备 33010602011771号