title: How can i exclude one PathGeometry form another one in Direct2d? CombineWithGeometry exclude mode does not work properly on combining PathGeometries
body: <p>I am trying to exclude one bezier curve from another one, but it only makes my lines wider. Here is the code:</p>
  
  <pre><code> ComPtr&lt;ID2D1GeometrySink&gt; pGeometrySink = nullptr;
   ComPtr&lt;ID2D1PathGeometry&gt; pathGeometry;
  
   DX::ThrowIfFailed(drawingContext-&gt;GetD2Factory()-&gt;CreatePathGeometry(&amp;pathGeometry));
   DX::ThrowIfFailed(pathGeometry-&gt;Open(&amp;pGeometrySink));
   path1-&gt;CombineWithGeometry(path2.Get(), D2D1_COMBINE_MODE_EXCLUDE,NULL,NULL, pGeometrySink.Get());
   pGeometrySink-&gt;Close();
   return pathGeometry;
  </code></pre>
  
  <p>Is there another way to do it?</p>