qt5base-lts/tests/auto/other/lancelot/scripts/pixmap_subpixel.qps

118 lines
2.7 KiB
Plaintext
Raw Normal View History

# Version: 1
# CheckVsReference: 5%
translate 50 50
# Pixmaps at 0.1 offset, unclipped
begin_block draw_pixmaps
save
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
drawPixmap border.png 0 0
translate 20.1 0.1
restore
end_block
# Tiled pixmaps at 0.1 offsets, unclipped
translate 0 50
begin_block draw_tiled
save
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
drawTiledPixmap border.png 0 0 16 16 0 0
translate 20.1 0.1
restore
end_block
path_moveTo clip 0 0
path_lineTo clip width 0
path_lineTo clip width 400
path_lineTo clip 0 height
setClipPath clip
translate 0 50
# Pixmaps at 0.1 offset, clipped
repeat_block draw_pixmaps
# Tiled pixmaps at 0.1 offsets...
translate 0 50
repeat_block draw_tiled