コード例 #1
0
 void DrawImages(QPainter painter)
 {
     painter.DrawImage(5, 15, colorImage);
     painter.DrawImage(5, colorImage.Height + 10, grayscaleImage);
 }
コード例 #2
0
ファイル: ImageItem.cs プロジェクト: BGCX261/zora-svn-to-git
 protected void paint(QPainter p, QStyleOptionGraphicsItem option)
 {
     p.DrawImage(option.ExposedRect, image, Option.ExposedRect, Qt::OrderedAlphaDither);
 }