File: arcs.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 (68 lines) | stat: -rw-r--r-- 1,290 bytes parent folder | download | duplicates (16)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Version: 1
# CheckVsReference: 5

setRenderHint LineAntialiasing

setPen red 0

drawEllipse 0 0 600 400

path_moveTo arcs 300 200
path_arcTo arcs 0 0 600 400 0 10
path_closeSubpath arcs

path_moveTo arcs 300 200
path_arcTo arcs 0 0 600 400 20 30
path_closeSubpath arcs

path_moveTo arcs 300 200
path_arcTo arcs 0 0 600 400 60 45
path_closeSubpath arcs

path_moveTo arcs 300 200
path_arcTo arcs 0 0 600 400 115 60
path_closeSubpath arcs

path_moveTo arcs 300 200
path_arcTo arcs 0 0 600 400 180 90
path_closeSubpath arcs

path_moveTo arcs 590 200
path_arcTo arcs 10 10 580 380 0 360
path_closeSubpath arcs

path_moveTo arcs 300 200
path_arcTo arcs 20 20 560 360 0 -10
path_closeSubpath arcs

path_moveTo arcs 300 200
path_arcTo arcs 20 20 560 360 -20 -30
path_closeSubpath arcs

path_moveTo arcs 300 200
path_arcTo arcs 20 20 560 360 -60 -45
path_closeSubpath arcs

path_moveTo arcs 300 200
path_arcTo arcs 20 20 560 360 -115 -60
path_closeSubpath arcs

path_moveTo arcs 300 200
path_arcTo arcs 20 20 560 360 -180 -90
path_closeSubpath arcs

setPen black 1 solidline
setBrush #3f00ff00
drawPath arcs

# Then again with a matrix set...
translate 200 400
rotate 10
scale 0.5 0.5
setPen red 0
setBrush nobrush
drawEllipse 0 0 600 400

setPen black 1 solidline
setBrush #3f0000ff
drawPath arcs