Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into master-integration
[qt-netbsd.git] / demos / composition / composition.html
blob1848ad8bd12b17313eac43babd8c5d94476ad522
1 <html>
3 <h1>Demo for composition modes</h1>
5 <p>
6 This demo shows some of the more advanced composition modes supported by Qt.
7 </p>
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>
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>
23 </html>