Sha256: ac57fe542dcd9069e04c0b27ed518827c5d91a019a361a369b6cb691408247db
Contents?: true
Size: 752 Bytes
Versions: 40
Compression:
Stored size: 752 Bytes
Contents
require 'glimmer-dsl-swt' include Glimmer glimmer_logo = File.expand_path('../../icons/scaffold_app.png', __dir__) shell { text 'Hello, Canvas Transform!' minimum_size 330, 352 canvas { background :white image(glimmer_logo, 0, 0) { transform { translate 110, 110 rotate 90 scale 0.21, 0.21 } } image(glimmer_logo, 0, 0) { transform { translate 110, 220 scale 0.21, 0.21 } } image(glimmer_logo, 0, 0) { transform { translate 220, 220 rotate 270 scale 0.21, 0.21 } } image(glimmer_logo, 0, 0) { transform { translate 220, 110 rotate 180 scale 0.21, 0.21 } } } }.open
Version data entries
40 entries across 40 versions & 1 rubygems