Home  >  Magazine  >  #73 May 2000  >  A Real-Time Data Plotting Program  >  Listing 3. New On-Line Rendering
Friday, March 10, 2000 | Last Updated 11:58:02 AM


  

Listing 3. New On-Line Rendering

RtpMapping RtpRender::newOnlineRender(BBox& 
   viewPort, QPixmap *buf)
{
  if (_privateBuff) {      // Cancel any private 
                           // rendering
    delete _privateBuff;
    _privateBuff = NULL;
  }
  _buf = buf;
  startRender(viewPort);   // startRender fills 
                           // in _map
  signalRepaintWindow();
  return _map;
}