diff options
Diffstat (limited to 'doc/html/ntqfontmetrics.html')
-rw-r--r-- | doc/html/ntqfontmetrics.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/ntqfontmetrics.html b/doc/html/ntqfontmetrics.html index 2a3bd4859..157562728 100644 --- a/doc/html/ntqfontmetrics.html +++ b/doc/html/ntqfontmetrics.html @@ -172,17 +172,17 @@ will usually be empty. <p> Note that the rectangle usually extends both above and below the base line. <p> <b>Warning:</b> The width of the returned rectangle is not the advance width -of the character. Use <a href="#boundingRect">boundingRect</a>(const <a href="ntqstring.html">TQString</a> &) or <a href="#width">width</a>() instead. +of the character. Use <a href="#boundingRect">boundingRect</a>(const <a href="tqstring.html">TQString</a> &) or <a href="#width">width</a>() instead. <p> <p>See also <a href="#width">width</a>(). <p>Example: <a href="xform-example.html#x1225">xform/xform.cpp</a>. -<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="boundingRect-2"></a>TQFontMetrics::boundingRect ( const <a href="ntqstring.html">TQString</a> & str, int len = -1 ) const +<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="boundingRect-2"></a>TQFontMetrics::boundingRect ( const <a href="tqstring.html">TQString</a> & str, int len = -1 ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns the bounding rectangle that contains the first <em>len</em> characters of string <em>str</em>. -<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="boundingRect-3"></a>TQFontMetrics::boundingRect ( int x, int y, int w, int h, int flgs, const <a href="ntqstring.html">TQString</a> & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const +<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="boundingRect-3"></a>TQFontMetrics::boundingRect ( int x, int y, int w, int h, int flgs, const <a href="tqstring.html">TQString</a> & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns the bounding rectangle of the first <em>len</em> characters of @@ -232,7 +232,7 @@ rather than individual character heights. <p> The <em>intern</em> argument should not be used. <p> <p>See also <a href="#width">width</a>(), <a href="ntqpainter.html#boundingRect">TQPainter::boundingRect</a>(), and <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>. -<h3 class=fn>int <a name="charWidth"></a>TQFontMetrics::charWidth ( const <a href="ntqstring.html">TQString</a> & str, int pos ) const +<h3 class=fn>int <a name="charWidth"></a>TQFontMetrics::charWidth ( const <a href="tqstring.html">TQString</a> & str, int pos ) const </h3> Returns the width of the character at position <em>pos</em> in the string <em>str</em>. @@ -341,7 +341,7 @@ extend to the right of the <a href="#width">width</a>() of the character. <p> <p>See also <a href="#leftBearing">leftBearing</a>(), <a href="#minRightBearing">minRightBearing</a>(), and <a href="#width">width</a>(). <p>Example: <a href="qfd-example.html#x1993">qfd/fontdisplayer.cpp</a>. -<h3 class=fn><a href="ntqsize.html">TQSize</a> <a name="size"></a>TQFontMetrics::size ( int flgs, const <a href="ntqstring.html">TQString</a> & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const +<h3 class=fn><a href="ntqsize.html">TQSize</a> <a name="size"></a>TQFontMetrics::size ( int flgs, const <a href="tqstring.html">TQString</a> & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const </h3> Returns the size in pixels of the first <em>len</em> characters of <em>str</em>. <p> If <em>len</em> is negative (the default), the entire string is used. @@ -395,7 +395,7 @@ characters. <p> <p>See also <a href="#boundingRect">boundingRect</a>() and <a href="#charWidth">charWidth</a>(). <p>Examples: <a href="drawdemo-example.html#x1066">drawdemo/drawdemo.cpp</a>, <a href="hello-example.html#x1631">hello/hello.cpp</a>, <a href="movies-example.html#x496">movies/main.cpp</a>, <a href="qfd-example.html#x1994">qfd/fontdisplayer.cpp</a>, and <a href="scrollview-example.html#x621">scrollview/scrollview.cpp</a>. -<h3 class=fn>int <a name="width-2"></a>TQFontMetrics::width ( const <a href="ntqstring.html">TQString</a> & str, int len = -1 ) const +<h3 class=fn>int <a name="width-2"></a>TQFontMetrics::width ( const <a href="tqstring.html">TQString</a> & str, int len = -1 ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns the width of the first <em>len</em> characters of string <em>str</em>. |