demos/composition/composition.html
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     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>