diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2012-09-05 15:51:02 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-07 05:40:31 +0200 |
commit | a3ca899129cff374386fdc7b702548b01c820bbe (patch) | |
tree | 9681050904aa19fc6ab18f58e4a60dcabca11bf6 /src/quick/scenegraph | |
parent | f4be00df17b02bab2bd91d68ec7315a717a5a7e8 (diff) |
Doc: Fix documentation issues.
Change-Id: I03c4faa1aee60cd1ad706cb6c1b983f03311d251
Reviewed-by: aavit <qt_aavit@ovi.com>
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r-- | src/quick/scenegraph/coreapi/qsgmaterial.cpp | 3 | ||||
-rw-r--r-- | src/quick/scenegraph/util/qsgsimplerectnode.cpp | 7 | ||||
-rw-r--r-- | src/quick/scenegraph/util/qsgsimpletexturenode.cpp | 9 |
3 files changed, 18 insertions, 1 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgmaterial.cpp b/src/quick/scenegraph/coreapi/qsgmaterial.cpp index c67b98b875..50d445c28f 100644 --- a/src/quick/scenegraph/coreapi/qsgmaterial.cpp +++ b/src/quick/scenegraph/coreapi/qsgmaterial.cpp @@ -561,6 +561,9 @@ QSGMaterial::~QSGMaterial() \value RequiresDeterminant Set this flag to true if the material relies on the determinant of the matrix of the geometry nodes for rendering. + \value RequiresFullMatrixExceptTranslate Set this flag to true if the material + relies on the full matrix of the geometry nodes for rendering, except the translation part. + \value RequiresFullMatrix Set this flag to true if the material relies on the full matrix of the geometry nodes for rendering. */ 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. |