23 : mCompositionMode( QPainter::CompositionMode_SourceOver )
37 painter->setCompositionMode( mCompositionMode );
39 if ( mCompositionMode == QPainter::CompositionMode_SourceOver )
42 drawSource( painter );
47 if ( sourceIsPixmap() )
50 pixmap = sourcePixmap( Qt::LogicalCoordinates, &offset );
55 pixmap = sourcePixmap( Qt::DeviceCoordinates, &offset );
56 painter->setWorldTransform( QTransform() );
59 painter->drawPixmap( offset, pixmap );
65 mCompositionMode = compositionMode;