Qt Snippet: Create QPixmap with transparent background

QPixmap MyPixmap(QSize(32,32)); MyPixmap.fill(Qt::transparent); // Now you can draw into // .......
If you want to know how to draw into a QPixmap check this post.
QPixmap MyPixmap(QSize(32,32)); MyPixmap.fill(Qt::transparent); // Now you can draw into // .......
Comments
Post a Comment