summaryrefslogtreecommitdiffstats
path: root/doc/src/demos/deform.qdoc
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-06-30 09:42:52 +0200
committerQt by Nokia <qt-info@nokia.com>2011-07-05 21:19:08 +0200
commit1734cb55c5049ae7bead9ed5474f067ee6536e4f (patch)
tree5d521646319d14a4801f0eee0cea347595f2014d /doc/src/demos/deform.qdoc
parent192eae5797fdd8b68eef8697fd75717fd537d15b (diff)
Move some other examples around in the docs.
Change-Id: Ib50600ff9fd3d807b82a152abd7d587196d5b5e3 Reviewed-on: http://codereview.qt.nokia.com/932 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: David Boddie
Diffstat (limited to 'doc/src/demos/deform.qdoc')
-rw-r--r--doc/src/demos/deform.qdoc51
1 files changed, 0 insertions, 51 deletions
diff --git a/doc/src/demos/deform.qdoc b/doc/src/demos/deform.qdoc
deleted file mode 100644
index 7b11a9a95a..0000000000
--- a/doc/src/demos/deform.qdoc
+++ /dev/null
@@ -1,51 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** GNU Free Documentation License
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms
-** and conditions contained in a signed written agreement between you
-** and Nokia.
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-/*!
- \example demos/deform
- \title Vector Deformation
-
- This demo shows how to use advanced vector techniques to draw text
- using a \c QPainterPath.
-
- \image deform-demo.png
-
- We define a vector deformation field in the shape of a lens and apply
- this to all points in a path. This means that what is rendered on
- screen is not pixel manipulation, but modified vector representations of
- the glyphs themselves. This is visible from the high quality of the
- antialiased edges for the deformed glyphs.
-
- To get a fairly complex path we allow the user to type in text and
- convert the text to paths. This is done using the
- QPainterPath::addText() function.
-
- The lens is drawn using a single call to QPainter::drawEllipse(),
- using a QRadialGradient to fill it with a specialized color
- table, giving the effect of the sun's reflection and a drop
- shadow. The lens is cached as a pixmap for better performance.
-*/