Graphics Dojo Examples

来源:互联网 发布:hanlp分词 java 编辑:程序博客网 时间:2024/05/03 22:41

ARGB

This example shows how to create ARGB windows. Meaning windows which can be drawn to using transparent brush and will in turn be transparent. The example loads an SVG file and renders its contents in a transparent window, then adds a checkbox that makes it show/hide an icon in the upper right corner.
svn://labs.trolltech.com/svn/graphics/dojo/argb

fr

Bezier

This example show how to animate object along an arbitrary QPainterPath?. In the example the object is moving while the user is allowed to dynamically manipulate the path while the object is moving.
svn://labs.trolltech.com/svn/graphics/dojo/rof/bezier

f

Blobs

I ported exactly this example to QSA Context2D implementation. This is all C++ implementation. Based on Bjoern Lindberg blobsallad work.
svn://labs.trolltech.com/svn/graphics/dojo/blobs

fd

Box 2D

In this example I was playing with new intergration techniques. It's a a very small physics engine done by Erin Catto. It shows how to integrate physics world with Qt to produce very realistic animations.
svn://labs.trolltech.com/svn/graphics/dojo/box2d

fd

Exponential Blur

This is an implementation of one of the fastest blurring algorithms by Jani Huhtanen. It allows users to drag mouse around, which shows a nice lens and the image under this lens is blurred.
svn://labs.trolltech.com/svn/graphics/dojo/expblur

f

n Path

This example shows how to layout text on a path. Like in the bezier example, it allows users to dynamically change the path while font is rendered on top of it and allows to dynamically change the text and font.
svn://labs.trolltech.com/svn/graphics/dojo/onpath

fds

ath Context

This example shows how to use QPainterPath?'s to render pretty complex paths. The user can drag to light around which produces a drop-shadow under the main clock.
svn://labs.trolltech.com/svn/graphics/dojo/pathcontext

fd

QTransform

This example shows how to do arbitrary transformations on objects using QTransform. In the corner it display the current QTransform matrix which was used to create the rendering. The users can drag the corners of the rendering to transform it on the fly.
svn://labs.trolltech.com/svn/graphics/dojo/qtransform

fsd

QTransform 2

This example shows how to easily transform an object around one of the three (x/y/z) axis. It allows user to pick the axis while the object is animating.
svn://labs.trolltech.com/svn/graphics/dojo/qtransform2

fd

eflection

This example shows how to do nice reflections using only Qt code. The example animates (zooms in and out).
svn://labs.trolltech.com/svn/graphics/dojo//reflection

fdgfdg

Shadows

This example shows how to nicely create shadows for abitrary Qt renderings. The example allows users to switch between few svg's/png's , adjust the radius of the shadows and creates the shadows dynamically.
svn://labs.trolltech.com/svn/graphics/dojo/shadows

fsd

Stackblur

This is another very fast blurring algorithm. The example shows a little animation of images being progrssibly blurred.
svn://labs.trolltech.com/svn/graphics/dojo/stackblur

fdg

Wiggly

Another physics inspired example. It shows an object constructed from springs which users can drag around and see it behave like a cloth. It's based on a similar Cairo example.
svn://labs.trolltech.com/svn/graphics/dojo/wiggly

hgfh

X11 Widget Mirror

A neat example showing how to monitor contents of a X11 window for changes and compose it with some transformation. All done in real time.
svn://labs.trolltech.com/svn/graphics/dojo/qx11mirror

gfg

Folder 1

A simple version of an example showing how to efficiently achieve the effect of folding pages in applications.
svn://labs.trolltech.com/svn/graphics/dojo/folder1

gfd

Form Folder

Example showing how to use the page folding example with forms and generally visually static applications..
svn://labs.trolltech.com/svn/graphics/dojo/folder

gfg

Ring of Fire

Ring of fire examples shows how to work with QRgb. The example is based on Mario Klingemann work.
svn://labs.trolltech.com/svn/graphics/dojo/rof

gfg

Cover Browser

The example shows how to produce animation and reflections for a cover selection widget.
svn://labs.trolltech.com/svn/graphics/dojo/browser

gfdg

Glow

The example shows how to produce real-time glow effect with Qt.
svn://labs.trolltech.com/svn/graphics/dojo/glow

hgfh

Style Clock

The example shows how to style an application with SVG files.
svn://labs.trolltech.com/svn/graphics/dojo/styleclock

gf