• Advertisement

Archived

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

Win32 GDI help

This topic is 5311 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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

  • Advertisement