I want to paint text and graphics on a running video. 1. Given a filtergraph, I would like a class (or set of classes), which I can use to draw text and alphablend images on the video. Classes must be implemented using straight Win32 API or ATL and WTL. VMR7/9 can be used, but a solution which works on Win 98/2000 would be preferable. API Requirements: CVideoMixer//Implements VMR stuff Members: SetGraph(IFilterGraph* pGraph); Draw(CVObject& aObject); CVObject SetAlpha(float alpha); //alphablending amount (0...1) SetPosition(int x, int y); //placement in video window SetDecayTime(int milliseconds); //time to stay visible SetFadeTime(int milliseconds); //Fade-in/Fade out time //Note that position must be relative to video window's height/width, not video resolution CVText : public CVObject Members: SetFont(typeface, size); SetColor(color); //Bkmode always transparrent SetText(const char* pText); CVImage : public CVObject Members SetImage(HBITMAP hbm, int cx, int cy); //image is contained in the device context SetImage(const char* FileName); //Use CImage to load the filename SetColorKey(color); //transparent color How will these classes be used: CVideoMixer m_Mixer; CVText m_MovieName; //movie name - bottom-left CVImage m_Logo; //channel logo - top-right //...filter graph is created [login to view URL](m_FilterGraph); //...Playback is started [login to view URL](0, Height); //bottom-left [login to view URL]("Some Movie"); [login to view URL]("[login to view URL]"); [login to view URL](Width, 0); //top-right [login to view URL](m_MovieName); [login to view URL](m_Image);
## Deliverables
Set of classes which can be used to paint text and graphics on a running vidoe, as described.
## Platform
Windows