title: Draw rotated rectangle in opencv c++
body: <p>I want to draw a rotated rectangle in opencv with c++. I use <code>"rectangle"</code> function like bellow:</p>
  
  <pre><code>rectangle(RGBsrc, vertices[0], vertices[2], Scalar(0, 0, 0),  CV_FILLED, 8, 0);
  </code></pre>
  
  <p>but this function draw an rectangle with 0 angle. How can i draw rotated rectangle with special angle in opencv with c++?</p>