selvanathan
July 2, 2007, 09:01:34
Dear Sir,
I draw a line on Live display by using following code
m_pGrabber->getOverlay()->drawLine(RGB(255,255,0), 200,0, 200,480);
it works, but i need to change this line position dynamically
i used
void Test_Dlg::OnButton1()
{
a=a+10;
b=b+10;
m_pGrabber->getOverlay()->drawLine(RGB(255,255,0), a,0, b,480);
}
it works but old line not clears, how i clear old line.. plz help me..
thanks in advance:)
I draw a line on Live display by using following code
m_pGrabber->getOverlay()->drawLine(RGB(255,255,0), 200,0, 200,480);
it works, but i need to change this line position dynamically
i used
void Test_Dlg::OnButton1()
{
a=a+10;
b=b+10;
m_pGrabber->getOverlay()->drawLine(RGB(255,255,0), a,0, b,480);
}
it works but old line not clears, how i clear old line.. plz help me..
thanks in advance:)