All pastes #507650 Raw Edit

attal background fix

public cpp v1 · immutable
·published 2007-05-24 17:48 UTC
rendered paste body
void InsideBase::drawBackground( QPainter * painter, const QRectF& rect ){	if( _background ) {		painter->fillRect( rect, Qt::black );		QRectF tmp = rect.intersected( sceneRect() );		painter->drawPixmap( tmp, * _background, tmp );	} else {		painter->fillRect( rect, Qt::black );	}}