title: WPF InkCanvas drawing width/height not consistent in different environments
body: <p>I have an InkCanvas control that is taking my whole screen. It takes either mouse or touch input for drawing. I have the most basic configuration of InkCanvas and it looks like this:</p>
  
  <pre><code>&lt;InkCanvas Grid.Row="2" x:Name="inkCanvas"&gt;
  &lt;/InkCanvas&gt;
  </code></pre>
  
  <p>I can draw strokes both using mouse and touch input. The behavior is consistent as far as stroke width/height are concerned (they are the same). However, when I try to draw on the same InkCanvas using my touch injection API (I inject touches into OS using Win32 Touch Functions), the strokes appear much thinner.</p>
  
  <p>I tried changing the drawing attributes on it by adding the following:</p>
  
  <pre><code>&lt;InkCanvas Grid.Row="2" x:Name="inkCanvas"&gt;
      &lt;InkCanvas.DefaultDrawingAttributes&gt;
          &lt;DrawingAttributes Width="10" Height="10"/&gt;
      &lt;/InkCanvas.DefaultDrawingAttributes&gt;
  &lt;/InkCanvas&gt;
  </code></pre>
  
  <p>After making this change the strokes drawn using touch injection proportionally grew in width and height. But once again they were much thinner compared to the mouse or direct touch input.</p>
  
  <p>My question is if anyone has played with InkCanvas using the Windows Touch Injection API and knows exactly why InkCanvas is behaving differently between Direct Touch and Injected Touch.</p>
  
  <p>Also, is there any other way to set InkCanvas strokes width and height except the way that I am doing?</p>