aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/util/qsgninepatchnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/util/qsgninepatchnode.h')
-rw-r--r--src/quick/scenegraph/util/qsgninepatchnode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/scenegraph/util/qsgninepatchnode.h b/src/quick/scenegraph/util/qsgninepatchnode.h
index 8677a432ba..8509cbd326 100644
--- a/src/quick/scenegraph/util/qsgninepatchnode.h
+++ b/src/quick/scenegraph/util/qsgninepatchnode.h
@@ -55,6 +55,10 @@ public:
virtual void setDevicePixelRatio(qreal ratio) = 0;
virtual void setPadding(qreal left, qreal top, qreal right, qreal bottom) = 0;
virtual void update() = 0;
+
+ static void rebuildGeometry(QSGTexture *texture, QSGGeometry *geometry,
+ const QVector4D &padding,
+ const QRectF &bounds, qreal dpr);
};
QT_END_NAMESPACE