title: How to insert multiple lines of text into frame/image
body: <p>I have created a frame using C++ with OpenCV and want to insert few lines of text into it. </p>
  
  <p>The following code is used: </p>
  
  <pre><code>putText(frame, "My text here", cvPoint(30,30), 
      FONT_HERSHEY_COMPLEX_SMALL, 0.8, cvScalar(200,200,250), 1, CV_AA); 
  </code></pre>
  
  <p>But here, i want to write, assuming 2 separate lines, "hello" and "welcome". 
  The problem here is \n and endl are not working. 
  Also if possible to align the text to be middle of the frame. </p>
  
  <p>Thank you very much. </p>