diff options
author | David Boddie <david.boddie@nokia.com> | 2010-09-14 18:35:48 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2010-09-14 18:35:48 (GMT) |
commit | a4b6572b8fb8eb247a7bd952dca7e99e5d4e5707 (patch) | |
tree | f0832cacbc891f40c811dc16917ced81706b6155 /src/gui/painting | |
parent | b82889e235b0ad7fc85a0d4c7bada4e82b930c02 (diff) | |
download | Qt-a4b6572b8fb8eb247a7bd952dca7e99e5d4e5707.zip Qt-a4b6572b8fb8eb247a7bd952dca7e99e5d4e5707.tar.gz Qt-a4b6572b8fb8eb247a7bd952dca7e99e5d4e5707.tar.bz2 |
Doc: Continued work on the QML documentation.
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qbrush.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp index d3061d8..d0788c7 100644 --- a/src/gui/painting/qbrush.cpp +++ b/src/gui/painting/qbrush.cpp @@ -1218,17 +1218,16 @@ QDataStream &operator>>(QDataStream &s, QBrush &b) \o QConicalGradient \endtable - The colors in a gradient is defined using stop points of the - QGradientStop type, i.e. a position and a color. Use the - setColorAt() function to define a single stop - point. Alternatively, use the setStops() function to define - several stop points in one go. Note that the latter function \e - replaces the current set of stop points. + The colors in a gradient are defined using stop points of the + QGradientStop type; i.e., a position and a color. Use the setColorAt() + function to define a single stop point. Alternatively, use the + setStops() function to define several stop points in one go. Note that + the latter function \e replaces the current set of stop points. It is the gradient's complete set of stop points (accessible through the stops() function) that describes how the gradient area - should be filled. If no stop points have been specified, a - gradient of black at 0 to white at 1 is used. + should be filled. If no stop points have been specified, a gradient + of black at 0 to white at 1 is used. A diagonal linear gradient from black at (100, 100) to white at (200, 200) could be specified like this: |