tests/arthur/data/qps/pixmap_subpixel.qps
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Wed, 21 Apr 2010 11:15:19 +0300
branchRCL_3
changeset 11 25a739ee40f4
parent 0 1918ee327afb
permissions -rw-r--r--
3a438a6e0b41f1ef657ef0e648d352db636204aa


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