summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqpen.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqpen.3qt')
-rw-r--r--doc/man/man3/tqpen.3qt14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqpen.3qt b/doc/man/man3/tqpen.3qt
index 410a03e8..fa631e8f 100644
--- a/doc/man/man3/tqpen.3qt
+++ b/doc/man/man3/tqpen.3qt
@@ -7,7 +7,7 @@
.ad l
.nh
.SH NAME
-QPen \- Defines how a QPainter should draw lines and outlines of shapes
+QPen \- Defines how a TQPainter should draw lines and outlines of shapes
.SH SYNOPSIS
\fC#include <ntqpen.h>\fR
.PP
@@ -83,7 +83,7 @@ Inherits Qt.
.br
.in -1c
.SH DESCRIPTION
-The QPen class defines how a QPainter should draw lines and outlines of shapes.
+The QPen class defines how a TQPainter should draw lines and outlines of shapes.
.PP
A pen has a style, width, color, cap style and join style.
.PP
@@ -93,15 +93,15 @@ When drawing 1 pixel wide diagonal lines you can either use a very fast algorith
.PP
The pen color defines the color of lines and text. The default line color is black. The TQColor documentation lists predefined colors.
.PP
-The cap style defines how the end points of lines are drawn. The join style defines how the joins between two lines are drawn when multiple connected lines are drawn (QPainter::drawPolyline() etc.). The cap and join styles only apply to wide lines, i.e. when the width is 1 or greater.
+The cap style defines how the end points of lines are drawn. The join style defines how the joins between two lines are drawn when multiple connected lines are drawn (TQPainter::drawPolyline() etc.). The cap and join styles only apply to wide lines, i.e. when the width is 1 or greater.
.PP
-Use the QBrush class to specify fill styles.
+Use the TQBrush class to specify fill styles.
.PP
Example:
.PP
.nf
.br
- QPainter painter;
+ TQPainter painter;
.br
QPen pen( red, 2 ); // red solid line, 2 pixels wide
.br
@@ -121,7 +121,7 @@ Example:
.PP
See the TQt::PenStyle enum type for a complete list of pen styles.
.PP
-With reference to the end points of lines, for wide (non-0-width) pens it depends on the cap style whether the end point is drawn or not. QPainter will try to make sure that the end point is drawn for 0-width pens, but this cannot be absolutely guaranteed because the underlying drawing engine is free to use any (typically accelerated) algorithm for drawing 0-width lines. On all tested systems, however, the end point of at least all non-diagonal lines are drawn.
+With reference to the end points of lines, for wide (non-0-width) pens it depends on the cap style whether the end point is drawn or not. TQPainter will try to make sure that the end point is drawn for 0-width pens, but this cannot be absolutely guaranteed because the underlying drawing engine is free to use any (typically accelerated) algorithm for drawing 0-width lines. On all tested systems, however, the end point of at least all non-diagonal lines are drawn.
.PP
A pen's color(), width(), style(), capStyle() and joinStyle() can be set in the constructor or later with setColor(), setWidth(), setStyle(), setCapStyle() and setJoinStyle(). Pens may also be compared and streamed.
.PP
@@ -131,7 +131,7 @@ A pen's color(), width(), style(), capStyle() and joinStyle() can be set in the
.PP
</center>
.PP
-See also QPainter, QPainter::setPen(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
+See also TQPainter, TQPainter::setPen(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QPen::QPen ()"
Constructs a default black solid line pen with 0 width, which renders lines 1 pixel wide (fast diagonals).