<Page
    x:Class="SimpleCompass.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SimpleCompass"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    
    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Canvas HorizontalAlignment="Center"
                VerticalAlignment="Center">
            <Path Fill="Magenta"
                  Data="M -10 0 L 10 0, 10 -300, 0 -350, -10 -300 Z">
                <Path.RenderTransform>
                    <RotateTransform x:Name="magNorthRotate" />
                </Path.RenderTransform>
            </Path>

            <Path Name="trueNorthPath"
                  Fill="Blue"
                  Data="M -10 0 L 10 0, 10 -300, 0 -350, -10 -300 Z">
                <Path.RenderTransform>
                    <RotateTransform x:Name="trueNorthRotate" />
                </Path.RenderTransform>
            </Path>
        </Canvas>
    </Grid>
</Page>
