Archived

This topic is now archived and is closed to further replies.

encom

Win32 GDI help

Recommended Posts

encom    122
Hi, How to fill an ellipse with GDI win32 SDK ? I know the function FillRect to fill rectangle unlike Rect ! But FillEllipse does not exist !! So How to fill an ellipse ? thanks

Share this post


Link to post
Share on other sites
Magius    220
You don''t need to fill the Ellipse separately. The Ellipse Win32 API function will draw the ellipse with the outline done in the current Pen and the fill using the current Brush for you. Just make sure you select the Pen and Brush you want to use into the device context before drawing the ellipse.

Magius

Share this post


Link to post
Share on other sites