tests/arthur/data/qps/pixmap_subpixel.qps
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 22 Jan 2010 10:32:13 +0200
changeset 1 ae9c8dab0e3e
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201001 Kit: 201003


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