diff options
Diffstat (limited to 'src/quick/scenegraph/util')
-rw-r--r-- | src/quick/scenegraph/util/qsgsimplerectnode.cpp | 7 | ||||
-rw-r--r-- | src/quick/scenegraph/util/qsgsimpletexturenode.cpp | 9 |
2 files changed, 15 insertions, 1 deletions
diff --git a/src/quick/scenegraph/util/qsgsimplerectnode.cpp b/src/quick/scenegraph/util/qsgsimplerectnode.cpp index 09a3b42e98..d8a1ff914b 100644 --- a/src/quick/scenegraph/util/qsgsimplerectnode.cpp +++ b/src/quick/scenegraph/util/qsgsimplerectnode.cpp @@ -93,6 +93,13 @@ void QSGSimpleRectNode::setRect(const QRectF &rect) } +/*! + \fn void QSGSimpleRectNode::setRect(qreal x, qreal y, qreal w, qreal h) + \overload + + Sets the rectangle of this rect node to begin at (\a x, \a y) and have + width \a w and height \a h. + */ /*! Returns the rectangle that this rect node covers. diff --git a/src/quick/scenegraph/util/qsgsimpletexturenode.cpp b/src/quick/scenegraph/util/qsgsimpletexturenode.cpp index c347dffbed..98f806652c 100644 --- a/src/quick/scenegraph/util/qsgsimpletexturenode.cpp +++ b/src/quick/scenegraph/util/qsgsimpletexturenode.cpp @@ -105,7 +105,7 @@ QSGTexture::Filtering QSGSimpleTextureNode::filtering() const /*! - Sets the target rect of this texture node to \a r + Sets the target rect of this texture node to \a r. */ void QSGSimpleTextureNode::setRect(const QRectF &r) { @@ -116,6 +116,13 @@ void QSGSimpleTextureNode::setRect(const QRectF &r) markDirty(DirtyGeometry); } +/*! + \fn void QSGSimpleTextureNode::setRect(qreal x, qreal y, qreal w, qreal h) + \overload + + Sets the rectangle of this texture node to begin at (\a x, \a y) and have + width \a w and height \a h. + */ /*! Returns the target rect of this texture node. |