From 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 20 Jul 2024 20:15:52 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 2) Signed-off-by: Michele Calgaro --- doc/html/tqfontmetrics.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/tqfontmetrics.html') diff --git a/doc/html/tqfontmetrics.html b/doc/html/tqfontmetrics.html index 8e6729f2c..0a36b04c7 100644 --- a/doc/html/tqfontmetrics.html +++ b/doc/html/tqfontmetrics.html @@ -127,7 +127,7 @@ and size(), to return the size of that rectangle. Constructs a font metrics object for font.

The font must be screen-compatible, i.e. a font you use when -drawing text in widgets or pixmaps, not TQPicture or TQPrinter. +drawing text in widgets or pixmaps, not TQPicture or TQPrinter.

The font metrics object holds the information for the font that is passed in the constructor at the time it is created, and is not updated if the font's attributes are changed later. @@ -161,7 +161,7 @@ value will be too small.

See also descent().

Examples: drawdemo/drawdemo.cpp and scrollview/scrollview.cpp. -

TQRect TQFontMetrics::boundingRect ( TQChar ch ) const +

TQRect TQFontMetrics::boundingRect ( TQChar ch ) const

Returns the rectangle that is covered by ink if the character specified by ch were to be drawn at the origin of the coordinate @@ -176,13 +176,13 @@ of the character. Use boundingRect(const width().

Example: xform/xform.cpp. -

TQRect TQFontMetrics::boundingRect ( const TQString & str, int len = -1 ) const +

TQRect TQFontMetrics::boundingRect ( const TQString & str, int len = -1 ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Returns the bounding rectangle that contains the first len characters of string str. -

TQRect TQFontMetrics::boundingRect ( int x, int y, int w, int h, int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const +

TQRect TQFontMetrics::boundingRect ( int x, int y, int w, int h, int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Returns the bounding rectangle of the first len characters of -- cgit v1.2.1