title: Draw rectangle around text
body: <p>I need to draw rectangle around <code>text</code> on canvas. 
  Currently I am using this to calculate rectangle position: </p>
  
  <pre><code>Rect bounds = new Rect();
  paint.getTextBounds(getData().getText(), 0, getData().getText().length(), bounds);
  
  data.getBoundBox().left = start.x+bounds.left;
  data.getBoundBox().right = start.x+bounds.right;
  data.getBoundBox().top = start.y + bounds.top;
  data.getBoundBox().bottom = start.y+bounds.bottom;
  </code></pre>
  
  <p>Where start is coordinate of <code>text</code> baseline.
  But i got this: </p>
  
  <p><a href="https://dl.dropboxusercontent.com/u/29406527/Screenshot_2013-12-27-14-15-28.png" rel="nofollow">https://dl.dropboxusercontent.com/u/29406527/Screenshot_2013-12-27-14-15-28.png</a></p>
  
  <p>I tried things like <code>measureText</code>, but i got no difference.</p>