tests/arthur/data/qps/beziers.qps
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 
       
     2 setRenderHint LineAntialiasing
       
     3 
       
     4 translate 20 20
       
     5 path_moveTo fullSize 0 0
       
     6 path_cubicTo fullSize 200 100 -100 100 100 0
       
     7 
       
     8 path_moveTo fullSize 0 200
       
     9 path_cubicTo fullSize 0 100 100 100 100 200
       
    10 
       
    11 path_moveTo fullSize 0 250
       
    12 path_cubicTo fullSize 50 200 50 200 100 250
       
    13 drawPath fullSize
       
    14 
       
    15 translate 110 0
       
    16 scale 10 10
       
    17 path_moveTo medSize 0 0
       
    18 path_cubicTo medSize 20 10 -10 10 10 0
       
    19 
       
    20 path_moveTo medSize 0 20
       
    21 path_cubicTo medSize 0 10 10 10 10 20
       
    22 
       
    23 path_moveTo medSize 0 25
       
    24 path_cubicTo medSize 5 20 5 20 10 25
       
    25 drawPath medSize
       
    26 
       
    27 resetMatrix
       
    28 translate 240 20
       
    29 scale 100 100
       
    30 path_moveTo smallSize 0 0
       
    31 path_cubicTo smallSize 2 1 -1 1 1 0
       
    32 
       
    33 path_moveTo smallSize 0 2
       
    34 path_cubicTo smallSize 0 1 1 1 1 2
       
    35 
       
    36 path_moveTo smallSize 0 2.5
       
    37 path_cubicTo smallSize 0.5 2  0.5 2  1 2.5
       
    38 drawPath smallSize
       
    39 
       
    40 resetMatrix
       
    41 translate 20 300
       
    42 drawPath medSize
       
    43 
       
    44 resetMatrix
       
    45 translate 250 -100
       
    46 path_moveTo maxSize 0 500
       
    47 path_cubicTo maxSize 1000 0 -500 0 500 500
       
    48 drawPath maxSize
       
    49 
       
    50 setRenderHint Antialiasing off
       
    51 resetMatrix
       
    52 
       
    53 path_moveTo path1 0 0
       
    54 path_cubicTo path1 10 10 0 10 10 0
       
    55 
       
    56 path_moveTo path2 0 0
       
    57 path_cubicTo path2 15 15 -5 15 10 0
       
    58 
       
    59 path_moveTo path3 0 0
       
    60 path_cubicTo path3 20 20 -10 20 10 0
       
    61 
       
    62 path_moveTo path4 0 0
       
    63 path_cubicTo path4 0 5 10 10 0 15
       
    64 
       
    65 path_moveTo path5 0 10
       
    66 path_cubicTo path5 10 10 -10 20 0 0
       
    67 
       
    68 path_moveTo path6 0 0
       
    69 path_cubicTo path6 10 5 -10 10 0 15
       
    70 
       
    71 setPen black 2
       
    72 setBrush nobrush
       
    73 
       
    74 translate 10 500
       
    75 scale 3 3
       
    76 begin_block paths
       
    77 save
       
    78 drawPath path1
       
    79 translate 20 0
       
    80 drawPath path2
       
    81 translate 20 0
       
    82 drawPath path3
       
    83 translate 20 0
       
    84 drawPath path4
       
    85 translate 20 0
       
    86 drawPath path5
       
    87 translate 20 0
       
    88 drawPath path6
       
    89 restore
       
    90 end_block
       
    91 
       
    92 setPen nopen
       
    93 setBrush black
       
    94 
       
    95 translate 0 20
       
    96 repeat_block paths
       
    97 
       
    98 setRenderHint Antialiasing
       
    99 
       
   100 setPen black 2
       
   101 setBrush nobrush
       
   102 
       
   103 translate  120 -20
       
   104 repeat_block paths
       
   105 
       
   106 setPen nopen
       
   107 setBrush black
       
   108 
       
   109 translate 0 20
       
   110 repeat_block paths
       
   111 
       
   112 resetMatrix
       
   113 path_moveTo miterPath 20 0
       
   114 path_cubicTo miterPath 20 20 0 0 1 0
       
   115 path_lineTo miterPath -1 -0.2
       
   116 
       
   117 setBrush nobrush
       
   118 
       
   119 translate 50 660
       
   120 scale 5 5
       
   121 
       
   122 setPen black 4 solidline flatcap miterjoin
       
   123 drawPath miterPath
       
   124 setPen red 0
       
   125 drawPath miterPath
       
   126 
       
   127 path_moveTo miterPath2 21 0.2
       
   128 path_lineTo miterPath2 19 0
       
   129 path_cubicTo miterPath2 20 0 0 20 0 0
       
   130 
       
   131 translate 30 0
       
   132 setPen black 4 solidline flatcap miterjoin
       
   133 drawPath miterPath2
       
   134 setPen red 0
       
   135 drawPath miterPath2
       
   136 
       
   137 path_moveTo wonkyPath 0 0
       
   138 path_cubicTo wonkyPath 5 15 20 0 17 0
       
   139 
       
   140 translate 30 0
       
   141 setPen black 4 solidline flatcap miterjoin
       
   142 drawPath wonkyPath
       
   143 setPen red 0
       
   144 drawPath wonkyPath