summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-10-26 01:25:17 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-10-26 01:26:14 (GMT)
commit4fbd2ad6c90fa4946595c715dedf712d77350fb8 (patch)
tree2b1d6dce68dd595bb93ba01ef6f893ea18c103c3 /doc
parent5d7f9e852a1de2c949ad6ca866d11a33b4152d29 (diff)
downloadQt-4fbd2ad6c90fa4946595c715dedf712d77350fb8.zip
Qt-4fbd2ad6c90fa4946595c715dedf712d77350fb8.tar.gz
Qt-4fbd2ad6c90fa4946595c715dedf712d77350fb8.tar.bz2
Doc.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/pics/3d-rotation-axis.pngbin14304 -> 11078 bytes
-rw-r--r--doc/src/declarative/pics/axisrotation.pngbin3425 -> 8891 bytes
-rw-r--r--doc/src/snippets/declarative/rotation.qml16
3 files changed, 10 insertions, 6 deletions
diff --git a/doc/src/declarative/pics/3d-rotation-axis.png b/doc/src/declarative/pics/3d-rotation-axis.png
index 1b17261..b940215 100644
--- a/doc/src/declarative/pics/3d-rotation-axis.png
+++ b/doc/src/declarative/pics/3d-rotation-axis.png
Binary files differ
diff --git a/doc/src/declarative/pics/axisrotation.png b/doc/src/declarative/pics/axisrotation.png
index 409a9e9..4cddcdf 100644
--- a/doc/src/declarative/pics/axisrotation.png
+++ b/doc/src/declarative/pics/axisrotation.png
Binary files differ
diff --git a/doc/src/snippets/declarative/rotation.qml b/doc/src/snippets/declarative/rotation.qml
index aaaebee..4a67dcb 100644
--- a/doc/src/snippets/declarative/rotation.qml
+++ b/doc/src/snippets/declarative/rotation.qml
@@ -4,25 +4,29 @@ Rectangle {
width: 360; height: 80
color: "white"
//! [0]
- HorizontalLayout {
- margin: 10
+ Row {
+ x: 10; y: 10
spacing: 10
Image { source: "pics/qt.png" }
Image {
source: "pics/qt.png"
- transform: Rotation { origin.x: 30; axis.y: 60; axis.z: 0 angle: 18 }
+ transform: Rotation { origin.x: 30; origin.y: 30; axis { x: 0; y: 1; z: 0 } angle: 18 }
+ smooth: true
}
Image {
source: "pics/qt.png"
- transform: Rotation { origin.x: 30; axis.y: 60; axis.z: 0 angle: 36 }
+ transform: Rotation { origin.x: 30; origin.y: 30; axis { x: 0; y: 1; z: 0 } angle: 36 }
+ smooth: true
}
Image {
source: "pics/qt.png"
- transform: Rotation { origin.x: 30; axis.y: 60; axis.z: 0; angle: 54 }
+ transform: Rotation { origin.x: 30; origin.y: 30; axis { x: 0; y: 1; z: 0 } angle: 54 }
+ smooth: true
}
Image {
source: "pics/qt.png"
- transform: Rotation { origin.x: 30; axis.y: 60; axis.z: 0; angle: 72 }
+ transform: Rotation { origin.x: 30; origin.y: 30; axis { x: 0; y: 1; z: 0 } angle: 72 }
+ smooth: true
}
}
//! [0]