Debian Codegraph @

tests/auto/other/lancelot/scripts/image_dpr.qps

raw
1
2 setRenderHint Antialiasing true
3 setRenderHint SmoothPixmapTransform true
4
5 image_load sign.png img1
6 pixmap_load sign.png pix1
7
8 begin_block drawIt
9 save
10
11 drawImage img1 20 20 -1 -1
12 drawRect 17.5 17.5 85 85
13
14 setBrush img1
15 setPen NoPen
16 drawRect 20 120 120 120
17
18 brushRotate 45
19 drawRect 20 260 120 120
20
21 setBrush NoBrush
22 drawTiledPixmap pix1 20 400 120 120
23
24 restore
25 end_block
26
27 save
28 translate 150 0
29 rotate -5
30 repeat_block drawIt
31 restore
32
33 image_setDevicePixelRatio img1 2.0
34 pixmap_setDevicePixelRatio pix1 2.0
35 translate 400 0
36 repeat_block drawIt
37
38 save
39 translate 150 0
40 rotate -5
41 repeat_block drawIt
42 restore
43