summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqfontmetrics.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-07-20 20:15:52 +0900
committerMichele Calgaro <[email protected]>2024-07-21 23:04:19 +0900
commit1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch)
tree5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/man/man3/tqfontmetrics.3qt
parent14c414378d96f7463b989384f4a0e5dd76632b6d (diff)
downloadtqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.tar.gz
tqt3-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.zip
Rename graphics class nt* related files to equivalent tq* (part 2)
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqfontmetrics.3qt')
-rw-r--r--doc/man/man3/tqfontmetrics.3qt14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqfontmetrics.3qt b/doc/man/man3/tqfontmetrics.3qt
index fc5ff28c1..65aa43bc5 100644
--- a/doc/man/man3/tqfontmetrics.3qt
+++ b/doc/man/man3/tqfontmetrics.3qt
@@ -74,13 +74,13 @@ TQFontMetrics \- Font metrics information
.BI "int \fBcharWidth\fR ( const TQString & str, int pos ) const"
.br
.ti -1c
-.BI "QRect \fBboundingRect\fR ( const TQString & str, int len = -1 ) const"
+.BI "TQRect \fBboundingRect\fR ( const TQString & str, int len = -1 ) const"
.br
.ti -1c
-.BI "QRect \fBboundingRect\fR ( TQChar ch ) const"
+.BI "TQRect \fBboundingRect\fR ( TQChar ch ) const"
.br
.ti -1c
-.BI "QRect \fBboundingRect\fR ( 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"
+.BI "TQRect \fBboundingRect\fR ( 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"
.br
.ti -1c
.BI "TQSize \fBsize\fR ( int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const"
@@ -142,7 +142,7 @@ See also TQFont, TQFontInfo, TQFontDatabase, Graphics Classes, and Implicitly an
.SH "TQFontMetrics::TQFontMetrics ( const TQFont & font )"
Constructs a font metrics object for \fIfont\fR.
.PP
-The font must be screen-compatible, i.e. a font you use when drawing text in widgets or pixmaps, not QPicture or QPrinter.
+The font must be screen-compatible, i.e. a font you use when drawing text in widgets or pixmaps, not TQPicture or TQPrinter.
.PP
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.
.PP
@@ -164,7 +164,7 @@ See also descent().
.PP
Examples:
.)l drawdemo/drawdemo.cpp and scrollview/scrollview.cpp.
-.SH "QRect TQFontMetrics::boundingRect ( TQChar ch ) const"
+.SH "TQRect TQFontMetrics::boundingRect ( TQChar ch ) const"
Returns the rectangle that is covered by ink if the character specified by \fIch\fR were to be drawn at the origin of the coordinate system.
.PP
Note that the bounding rectangle may extend to the left of (0, 0), e.g. for italicized fonts, and that the text output may cover \fIall\fR pixels in the bounding rectangle. For a space character the rectangle will usually be empty.
@@ -176,11 +176,11 @@ Note that the rectangle usually extends both above and below the base line.
See also width().
.PP
Example: xform/xform.cpp.
-.SH "QRect TQFontMetrics::boundingRect ( const TQString & str, int len = -1 ) const"
+.SH "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.
.PP
Returns the bounding rectangle that contains the first \fIlen\fR characters of string \fIstr\fR.
-.SH "QRect 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"
+.SH "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.
.PP
Returns the bounding rectangle of the first \fIlen\fR characters of \fIstr\fR, which is the set of pixels the text would cover if drawn at (0, 0). The drawing, and hence the bounding rectangle, is constrained to the rectangle (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR).