tests/arthur/data/qps/dashes.qps
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 translate 20 20
       
     2 
       
     3 begin_block draw
       
     4 save
       
     5   save
       
     6     setPen black 1 SolidLine FlatCap BevelJoin
       
     7     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
     8     translate 0 40
       
     9     setPen black 1 SolidLine SquareCap BevelJoin
       
    10     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    11     translate 0 40
       
    12     setPen black 1 SolidLine RoundCap BevelJoin
       
    13     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    14     translate 0 40
       
    15   
       
    16     setPen black 2 SolidLine FlatCap BevelJoin
       
    17     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    18     translate 0 40
       
    19     setPen black 2 SolidLine SquareCap BevelJoin
       
    20     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    21     translate 0 40
       
    22     setPen black 2 SolidLine RoundCap BevelJoin
       
    23     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    24     translate 0 40
       
    25   
       
    26     setPen black 6 SolidLine FlatCap BevelJoin
       
    27     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    28     translate 0 40
       
    29     setPen black 6 SolidLine SquareCap BevelJoin
       
    30     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    31     translate 0 40
       
    32     setPen black 6 SolidLine RoundCap BevelJoin
       
    33     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    34     translate 0 40
       
    35   restore
       
    36   
       
    37   
       
    38   translate 100 0
       
    39   save
       
    40     setPen black 1 DotLine FlatCap BevelJoin
       
    41     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    42     translate 0 40
       
    43     setPen black 1 DotLine SquareCap BevelJoin
       
    44     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    45     translate 0 40
       
    46     setPen black 1 DotLine RoundCap BevelJoin
       
    47     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    48     translate 0 40
       
    49   
       
    50     setPen black 2 DotLine FlatCap BevelJoin
       
    51     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    52     translate 0 40
       
    53     setPen black 2 DotLine SquareCap BevelJoin
       
    54     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    55     translate 0 40
       
    56     setPen black 2 DotLine RoundCap BevelJoin
       
    57     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    58     translate 0 40
       
    59   
       
    60     setPen black 6 DotLine FlatCap BevelJoin
       
    61     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    62     translate 0 40
       
    63     setPen black 6 DotLine SquareCap BevelJoin
       
    64     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    65     translate 0 40
       
    66     setPen black 6 DotLine RoundCap BevelJoin
       
    67     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    68     translate 0 40
       
    69   restore
       
    70   
       
    71   translate 100 0
       
    72   save
       
    73     setPen black 1 DashLine FlatCap BevelJoin
       
    74     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    75     translate 0 40
       
    76     setPen black 1 DashLine SquareCap BevelJoin
       
    77     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    78     translate 0 40
       
    79     setPen black 1 DashLine RoundCap BevelJoin
       
    80     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    81     translate 0 40
       
    82   
       
    83     setPen black 2 DashLine FlatCap BevelJoin
       
    84     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    85     translate 0 40
       
    86     setPen black 2 DashLine SquareCap BevelJoin
       
    87     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    88     translate 0 40
       
    89     setPen black 2 DashLine RoundCap BevelJoin
       
    90     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    91     translate 0 40
       
    92   
       
    93     setPen black 6 DashLine FlatCap BevelJoin
       
    94     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    95     translate 0 40
       
    96     setPen black 6 DashLine SquareCap BevelJoin
       
    97     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
    98     translate 0 40
       
    99     setPen black 6 DashLine RoundCap BevelJoin
       
   100     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   101     translate 0 40
       
   102   restore
       
   103   
       
   104   translate 100 0
       
   105   
       
   106   save
       
   107     setPen black 1 DashDotLine FlatCap BevelJoin
       
   108     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   109     translate 0 40
       
   110     setPen black 1 DashDotLine SquareCap BevelJoin
       
   111     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   112     translate 0 40
       
   113     setPen black 1 DashDotLine RoundCap BevelJoin
       
   114     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   115     translate 0 40
       
   116   
       
   117     setPen black 2 DashDotLine FlatCap BevelJoin
       
   118     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   119     translate 0 40
       
   120     setPen black 2 DashDotLine SquareCap BevelJoin
       
   121     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   122     translate 0 40
       
   123     setPen black 2 DashDotLine RoundCap BevelJoin
       
   124     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   125     translate 0 40
       
   126   
       
   127     setPen black 6 DashDotLine FlatCap BevelJoin
       
   128     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   129     translate 0 40
       
   130     setPen black 6 DashDotLine SquareCap BevelJoin
       
   131     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   132     translate 0 40
       
   133     setPen black 6 DashDotLine RoundCap BevelJoin
       
   134     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   135     translate 0 40
       
   136   restore
       
   137  
       
   138   translate 100 0
       
   139 
       
   140   save
       
   141     setPen black 1 DashDotDotLine FlatCap BevelJoin
       
   142     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   143     translate 0 40
       
   144     setPen black 1 DashDotDotLine SquareCap BevelJoin
       
   145     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   146     translate 0 40
       
   147     setPen black 1 DashDotDotLine RoundCap BevelJoin
       
   148     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   149     translate 0 40
       
   150   
       
   151     setPen black 2 DashDotDotLine FlatCap BevelJoin
       
   152     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   153     translate 0 40
       
   154     setPen black 2 DashDotDotLine SquareCap BevelJoin
       
   155     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   156     translate 0 40
       
   157     setPen black 2 DashDotDotLine RoundCap BevelJoin
       
   158     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   159     translate 0 40
       
   160   
       
   161     setPen black 4 DashDotDotLine FlatCap BevelJoin
       
   162     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   163     translate 0 40
       
   164     setPen black 4 DashDotDotLine SquareCap BevelJoin
       
   165     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   166     translate 0 40
       
   167     setPen black 4 DashDotDotLine RoundCap BevelJoin
       
   168     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   169     translate 0 40
       
   170   restore
       
   171 
       
   172   translate 100 0
       
   173 
       
   174   save
       
   175     setPen black 1 SolidLine FlatCap BevelJoin
       
   176     pen_setDashPattern [1 4 9 4 27 4]
       
   177     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   178     translate 0 40
       
   179     setPen black 1 SolidLine SquareCap BevelJoin
       
   180     pen_setDashPattern [1 4 9 4 27 4]
       
   181     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   182     translate 0 40
       
   183     setPen black 1 SolidLine RoundCap BevelJoin
       
   184     pen_setDashPattern [1 4 9 4 27 4]
       
   185     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   186     translate 0 40
       
   187   
       
   188     setPen black 2 SolidLine FlatCap BevelJoin
       
   189     pen_setDashPattern [1 4 9 4 27 4]
       
   190     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   191     translate 0 40
       
   192     setPen black 2 SolidLine SquareCap BevelJoin
       
   193     pen_setDashPattern [1 4 9 4 27 4]
       
   194     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   195     translate 0 40
       
   196     setPen black 2 SolidLine RoundCap BevelJoin
       
   197     pen_setDashPattern [1 4 9 4 27 4]
       
   198     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   199     translate 0 40
       
   200   
       
   201     setPen black 4 SolidLine FlatCap BevelJoin
       
   202     pen_setDashPattern [1 4 9 4 27 4]
       
   203     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   204     translate 0 40
       
   205     setPen black 4 SolidLine SquareCap BevelJoin
       
   206     pen_setDashPattern [1 4 9 4 27 4]
       
   207     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   208     translate 0 40
       
   209     setPen black 4 SolidLine RoundCap BevelJoin
       
   210     pen_setDashPattern [1 4 9 4 27 4]
       
   211     drawPolyline [0 0 80 0 80 30 40 20 0 30]
       
   212     translate 0 40
       
   213   restore
       
   214 
       
   215 restore
       
   216 end_block
       
   217   
       
   218 translate 0 400
       
   219 setRenderHint Antialiasing
       
   220 repeat_block draw
       
   221 
       
   222 translate 0 -20
       
   223 drawText 30 0 "Solid"
       
   224 
       
   225 translate 100 0
       
   226 drawText 20 0 "DotLine"
       
   227 
       
   228 translate 100 0
       
   229 drawText 10 0 "DashLine"
       
   230 
       
   231 translate 100 0
       
   232 drawText 0 0 "DashDotLine"
       
   233 
       
   234 translate 100 0
       
   235 drawText 0 0 "DashDotDotLine"
       
   236 
       
   237 translate 100 0
       
   238 drawText 0 0 "CustomDashLine"
       
   239 
       
   240 resetMatrix
       
   241 
       
   242 translate 620 40
       
   243 
       
   244 begin_block width_and_caps_texts
       
   245   drawText 0 0 "Width=1, FlatCap"
       
   246   translate 0 40
       
   247   drawText 0 0 "Width=1, SquareCap"
       
   248   translate 0 40
       
   249   drawText 0 0 "Width=1, RoundCap"
       
   250   translate 0 40
       
   251   drawText 0 0 "Width=2, FlatCap"
       
   252   translate 0 40
       
   253   drawText 0 0 "Width=2, SquareCap"
       
   254   translate 0 40
       
   255   drawText 0 0 "Width=2, RoundCap"
       
   256   translate 0 40
       
   257   drawText 0 0 "Width=6, FlatCap"
       
   258   translate 0 40
       
   259   drawText 0 0 "Width=6, SqareCap"
       
   260   translate 0 40
       
   261   drawText 0 0 "Width=6, RoundCap"
       
   262 end_block
       
   263 
       
   264 translate 0 80
       
   265 repeat_block width_and_caps_texts