qt5base-lts/tests/auto/other/lancelot/scripts/paths.qps
aavit 03967c4f0b Adjust autotest files for raster engine to new default pen
Fix those test scripts that assumed cosmetic default pen, and
improve testing coverage of cosmetic vs non-cosmetic pens in general.
Ref. I04d910e9700baf7f13a8aac07a3633014bb9283e

Change-Id: I2bb3525c21a8e9c8dd1f16e7dcd225195df43c1b
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
2012-10-26 11:53:12 +02:00

50 lines
828 B
Plaintext

# Version: 1
setPen black 1
setBrush 7f7fff
setFont "arial" 12
drawText 10 330 "Non-Cosmetic"
drawText 10 730 "Cosmetic"
path_moveTo star 50 0
path_lineTo star 30 90
path_lineTo star 100 60
path_lineTo star 0 20
path_lineTo star 80 100
setFont "times" 50
path_addText text 0 50 "ABCD, 1234, abcd, #¤%&"
path_addRect rectncircle 0 0 75 75
path_addEllipse rectncircle 25 25 75 75
path_setFillRule rectncircle winding
path_moveTo curve 100 0
path_cubicTo curve 100 100 50 50 0 100
begin_block drawing
drawPath star
translate 100 0
drawPath rectncircle
translate 100 0
drawPath curve
translate -200 100
drawPath text
end_block
begin_block xform
save
translate 50 60
rotate 10
scale 1.0 0.7
repeat_block drawing
restore
end_block xform
setPen black 0
setBrush ff7f7f
translate 0 300
repeat_block drawing
repeat_block xform