You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.5 KiB
Plaintext

1 month ago
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfSketch"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" x:Class="WpfSketch.MainWindow"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<InkCanvas Name="ink" Canvas.Left="0" Canvas.Top="0" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Center" HorizontalAlignment="Center" Height="{Binding ElementName=img,Path=ActualHeight}" Width="{Binding ElementName=img,Path=ActualWidth}" >
<InkCanvas.DefaultDrawingAttributes>
<DrawingAttributes Color="#FFD32828" FitToCurve="True" Height="2.0031496062992127" IgnorePressure="True" IsHighlighter="False" StylusTip="Ellipse" StylusTipTransform="Identity" Width="2.0031496062992127"/>
</InkCanvas.DefaultDrawingAttributes>
<InkCanvas.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform />
<TranslateTransform/>
</TransformGroup>
</InkCanvas.RenderTransform>
<Image Name="img" VerticalAlignment="Center" Height="419" Stretch="UniformToFill" Margin="-308,-420,-394,1" HorizontalAlignment="Left" Width="702"/>
</InkCanvas>
</Window>