Non-filled circle?

This function in windows GDI draws a filled circle...

Ellipse (hdc, 50, 50, 150, 150) ;

How can I draw 2 overlapping circles without the circles being filled?
Shapes are filled with the currently selected brush.
If you don't want any filling, you select a hollow/null brush:

1
2
3
HBRUSH oldbrush = (HBRUSH)SelectObject( hdc, GetStockObject( NULL_BRUSH ) );
Ellipse( ... );
SelectObject( hdc, oldbrush );
Topic archived. No new replies allowed.