File: pixmap_rotation.qps

package info (click to toggle)
qtbase-opensource-src 5.7.1%2Bdfsg-3%2Bdeb9u2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 283,652 kB
  • sloc: cpp: 1,754,662; ansic: 433,142; xml: 100,291; python: 9,650; sh: 7,671; java: 6,543; asm: 4,283; perl: 2,217; yacc: 1,733; lex: 1,194; makefile: 333; objc: 70
file content (30 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Version: 1
# CheckVsReference: 0% (0 0 440 220)

translate 120 120

begin_block drawing
save
  rotate 90
  drawPixmap solid.png 0 0

  rotate 90
  drawPixmap solid.png 0 0

  rotate 90
  drawPixmap solid.png 0 0

  rotate 90
  drawPixmap solid.png 0 0
restore
end_block

resetMatrix

translate 340 120
repeat_block drawing

resetMatrix

drawText 50 240 "Normal X form"
drawText 270 240 "Smooth xform"