Last change
on this file since 1168 was 2, checked in by Dmitry A. Kuminov, 16 years ago |
Initially imported qt-all-opensource-src-4.5.1 from Trolltech.
|
File size:
711 bytes
|
Line | |
---|
1 | <html>
|
---|
2 |
|
---|
3 | <h1>Demo for composition modes</h1>
|
---|
4 |
|
---|
5 | <p>
|
---|
6 | This demo shows some of the more advanced composition modes supported by Qt.
|
---|
7 | </p>
|
---|
8 |
|
---|
9 | <p>
|
---|
10 | The two most common forms of composition are <b>Source</b> and <b>SourceOver</b>.
|
---|
11 | <b>Source</b> is used to draw opaque objects onto a paint device. In this mode,
|
---|
12 | each pixel in the source replaces the corresponding pixel in the destination.
|
---|
13 | In <b>SourceOver</b> composition mode, the source object is transparent and is
|
---|
14 | drawn on top of the destination.
|
---|
15 | </p>
|
---|
16 |
|
---|
17 | <p>
|
---|
18 | In addition to these standard modes, Qt defines the complete set of composition
|
---|
19 | modes as defined by Thomas Porter and Tom Duff. See the <tt>QPainter</tt> documentation
|
---|
20 | for details.
|
---|
21 | </p>
|
---|
22 |
|
---|
23 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.