From 3912bbaceab166eb116447311eb16453e4f26edf Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Wed, 18 Jul 2012 13:53:40 +1000 Subject: Update usage of smooth and antialiasing. Change-Id: Icc8b28bdd466389ed3f269f076f1bdb6e9abe3f2 Reviewed-by: Yunqiao Yin Reviewed-by: Bea Lam --- src/quick/items/qquickborderimage.cpp | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'src/quick/items/qquickborderimage.cpp') diff --git a/src/quick/items/qquickborderimage.cpp b/src/quick/items/qquickborderimage.cpp index bb15f3623b..8258dbadb8 100644 --- a/src/quick/items/qquickborderimage.cpp +++ b/src/quick/items/qquickborderimage.cpp @@ -140,11 +140,7 @@ QT_BEGIN_NAMESPACE The \l{declarative/imageelements/borderimage}{BorderImage example} shows how a BorderImage can be used to simulate a shadow effect on a rectangular item. - \section1 Quality and Performance - - By default, any scaled regions of the image are rendered without smoothing to improve - rendering speed. Setting the \l smooth property improves rendering quality of scaled - regions, but may slow down rendering. + \section1 Image Loading The source image may not be loaded instantaneously, depending on its original location. Loading progress can be monitored with the \l progress property. @@ -205,16 +201,12 @@ QQuickBorderImage::~QQuickBorderImage() /*! \qmlproperty bool QtQuick2::BorderImage::smooth - Set this property if you want the image to be smoothly filtered when scaled or - transformed. Smooth filtering gives better visual quality, but is slower. If - the image is displayed at its natural size, this property has no visual or - performance effect. - - By default, this property is set to false. + This property holds whether the image is smoothly filtered when scaled or + transformed. Smooth filtering gives better visual quality, but it may be slower + on some hardware. If the image is displayed at its natural size, this property + has no visual or performance effect. - \note Generally scaling artifacts are only visible if the image is stationary on - the screen. A common pattern when animating an image is to disable smooth - filtering at the beginning of the animation and enable it at the conclusion. + By default, this property is set to true. */ /*! -- cgit v1.2.3