3 <h1>Demo for composition modes
</h1>
6 This demo shows some of the more advanced composition modes supported by Qt.
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.
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