Hi
Is it possible to paint on Form used as OverlayRegion for Camera preview?
I set camera preview on my form prior to getting OverlayRegion. Tried to draw some primitives in Form::OnDraw() but
I can see none results.
result CameraForm::OnDraw() { result r = E_SUCCESS; Canvas* pCanvas = GetCanvasN(); if (pCanvas != null) { Color color(0xff,0x0,0x0); pCanvas->SetForegroundColor(color); pCanvas->DrawLine( Point(x1, y1), Point(x2, y2) ); } delete pCanvas; return r; }
So how to paint something on camera content in Form?
Thanks for help.
slaw