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