Skip to content
Browse files

Merge pull request #238 from carsonreinke/patch-1

Update docs for get_type_metrics
2 parents 8614f0c + 1a11838 commit 564f157b6e86274ad86337de53d9d461dd80d738 @vassilevsky vassilevsky committed Jan 26, 2016
Showing with 7 additions and 4 deletions.
  1. +7 −4 doc/draw.html
View
11 doc/draw.html
@@ -649,10 +649,13 @@ <h3 id="get_type_metrics">get_type_metrics</h3>
<h4>Description</h4>
<p>Returns information for a specific string if rendered on a
- image. The <code>get_multiline_type_metrics</code> method is
- the same as <code>get_type_metrics</code>, except the former
- returns the maximum height and width for multiple lines of
- text. (Text lines are separated by "\n" characters.)</p>
+ image. Metrics are derived from either the <a href="#attributes">
+ annotate attributes</a> or from the <a href="info.html">image
+ info attributes</a>, but not from any drawing primitive methods.
+ The <code>get_multiline_type_metrics</code> method is the same as
+ <code>get_type_metrics</code>, except the former returns the
+ maximum height and width for multiple lines of text. (Text lines
+ are separated by "\n" characters.)</p>
<p>The Magick++ documentation for its TypeMetric class provides
this useful additional information. (I've changed it a bit to

0 comments on commit 564f157

Please sign in to comment.
Something went wrong with that request. Please try again.