Home  >  Magazine  >  #73 May 2000  >  A Real-Time Data Plotting Program  >  Listing 4. Private Rendering
Friday, March 10, 2000 | Last Updated 11:58:05 AM


  

Listing 4. Private Rendering

void RtpRender::quePrivateRender(BBox& viewPort,
const QSize& bufSize)
{
// Set to mark that private rendering is queued.
_privateRenderQueued = true;
_queuedViewPort = viewPort;
_queuedSize = bufSize;
// If the _timer is inactive, start the private
// rendering now.
if (!(_timer.isActive()))
switchToPrivate();
}