tests/arthur/data/qps/cliprects.qps
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 
       
     2 
       
     3 translate 10 10 
       
     4 setPen NoPen
       
     5 
       
     6 begin_block clipping
       
     7 save
       
     8 
       
     9   setBrush 0x7f7fff
       
    10   save
       
    11     setClipRect 0 0 50 10 
       
    12     drawRect 0 0 100 100 
       
    13 
       
    14     setClipRect 0 0 10 50 IntersectClip
       
    15     setBrush black CrossPattern
       
    16     drawRect 0 0 100 100
       
    17   restore
       
    18 
       
    19   translate 100 0
       
    20   save 
       
    21     setClipRect 0 0 50 10
       
    22     drawRect 0 0 100 100
       
    23 
       
    24     setClipRect 0 0  10 50 ReplaceClip
       
    25     setBrush black CrossPattern
       
    26     drawRect 0 0 100 100 
       
    27   restore
       
    28 
       
    29   translate 100 0
       
    30   save 
       
    31     setClipRect 0 0 50 10
       
    32     drawRect 0 0 100 100
       
    33 
       
    34     setClipRect 0 0 10 50 UniteClip
       
    35     setBrush black CrossPattern
       
    36     drawRect 0 0 100 100
       
    37   restore
       
    38 
       
    39 restore
       
    40 end_block
       
    41 
       
    42 translate 300 0
       
    43 setRenderHint Antialiasing
       
    44 repeat_block clipping
       
    45 
       
    46 translate -300 100
       
    47 setRenderHint Antialiasing false
       
    48 scale 1.2 1.2
       
    49 repeat_block clipping
       
    50 
       
    51 translate 300 0
       
    52 setRenderHint Antialiasing
       
    53 setRenderHint SmoothPixmapTransform
       
    54 repeat_block clipping
       
    55 
       
    56 
       
    57