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

« back to all changes in this revision

Viewing changes to test/xaml/test-path-segments-collection.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
 
 
3
    <Path Stroke="Black" StrokeThickness="2">
 
4
        <Path.Data>
 
5
            <PathGeometry>
 
6
                <PathGeometry.Figures>
 
7
                    <PathFigure StartPoint="10,10">
 
8
                        <PathFigure.Segments>
 
9
                            <PathSegmentCollection>
 
10
                                <LineSegment Point="100,10" />
 
11
                                <LineSegment Point="100,100" />
 
12
                                <LineSegment Point="10,100" />
 
13
                            </PathSegmentCollection>
 
14
                        </PathFigure.Segments>
 
15
                    </PathFigure>
 
16
                </PathGeometry.Figures>
 
17
            </PathGeometry>
 
18
        </Path.Data>
 
19
    </Path>
 
20
 
 
21
    <Path Stroke="Red" StrokeThickness="2">
 
22
        <Path.Data>
 
23
            <PathGeometry>
 
24
                <PathGeometry.Figures>
 
25
                    <PathFigure StartPoint="30,30">
 
26
                        <PathFigure.Segments>
 
27
                            <LineSegment Point="130,30" />
 
28
                            <LineSegment Point="130,130" />
 
29
                            <LineSegment Point="30,130" />
 
30
                        </PathFigure.Segments>
 
31
                    </PathFigure>
 
32
                </PathGeometry.Figures>
 
33
            </PathGeometry>
 
34
        </Path.Data>
 
35
    </Path>
 
36
 
 
37
    <Path Stroke="Blue" StrokeThickness="2">
 
38
        <Path.Data>
 
39
            <PathGeometry>
 
40
                <PathGeometry.Figures>
 
41
                    <PathFigure StartPoint="50,50">
 
42
                        <PathFigure.Segments>
 
43
                            <LineSegment Point="150,50" />
 
44
                            <LineSegment Point="150,150" />
 
45
                            <LineSegment Point="50,150" />
 
46
                        </PathFigure.Segments>
 
47
                    </PathFigure>
 
48
                </PathGeometry.Figures>
 
49
            </PathGeometry>
 
50
        </Path.Data>
 
51
    </Path>
 
52
 
 
53
</Canvas>
 
 
b'\\ No newline at end of file'