Debian Codegraph @

tests/manual/scenegraph_lancelot/data/shaders/tree/hiddentree_2.qml

raw
1 import QtQuick 2.0
2
3 Item {
4 width: 320
5 height: 480
6
7 Rectangle {
8 visible: false
9 Item {
10 Text {
11 id: text
12 font.pixelSize: 80
13 text: "Shaderz!"
14 color: "black"
15 Rectangle {
16 width: 50
17 height: 50
18 color: "red"
19 anchors.centerIn: parent
20 transform: Rotation { angle: 90 }
21 }
22 }
23 }
24 }
25
26 ShaderEffectSource {
27 width: text.width
28 height: text.height
29 anchors.centerIn: parent
30 sourceItem: text
31 }
32 }