title: wpf inkcanvas brush style
body: <p>I have Application with standard Inkcanvas. Standard Application looks like
  <a href="http://i.imgur.com/KZ3n31X.png" rel="nofollow">Figure 1.</a> and all application code (XAML) is here:</p>
  
  <pre><code>&lt;Window x:Class="WpfApplication18.MainWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      Title="MainWindow" Height="350" Width="525"&gt;
  &lt;Grid&gt;
      &lt;InkCanvas&gt;
          &lt;InkCanvas.DefaultDrawingAttributes&gt;
              &lt;DrawingAttributes x:Name="attribute" Width="40" Height="40" Color="BlueViolet" /&gt;
          &lt;/InkCanvas.DefaultDrawingAttributes&gt;
      &lt;/InkCanvas&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>
  
  <p>I am wondering how to create non standard Inkcanvas Brush with Image (Image Mask?) like this:
  <a href="http://i.imgur.com/9CmI6Ir.png" rel="nofollow">Figure 2</a>. I want to Paint with use of Inkcanvas and simple "background" image
  (jpg, png or whatever). Is there a simple way to make it? Can you give example with a code? </p>
  
  <p>In my application I want to paint on standard Inkcanvas and after that convert Inkcanvas selection to achieve something like this Figure 2. (after clicking on a button?) </p>