qt5base-lts/tests/arthur/data/qps/join_cap_styles.qps
Qt by Nokia 38be0d1383 Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:

http://qt.gitorious.org/qt/pages/GitIntroductionWithQt

If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.

Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
2011-04-27 12:05:43 +02:00

61 lines
974 B
Plaintext

setRenderHint Antialiasing
path_moveTo p 20 20
path_cubicTo p 100 20 100 180 180 100
path_lineTo p 20 180
path_lineTo p 180 20
setPen black 20 solidline roundcap roundjoin
drawPath p
setPen red
drawPath p
translate 200 0
setPen black 20 solidline roundcap miterjoin
drawPath p
setPen red
drawPath p
translate 200 0
setPen black 20 solidline roundcap beveljoin
drawPath p
setPen red
drawPath p
translate -400 200
setPen black 20 solidline squarecap roundjoin
drawPath p
setPen red
drawPath p
translate 200 0
setPen black 20 solidline squarecap miterjoin
drawPath p
setPen red
drawPath p
translate 200 0
setPen black 20 solidline squarecap beveljoin
drawPath p
setPen red
drawPath p
translate -400 200
setPen black 20 solidline flatcap roundjoin
drawPath p
setPen red
drawPath p
translate 200 0
setPen black 20 solidline flatcap miterjoin
drawPath p
setPen red
drawPath p
translate 200 0
setPen black 20 solidline flatcap beveljoin
drawPath p
setPen red
drawPath p