samples/hello/hello_canvas_transform.rb in glimmer-dsl-swt-4.24.1.0 vs samples/hello/hello_canvas_transform.rb in glimmer-dsl-swt-4.24.1.1
- old
+ new
@@ -17,22 +17,25 @@
rotation 90
scale 0.21, 0.21
# also supports inversion, identity, shear, and multiplication {transform properties}
}
}
+
image(glimmer_logo, 0, 0) {
transform {
translation 110, 220
scale 0.21, 0.21
}
}
+
image(glimmer_logo, 0, 0) {
transform {
translation 220, 220
rotation 270
scale 0.21, 0.21
}
}
+
image(glimmer_logo, 0, 0) {
transform {
translation 220, 110
rotation 180
scale 0.21, 0.21