From 38be0d13830efd2d98281c645c3a60afe05ffece Mon Sep 17 00:00:00 2001 From: Qt by Nokia Date: Wed, 27 Apr 2011 12:05:43 +0200 Subject: Initial import from the monolithic Qt. This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12 --- demos/composition/composition.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 demos/composition/composition.html (limited to 'demos/composition/composition.html') diff --git a/demos/composition/composition.html b/demos/composition/composition.html new file mode 100644 index 0000000000..1848ad8bd1 --- /dev/null +++ b/demos/composition/composition.html @@ -0,0 +1,23 @@ + + +

Demo for composition modes

+ +

+ This demo shows some of the more advanced composition modes supported by Qt. +

+ +

+ The two most common forms of composition are Source and SourceOver. + Source is used to draw opaque objects onto a paint device. In this mode, + each pixel in the source replaces the corresponding pixel in the destination. + In SourceOver composition mode, the source object is transparent and is + drawn on top of the destination. +

+ +

+ In addition to these standard modes, Qt defines the complete set of composition + modes as defined by Thomas Porter and Tom Duff. See the QPainter documentation + for details. +

+ + -- cgit v1.2.3