If I made a figure sample :

local oGraphics := Graphics():New( hDC )
local oPen := Pen():New( 255, 0, 0, 255 , 10 , .T.)
local oBrush2 := Brush():NewSolidBrush( 150, 0, 255, 167 )
oPen:SetInset( )
oGraphics:DrawEllipse( oPen2, oBrush2 , 500, 100, 60, 60 )
then I want clear this figure to create another over ,
sample : oGraphics:DrawRect( oPen2, oBrush2 , 500, 100, 70, 60 )
so how I can erase the first figure ? how I must do ?

local oGraphics := Graphics():New( hDC )
local oPen := Pen():New( 255, 0, 0, 255 , 10 , .T.)
local oBrush2 := Brush():NewSolidBrush( 150, 0, 255, 167 )
oPen:SetInset( )
oGraphics:DrawEllipse( oPen2, oBrush2 , 500, 100, 60, 60 )
then I want clear this figure to create another over ,
sample : oGraphics:DrawRect( oPen2, oBrush2 , 500, 100, 70, 60 )
so how I can erase the first figure ? how I must do ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
