Home > Mobile >  QPainter CompositionMode image superposition pattern release does not display
QPainter CompositionMode image superposition pattern release does not display

Time:12-05

QPainter p1 (tmpPix);
TmpPix - & gt; The fill (Qt: : transparent);
P1. SetCompositionMode (QPainter: : CompositionMode_SourceAtop);
P1. DrawImage (offset. The width (), offset.. height (), pixmap - & gt; ToImage ());

The CompositionMode_SourceAtop mode to relase don't show in release mode, other patterns can be, someone met yet?

CodePudding user response:

Solved, tmpPix QPixmap into a QImage is no problem before, divided among the post

CodePudding user response:

I want to "post replies

CodePudding user response:

Don't wanna to get points
  •  Tags:  
  • Qt
  • Related