6c98fd2e6c
The Lancelot raster painting autotest assumed latin1 encoding of the QPS scripts files, while the script engine would import subscripts as UTF8. This fix standardizes on UTF8. Change-Id: I9e7c1ee7b6ffe77ff68edc8423f00dfb9ab3e95b Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
35 lines
600 B
Plaintext
35 lines
600 B
Plaintext
# Version: 1
|
|
|
|
setPen black
|
|
setBrush 7f7fff
|
|
|
|
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
|
|
|
|
translate 50 100
|
|
rotate 10
|
|
repeat_block drawing
|