title: How to convert matrix to InpuArrayOfArrays in OpenCV?
body: <p>Suppose I have row of points </p>
  
  <pre><code>Mat_&lt;Point&gt; src(1,4);
  src &lt;&lt; Point(border,border), Point(border,h-border), Point(w-border,h-border), Point(w-border,h-border);
  </code></pre>
  
  <p>now I want to pass this row to <a href="http://docs.opencv.org/modules/core/doc/drawing_functions.html?highlight=polylines#void%20polylines%28InputOutputArray%20img,%20InputArrayOfArrays%20pts,%20bool%20isClosed,%20const%20Scalar&amp;%20color,%20int%20thickness,%20int%20lineType,%20int%20shift%29" rel="nofollow">polylines()</a> function which accepts <code>InputArrayOfArrays</code>. In my case it should be array of ONE array.</p>
  
  <p>How to convert row of points to this type?</p>