tests/arthur/data/qps/background.qps
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 translate 10 30
       
     2 setBackground 7f7fff
       
     3 setBackgroundMode Transparent
       
     4 setPen ff7f7f
       
     5 
       
     6 path_moveTo path 0 0
       
     7 path_lineTo path 25 0
       
     8 path_cubicTo path 50 0 25 25 25 50
       
     9 path_lineTo path 0 50
       
    10 
       
    11 bitmap_load bitmap.png bitmap
       
    12 
       
    13 begin_block drawing
       
    14   save 
       
    15     drawRect 0 0 50 50
       
    16 
       
    17     translate 60 0
       
    18     drawEllipse 0 0 50 50
       
    19   
       
    20     translate 60 0
       
    21     drawPolygon [0 0 50 0 25 50 25 25]
       
    22 
       
    23     translate 60 0
       
    24     drawPath path
       
    25 
       
    26     translate 60 0
       
    27     drawPie 0 0 50 50 1440 2000
       
    28     
       
    29     translate 60 0
       
    30     drawChord 0 0 50 50 1440 2000 
       
    31 
       
    32     translate 60 0
       
    33     drawLine 0 0 50 0
       
    34     drawLine 0 0 50 50
       
    35     drawLine 0 0 0 50
       
    36 
       
    37     translate 60 0
       
    38     drawPolyline [0 0 50 0 25 50 25 25]
       
    39 
       
    40     translate 60 0
       
    41     drawArc 0 0 50 50 1440 2000
       
    42 
       
    43     translate 60 0
       
    44     drawText 0 10 "Jambi-Bambi"    
       
    45 
       
    46     translate 80 0
       
    47     drawPixmap bitmap 0 0 
       
    48   restore
       
    49 
       
    50   save
       
    51     setRenderHint Antialiasing
       
    52     translate 5 55
       
    53     drawRect 0 0 50 50
       
    54 
       
    55     translate 60 0
       
    56     drawEllipse 0 0 50 50
       
    57   
       
    58     translate 60 0
       
    59     drawPolygon [0 0 50 0 25 50 25 25]
       
    60 
       
    61     translate 60 0
       
    62     drawPath path
       
    63 
       
    64     translate 60 0
       
    65     drawPie 0 0 50 50 1440 2000
       
    66     
       
    67     translate 60 0
       
    68     drawChord 0 0 50 50 1440 2000 
       
    69 
       
    70     translate 60 0
       
    71     drawLine 0 0 50 0
       
    72     drawLine 0 0 50 50
       
    73     drawLine 0 0 0 50
       
    74 
       
    75     translate 60 0
       
    76     drawPolyline [0 0 50 0 25 50 25 25]
       
    77 
       
    78     translate 60 0
       
    79     drawArc 0 0 50 50 1440 2000
       
    80 
       
    81     translate 60 0
       
    82     drawText 0 10 "Jambi-Bambi"    
       
    83 
       
    84     translate 80 0
       
    85     drawPixmap bitmap 0 0 
       
    86   restore
       
    87 end_block
       
    88 
       
    89 translate 0 160
       
    90 setBackgroundMode Transparent
       
    91 setPen ff7f7f 0 dotline flatcap beveljoin
       
    92 repeat_block drawing
       
    93 
       
    94 translate 0 160
       
    95 setBackgroundMode Opaque
       
    96 setPen ff7f7f 0 dotline flatcap beveljoin
       
    97 repeat_block drawing
       
    98 
       
    99 translate 0 160
       
   100 setBackgroundMode Transparent
       
   101 setPen ff7f7f 4 dashline flatcap beveljoin
       
   102 repeat_block drawing    
       
   103 
       
   104 translate 0 160
       
   105 setBackgroundMode OpaqueMode
       
   106 setPen ff7f7f 4 dashline flatcap beveljoin
       
   107 repeat_block drawing    
       
   108 
       
   109 resetMatrix
       
   110 
       
   111 translate 5 5
       
   112 
       
   113 setBrush nobrush
       
   114 setPen black
       
   115 setBackgroundMode transparent
       
   116 drawText 10 15 "TransparentMode with solid 0-width pen"
       
   117 drawRect 0 0 685 135
       
   118 
       
   119 translate 0 160
       
   120 drawText 10 15 "TransparentMode with dotted 0-width pen"
       
   121 drawRect 0 0 685 135
       
   122 
       
   123 translate 0 160
       
   124 drawText 10 15 "OpaqueMode with dotted 0-width pen"
       
   125 drawRect 0 0 685 135
       
   126 
       
   127 translate 0 160
       
   128 drawText 10 15 "TransparentMode with dotted 4-width pen"
       
   129 drawRect 0 0 685 135
       
   130 
       
   131 translate 0 160
       
   132 drawText 10 15 "OpaqueMode with solid 4-width pen"
       
   133 drawRect 0 0 685 135