29 painter->setCompositionMode( mCompositionMode );
31 if ( mCompositionMode == QPainter::CompositionMode_SourceOver )
34 drawSource( painter );
39 if ( sourceIsPixmap() )
42 pixmap = sourcePixmap( Qt::LogicalCoordinates, &offset );
47 pixmap = sourcePixmap( Qt::DeviceCoordinates, &offset );
48 painter->setWorldTransform( QTransform() );
51 painter->drawPixmap( offset, pixmap );