~ubuntu-branches/ubuntu/karmic/moon/karmic

« back to all changes in this revision

Viewing changes to test/xaml/test-shape-polyline-renderxorigin.xaml

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-14 12:01:08 UTC
  • Revision ID: james.westby@ubuntu.com-20090214120108-06539vb25vhbd8bn
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
 
2
        <Polyline Points="110,110 210,110 210,210 110,210" Stroke="#f00" RenderTransformOrigin="0,1"/>
 
3
        <Polyline Points="110,110 210,110 210,210 110,210" Stroke="#00f" >
 
4
           <Polyline.RenderTransform>
 
5
             <RotateTransform Angle="45"/>
 
6
           </Polyline.RenderTransform>
 
7
        </Polyline>
 
8
 
 
9
        <Polyline Points="210,110 310,110 310,210 210,210" Stroke="#f00" />
 
10
        <Polyline Points="210,110 310,110 310,210 210,210" Stroke="#00f">
 
11
           <Polyline.RenderTransform>
 
12
             <RotateTransform Angle="45" CenterX="220" CenterY="20"/>
 
13
           </Polyline.RenderTransform>
 
14
        </Polyline>
 
15
 
 
16
        <Polyline Points="110,210 210,210 210,310 110,310" Stroke="#f00" />
 
17
        <Polyline Points="110,210 210,210 210,310 110,310" Stroke="#00f" RenderTransformOrigin="1,1">
 
18
           <Polyline.RenderTransform>
 
19
             <RotateTransform Angle="-45"/>
 
20
           </Polyline.RenderTransform>
 
21
        </Polyline>
 
22
 
 
23
        <Polyline Points="210,210 310,210 310,310 210,310" Stroke="#f00" />
 
24
        <Polyline Points="210,210 310,210 310,310 210,310" Stroke="#00f" RenderTransformOrigin="1,1">
 
25
           <Polyline.RenderTransform>
 
26
             <RotateTransform Angle="-45" CenterX="150" CenterY="20"/>
 
27
           </Polyline.RenderTransform>
 
28
        </Polyline>
 
29
 
 
30
</Canvas>