Exemple #1
0
 void DrawImages(QPainter painter)
 {
     painter.DrawImage(5, 15, colorImage);
     painter.DrawImage(5, colorImage.Height + 10, grayscaleImage);
 }
Exemple #2
0
 protected void paint(QPainter p, QStyleOptionGraphicsItem option)
 {
     p.DrawImage(option.ExposedRect, image, Option.ExposedRect, Qt::OrderedAlphaDither);
 }