diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-12 01:33:05 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-12 01:33:05 (GMT) |
commit | 10408036279e8102c3dd2870a6c71280c43da614 (patch) | |
tree | 57d307a842a8d2527d18e0c212295199a04ff771 /src/declarative/fx/qfxrect.cpp | |
parent | 6fc7ce61ba1b623421ca3ca8ee2315746be0a37b (diff) | |
parent | eae40ec9e65326bf268979afe1399d1fb8548105 (diff) | |
download | Qt-10408036279e8102c3dd2870a6c71280c43da614.zip Qt-10408036279e8102c3dd2870a6c71280c43da614.tar.gz Qt-10408036279e8102c3dd2870a6c71280c43da614.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/fx/qfxrect.cpp')
-rw-r--r-- | src/declarative/fx/qfxrect.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxrect.cpp b/src/declarative/fx/qfxrect.cpp index 29321b8..0bd240e 100644 --- a/src/declarative/fx/qfxrect.cpp +++ b/src/declarative/fx/qfxrect.cpp @@ -591,6 +591,19 @@ void QFxRect::drawRect(QPainter &p) } } +/*! + \qmlproperty bool Rect::smooth + + Set this property if you want the item to be smoothly scaled or + transformed. Smooth filtering gives better visual quality, but is slower. If + the item is displayed at its natural size, this property has no visual or + performance effect. + + \note Generally scaling artifacts are only visible if the item is stationary on + the screen. A common pattern when animating an item is to disable smooth + filtering at the beginning of the animation and reenable it at the conclusion. +*/ + QRectF QFxRect::boundingRect() const { Q_D(const QFxRect); |