summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qpixmap.h')
-rw-r--r--src/gui/image/qpixmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/image/qpixmap.h b/src/gui/image/qpixmap.h
index 5f5c28def2..af141cd325 100644
--- a/src/gui/image/qpixmap.h
+++ b/src/gui/image/qpixmap.h
@@ -102,6 +102,9 @@ public:
QBitmap mask() const;
void setMask(const QBitmap &);
+ qreal devicePixelRatio() const;
+ void setDevicePixelRatio(qreal scaleFactor);
+
bool hasAlpha() const;
bool hasAlphaChannel() const;