summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqpainter.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqpainter.3qt')
-rw-r--r--doc/man/man3/tqpainter.3qt328
1 files changed, 164 insertions, 164 deletions
diff --git a/doc/man/man3/tqpainter.3qt b/doc/man/man3/tqpainter.3qt
index a7789764..c0ec5fd5 100644
--- a/doc/man/man3/tqpainter.3qt
+++ b/doc/man/man3/tqpainter.3qt
@@ -46,7 +46,7 @@ Inherits Qt.
.BI "bool \fBisActive\fR () const"
.br
.ti -1c
-.BI "void \fBflush\fR ( const QRegion & region, CoordinateMode cm = CoordDevice )"
+.BI "void \fBflush\fR ( const TQRegion & region, CoordinateMode cm = CoordDevice )"
.br
.ti -1c
.BI "void \fBflush\fR ()"
@@ -70,10 +70,10 @@ Inherits Qt.
.BI "void \fBsetFont\fR ( const TQFont & font )"
.br
.ti -1c
-.BI "const QPen & \fBpen\fR () const"
+.BI "const TQPen & \fBpen\fR () const"
.br
.ti -1c
-.BI "void \fBsetPen\fR ( const QPen & pen )"
+.BI "void \fBsetPen\fR ( const TQPen & pen )"
.br
.ti -1c
.BI "void \fBsetPen\fR ( PenStyle style )"
@@ -94,7 +94,7 @@ Inherits Qt.
.BI "void \fBsetBrush\fR ( const TQColor & color )"
.br
.ti -1c
-.BI "QPoint pos () const \fI(obsolete)\fR"
+.BI "TQPoint pos () const \fI(obsolete)\fR"
.br
.ti -1c
.BI "const TQColor & \fBbackgroundColor\fR () const"
@@ -115,13 +115,13 @@ Inherits Qt.
.BI "void \fBsetRasterOp\fR ( RasterOp r )"
.br
.ti -1c
-.BI "const QPoint & \fBbrushOrigin\fR () const"
+.BI "const TQPoint & \fBbrushOrigin\fR () const"
.br
.ti -1c
.BI "void \fBsetBrushOrigin\fR ( int x, int y )"
.br
.ti -1c
-.BI "void \fBsetBrushOrigin\fR ( const QPoint & p )"
+.BI "void \fBsetBrushOrigin\fR ( const TQPoint & p )"
.br
.ti -1c
.BI "bool \fBhasViewXForm\fR () const"
@@ -133,19 +133,19 @@ Inherits Qt.
.BI "void \fBsetViewXForm\fR ( bool enable )"
.br
.ti -1c
-.BI "QRect \fBwindow\fR () const"
+.BI "TQRect \fBwindow\fR () const"
.br
.ti -1c
-.BI "void \fBsetWindow\fR ( const QRect & r )"
+.BI "void \fBsetWindow\fR ( const TQRect & r )"
.br
.ti -1c
.BI "void \fBsetWindow\fR ( int x, int y, int w, int h )"
.br
.ti -1c
-.BI "QRect \fBviewport\fR () const"
+.BI "TQRect \fBviewport\fR () const"
.br
.ti -1c
-.BI "void \fBsetViewport\fR ( const QRect & r )"
+.BI "void \fBsetViewport\fR ( const TQRect & r )"
.br
.ti -1c
.BI "void \fBsetViewport\fR ( int x, int y, int w, int h )"
@@ -154,10 +154,10 @@ Inherits Qt.
.BI "void \fBsetWorldXForm\fR ( bool enable )"
.br
.ti -1c
-.BI "const QWMatrix & \fBworldMatrix\fR () const"
+.BI "const TQWMatrix & \fBworldMatrix\fR () const"
.br
.ti -1c
-.BI "void \fBsetWorldMatrix\fR ( const QWMatrix & m, bool combine = FALSE )"
+.BI "void \fBsetWorldMatrix\fR ( const TQWMatrix & m, bool combine = FALSE )"
.br
.ti -1c
.BI "void saveWorldMatrix () \fI(obsolete)\fR"
@@ -181,28 +181,28 @@ Inherits Qt.
.BI "void \fBresetXForm\fR ()"
.br
.ti -1c
-.BI "QPoint \fBxForm\fR ( const QPoint & pv ) const"
+.BI "TQPoint \fBxForm\fR ( const TQPoint & pv ) const"
.br
.ti -1c
-.BI "QRect \fBxForm\fR ( const QRect & rv ) const"
+.BI "TQRect \fBxForm\fR ( const TQRect & rv ) const"
.br
.ti -1c
-.BI "QPointArray \fBxForm\fR ( const QPointArray & av ) const"
+.BI "TQPointArray \fBxForm\fR ( const TQPointArray & av ) const"
.br
.ti -1c
-.BI "QPointArray \fBxForm\fR ( const QPointArray & av, int index, int npoints ) const"
+.BI "TQPointArray \fBxForm\fR ( const TQPointArray & av, int index, int npoints ) const"
.br
.ti -1c
-.BI "QPoint \fBxFormDev\fR ( const QPoint & pd ) const"
+.BI "TQPoint \fBxFormDev\fR ( const TQPoint & pd ) const"
.br
.ti -1c
-.BI "QRect \fBxFormDev\fR ( const QRect & rd ) const"
+.BI "TQRect \fBxFormDev\fR ( const TQRect & rd ) const"
.br
.ti -1c
-.BI "QPointArray \fBxFormDev\fR ( const QPointArray & ad ) const"
+.BI "TQPointArray \fBxFormDev\fR ( const TQPointArray & ad ) const"
.br
.ti -1c
-.BI "QPointArray \fBxFormDev\fR ( const QPointArray & ad, int index, int npoints ) const"
+.BI "TQPointArray \fBxFormDev\fR ( const TQPointArray & ad, int index, int npoints ) const"
.br
.ti -1c
.BI "void \fBsetClipping\fR ( bool enable )"
@@ -211,49 +211,49 @@ Inherits Qt.
.BI "bool \fBhasClipping\fR () const"
.br
.ti -1c
-.BI "QRegion \fBclipRegion\fR ( CoordinateMode m = CoordDevice ) const"
+.BI "TQRegion \fBclipRegion\fR ( CoordinateMode m = CoordDevice ) const"
.br
.ti -1c
-.BI "void \fBsetClipRect\fR ( const QRect & r, CoordinateMode m = CoordDevice )"
+.BI "void \fBsetClipRect\fR ( const TQRect & r, CoordinateMode m = CoordDevice )"
.br
.ti -1c
.BI "void \fBsetClipRect\fR ( int x, int y, int w, int h, CoordinateMode m = CoordDevice )"
.br
.ti -1c
-.BI "void \fBsetClipRegion\fR ( const QRegion & rgn, CoordinateMode m = CoordDevice )"
+.BI "void \fBsetClipRegion\fR ( const TQRegion & rgn, CoordinateMode m = CoordDevice )"
.br
.ti -1c
.BI "void \fBdrawPoint\fR ( int x, int y )"
.br
.ti -1c
-.BI "void \fBdrawPoint\fR ( const QPoint & p )"
+.BI "void \fBdrawPoint\fR ( const TQPoint & p )"
.br
.ti -1c
-.BI "void \fBdrawPoints\fR ( const QPointArray & a, int index = 0, int npoints = -1 )"
+.BI "void \fBdrawPoints\fR ( const TQPointArray & a, int index = 0, int npoints = -1 )"
.br
.ti -1c
.BI "void moveTo ( int x, int y ) \fI(obsolete)\fR"
.br
.ti -1c
-.BI "void moveTo ( const QPoint & p ) \fI(obsolete)\fR"
+.BI "void moveTo ( const TQPoint & p ) \fI(obsolete)\fR"
.br
.ti -1c
.BI "void lineTo ( int x, int y ) \fI(obsolete)\fR"
.br
.ti -1c
-.BI "void lineTo ( const QPoint & p ) \fI(obsolete)\fR"
+.BI "void lineTo ( const TQPoint & p ) \fI(obsolete)\fR"
.br
.ti -1c
.BI "void \fBdrawLine\fR ( int x1, int y1, int x2, int y2 )"
.br
.ti -1c
-.BI "void \fBdrawLine\fR ( const QPoint & p1, const QPoint & p2 )"
+.BI "void \fBdrawLine\fR ( const TQPoint & p1, const TQPoint & p2 )"
.br
.ti -1c
.BI "void \fBdrawRect\fR ( int x, int y, int w, int h )"
.br
.ti -1c
-.BI "void \fBdrawRect\fR ( const QRect & r )"
+.BI "void \fBdrawRect\fR ( const TQRect & r )"
.br
.ti -1c
.BI "void \fBdrawWinFocusRect\fR ( int x, int y, int w, int h )"
@@ -262,109 +262,109 @@ Inherits Qt.
.BI "void \fBdrawWinFocusRect\fR ( int x, int y, int w, int h, const TQColor & bgColor )"
.br
.ti -1c
-.BI "void \fBdrawWinFocusRect\fR ( const QRect & r )"
+.BI "void \fBdrawWinFocusRect\fR ( const TQRect & r )"
.br
.ti -1c
-.BI "void \fBdrawWinFocusRect\fR ( const QRect & r, const TQColor & bgColor )"
+.BI "void \fBdrawWinFocusRect\fR ( const TQRect & r, const TQColor & bgColor )"
.br
.ti -1c
.BI "void \fBdrawRoundRect\fR ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 )"
.br
.ti -1c
-.BI "void \fBdrawRoundRect\fR ( const QRect & r, int xRnd = 25, int yRnd = 25 )"
+.BI "void \fBdrawRoundRect\fR ( const TQRect & r, int xRnd = 25, int yRnd = 25 )"
.br
.ti -1c
.BI "void \fBdrawEllipse\fR ( int x, int y, int w, int h )"
.br
.ti -1c
-.BI "void \fBdrawEllipse\fR ( const QRect & r )"
+.BI "void \fBdrawEllipse\fR ( const TQRect & r )"
.br
.ti -1c
.BI "void \fBdrawArc\fR ( int x, int y, int w, int h, int a, int alen )"
.br
.ti -1c
-.BI "void \fBdrawArc\fR ( const QRect & r, int a, int alen )"
+.BI "void \fBdrawArc\fR ( const TQRect & r, int a, int alen )"
.br
.ti -1c
.BI "void \fBdrawPie\fR ( int x, int y, int w, int h, int a, int alen )"
.br
.ti -1c
-.BI "void \fBdrawPie\fR ( const QRect & r, int a, int alen )"
+.BI "void \fBdrawPie\fR ( const TQRect & r, int a, int alen )"
.br
.ti -1c
.BI "void \fBdrawChord\fR ( int x, int y, int w, int h, int a, int alen )"
.br
.ti -1c
-.BI "void \fBdrawChord\fR ( const QRect & r, int a, int alen )"
+.BI "void \fBdrawChord\fR ( const TQRect & r, int a, int alen )"
.br
.ti -1c
-.BI "void \fBdrawLineSegments\fR ( const QPointArray & a, int index = 0, int nlines = -1 )"
+.BI "void \fBdrawLineSegments\fR ( const TQPointArray & a, int index = 0, int nlines = -1 )"
.br
.ti -1c
-.BI "void \fBdrawPolyline\fR ( const QPointArray & a, int index = 0, int npoints = -1 )"
+.BI "void \fBdrawPolyline\fR ( const TQPointArray & a, int index = 0, int npoints = -1 )"
.br
.ti -1c
-.BI "void \fBdrawPolygon\fR ( const QPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )"
+.BI "void \fBdrawPolygon\fR ( const TQPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )"
.br
.ti -1c
-.BI "void \fBdrawConvexPolygon\fR ( const QPointArray & pa, int index = 0, int npoints = -1 )"
+.BI "void \fBdrawConvexPolygon\fR ( const TQPointArray & pa, int index = 0, int npoints = -1 )"
.br
.ti -1c
-.BI "void \fBdrawCubicBezier\fR ( const QPointArray & a, int index = 0 )"
+.BI "void \fBdrawCubicBezier\fR ( const TQPointArray & a, int index = 0 )"
.br
.ti -1c
-.BI "void \fBdrawPixmap\fR ( int x, int y, const QPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 )"
+.BI "void \fBdrawPixmap\fR ( int x, int y, const TQPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 )"
.br
.ti -1c
-.BI "void \fBdrawPixmap\fR ( const QPoint & p, const QPixmap & pm, const QRect & sr )"
+.BI "void \fBdrawPixmap\fR ( const TQPoint & p, const TQPixmap & pm, const TQRect & sr )"
.br
.ti -1c
-.BI "void \fBdrawPixmap\fR ( const QPoint & p, const QPixmap & pm )"
+.BI "void \fBdrawPixmap\fR ( const TQPoint & p, const TQPixmap & pm )"
.br
.ti -1c
-.BI "void \fBdrawPixmap\fR ( const QRect & r, const QPixmap & pm )"
+.BI "void \fBdrawPixmap\fR ( const TQRect & r, const TQPixmap & pm )"
.br
.ti -1c
.BI "void \fBdrawImage\fR ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )"
.br
.ti -1c
-.BI "void \fBdrawImage\fR ( const QPoint &, const TQImage &, const QRect & sr, int conversionFlags = 0 )"
+.BI "void \fBdrawImage\fR ( const TQPoint &, const TQImage &, const TQRect & sr, int conversionFlags = 0 )"
.br
.ti -1c
-.BI "void \fBdrawImage\fR ( const QPoint & p, const TQImage & i, int conversion_flags = 0 )"
+.BI "void \fBdrawImage\fR ( const TQPoint & p, const TQImage & i, int conversion_flags = 0 )"
.br
.ti -1c
-.BI "void \fBdrawImage\fR ( const QRect & r, const TQImage & i )"
+.BI "void \fBdrawImage\fR ( const TQRect & r, const TQImage & i )"
.br
.ti -1c
-.BI "void \fBdrawTiledPixmap\fR ( int x, int y, int w, int h, const QPixmap & pixmap, int sx = 0, int sy = 0 )"
+.BI "void \fBdrawTiledPixmap\fR ( int x, int y, int w, int h, const TQPixmap & pixmap, int sx = 0, int sy = 0 )"
.br
.ti -1c
-.BI "void \fBdrawTiledPixmap\fR ( const QRect & r, const QPixmap & pm, const QPoint & sp )"
+.BI "void \fBdrawTiledPixmap\fR ( const TQRect & r, const TQPixmap & pm, const TQPoint & sp )"
.br
.ti -1c
-.BI "void \fBdrawTiledPixmap\fR ( const QRect & r, const QPixmap & pm )"
+.BI "void \fBdrawTiledPixmap\fR ( const TQRect & r, const TQPixmap & pm )"
.br
.ti -1c
-.BI "void drawPicture ( const QPicture & pic ) \fI(obsolete)\fR"
+.BI "void drawPicture ( const TQPicture & pic ) \fI(obsolete)\fR"
.br
.ti -1c
-.BI "void \fBdrawPicture\fR ( int x, int y, const QPicture & pic )"
+.BI "void \fBdrawPicture\fR ( int x, int y, const TQPicture & pic )"
.br
.ti -1c
-.BI "void \fBdrawPicture\fR ( const QPoint & p, const QPicture & pic )"
+.BI "void \fBdrawPicture\fR ( const TQPoint & p, const TQPicture & pic )"
.br
.ti -1c
.BI "void \fBfillRect\fR ( int x, int y, int w, int h, const TQBrush & brush )"
.br
.ti -1c
-.BI "void \fBfillRect\fR ( const QRect & r, const TQBrush & brush )"
+.BI "void \fBfillRect\fR ( const TQRect & r, const TQBrush & brush )"
.br
.ti -1c
.BI "void \fBeraseRect\fR ( int x, int y, int w, int h )"
.br
.ti -1c
-.BI "void \fBeraseRect\fR ( const QRect & r )"
+.BI "void \fBeraseRect\fR ( const TQRect & r )"
.br
.ti -1c
.BI "enum \fBTextDirection\fR { Auto, RTL, LTR }"
@@ -373,25 +373,25 @@ Inherits Qt.
.BI "void \fBdrawText\fR ( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto )"
.br
.ti -1c
-.BI "void \fBdrawText\fR ( const QPoint &, const TQString &, int len = -1, TextDirection dir = Auto )"
+.BI "void \fBdrawText\fR ( const TQPoint &, const TQString &, int len = -1, TextDirection dir = Auto )"
.br
.ti -1c
.BI "void \fBdrawText\fR ( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto )"
.br
.ti -1c
-.BI "void \fBdrawText\fR ( const QPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )"
+.BI "void \fBdrawText\fR ( const TQPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )"
.br
.ti -1c
-.BI "void \fBdrawText\fR ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QRect * br = 0, TQTextParag ** internal = 0 )"
+.BI "void \fBdrawText\fR ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQRect * br = 0, TQTextParag ** internal = 0 )"
.br
.ti -1c
-.BI "void \fBdrawText\fR ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, TQTextParag ** internal = 0 )"
+.BI "void \fBdrawText\fR ( const TQRect & r, int tf, const TQString & str, int len = -1, TQRect * brect = 0, TQTextParag ** internal = 0 )"
.br
.ti -1c
-.BI "QRect \fBboundingRect\fR ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )"
+.BI "TQRect \fBboundingRect\fR ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )"
.br
.ti -1c
-.BI "QRect \fBboundingRect\fR ( const QRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )"
+.BI "TQRect \fBboundingRect\fR ( const TQRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )"
.br
.ti -1c
.BI "int \fBtabStops\fR () const"
@@ -508,11 +508,11 @@ save() saves all of these settings on an internal stack, restore() pops them bac
.PP
The core functionality of TQPainter is drawing, and there are functions to draw most primitives: drawPoint(), drawPoints(), drawLine(), drawRect(), drawWinFocusRect(), drawRoundRect(), drawEllipse(), drawArc(), drawPie(), drawChord(), drawLineSegments(), drawPolyline(), drawPolygon(), drawConvexPolygon() and drawCubicBezier(). All of these functions take integer coordinates; there are no floating-point versions since we want drawing to be as fast as possible.
.PP
-There are functions to draw pixmaps/images, namely drawPixmap(), drawImage() and drawTiledPixmap(). drawPixmap() and drawImage() produce the same result, except that drawPixmap() is faster on-screen and drawImage() faster and sometimes better on QPrinter and QPicture.
+There are functions to draw pixmaps/images, namely drawPixmap(), drawImage() and drawTiledPixmap(). drawPixmap() and drawImage() produce the same result, except that drawPixmap() is faster on-screen and drawImage() faster and sometimes better on TQPrinter and TQPicture.
.PP
Text drawing is done using drawText(), and when you need fine-grained positioning, boundingRect() tells you where a given drawText() command would draw.
.PP
-There is a drawPicture() function that draws the contents of an entire QPicture using this painter. drawPicture() is the only function that disregards all the painter's settings: the QPicture has its own settings.
+There is a drawPicture() function that draws the contents of an entire TQPicture using this painter. drawPicture() is the only function that disregards all the painter's settings: the TQPicture has its own settings.
.PP
Normally, the TQPainter operates on the device's own coordinate system (usually pixels), but TQPainter has good support for coordinate transformation. See The Coordinate System for a more general overview and a simple example.
.PP
@@ -534,7 +534,7 @@ setTabStops() and setTabArray() can change where the tab stops are, but these ar
.PP
\fBWarning:\fR Note that TQPainter does not attempt to work around coordinate limitations in the underlying window system. Some platforms may behave incorrectly with coordinates as small as +/-4000.
.PP
-See also TQPaintDevice, TQWidget, QPixmap, QPrinter, QPicture, Application Walkthrough, Coordinate System Overview, Graphics Classes, and Image Processing Classes.
+See also TQPaintDevice, TQWidget, TQPixmap, TQPrinter, TQPicture, Application Walkthrough, Coordinate System Overview, Graphics Classes, and Image Processing Classes.
.SS "Member Type Documentation"
.SH "TQPainter::CoordinateMode"
.TP
@@ -627,7 +627,7 @@ The errors that can occur are serious problems, such as these:
p->begin( 0 ); // impossible - paint device cannot be 0
.br
.br
- QPixmap pm( 0, 0 );
+ TQPixmap pm( 0, 0 );
.br
p->begin( pm ); // impossible - pm.isNull();
.br
@@ -675,7 +675,7 @@ Example:
.br
{
.br
- QPixmap pm(size());
+ TQPixmap pm(size());
.br
TQPainter p;
.br
@@ -692,7 +692,7 @@ Example:
.fi
.PP
See also end().
-.SH "QRect TQPainter::boundingRect ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )"
+.SH "TQRect TQPainter::boundingRect ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )"
Returns the bounding rectangle of the aligned text that would be printed with the corresponding drawText() function using the first \fIlen\fR characters of the string if \fIlen\fR is > -1, or the whole of the string if \fIlen\fR is -1. The drawing, and hence the bounding rectangle, is constrained to the rectangle that begins at point \fI(x, y)\fR with width \fIw\fR and hight \fIh\fR, or to the rectangle required to draw the text, whichever is the larger.
.PP
The \fIflags\fR argument is the bitwise OR of the following flags: <center>.nf
@@ -709,7 +709,7 @@ If several of the horizontal or several of the vertical alignment flags are set,
The \fIintern\fR parameter should not be used.
.PP
See also TQt::TextFlags.
-.SH "QRect TQPainter::boundingRect ( const QRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )"
+.SH "TQRect TQPainter::boundingRect ( const TQRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the bounding rectangle of the aligned text that would be printed with the corresponding drawText() function using the first \fIlen\fR characters from \fIstr\fR if \fIlen\fR is > -1, or the whole of \fIstr\fR if \fIlen\fR is -1. The drawing, and hence the bounding rectangle, is constrained to the rectangle \fIr\fR, or to the rectangle required to draw the text, whichever is the larger.
@@ -724,11 +724,11 @@ See also TQPainter::setBrush().
.PP
Examples:
.)l themes/metal.cpp and themes/wood.cpp.
-.SH "const QPoint & TQPainter::brushOrigin () const"
+.SH "const TQPoint & TQPainter::brushOrigin () const"
Returns the brush origin currently set.
.PP
See also setBrushOrigin().
-.SH "QRegion TQPainter::clipRegion ( CoordinateMode m = CoordDevice ) const"
+.SH "TQRegion TQPainter::clipRegion ( CoordinateMode m = CoordDevice ) const"
Returns the currently set clip region. Note that the clip region is given in physical device coordinates and \fInot\fR subject to any coordinate transformation if \fIm\fR is equal to CoordDevice (the default). If \fIm\fR equals CoordPainter the returned region is in model coordinates.
.PP
See also setClipRegion(), setClipRect(), setClipping(), and TQPainter::CoordinateMode.
@@ -757,7 +757,7 @@ Example:
.fi
.PP
See also drawPie() and drawChord().
-.SH "void TQPainter::drawArc ( const QRect & r, int a, int alen )"
+.SH "void TQPainter::drawArc ( const TQRect & r, int a, int alen )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the arc that fits inside the rectangle \fIr\fR with start angle \fIa\fR and arc length \fIalen\fR.
@@ -769,11 +769,11 @@ The chord is filled with the current brush().
The angles \fIa\fR and \fIalen\fR are 1/16th of a degree, i.e. a full circle equals 5760 (16*360). Positive values of \fIa\fR and \fIalen\fR mean counter-clockwise while negative values mean the clockwise direction. Zero degrees is at the 3 o'clock position.
.PP
See also drawArc() and drawPie().
-.SH "void TQPainter::drawChord ( const QRect & r, int a, int alen )"
+.SH "void TQPainter::drawChord ( const TQRect & r, int a, int alen )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws a chord that fits inside the rectangle \fIr\fR with start angle \fIa\fR and arc length \fIalen\fR.
-.SH "void TQPainter::drawConvexPolygon ( const QPointArray & pa, int index = 0, int npoints = -1 )"
+.SH "void TQPainter::drawConvexPolygon ( const TQPointArray & pa, int index = 0, int npoints = -1 )"
Draws the convex polygon defined by the \fInpoints\fR points in \fIpa\fR starting at \fIpa[index]\fR (\fIindex\fR defaults to 0).
.PP
If the supplied polygon is not convex, the results are undefined.
@@ -783,7 +783,7 @@ On some platforms (e.g. X Window), this is faster than drawPolygon().
\fBWarning:\fR On X11, coordinates that do not fit into 16-bit signed values are truncated. This limitation is expected to go away in TQt 4.
.PP
Example: aclock/aclock.cpp.
-.SH "void TQPainter::drawCubicBezier ( const QPointArray & a, int index = 0 )"
+.SH "void TQPainter::drawCubicBezier ( const TQPointArray & a, int index = 0 )"
Draws a cubic Bezier curve defined by the control points in \fIa\fR, starting at \fIa[index]\fR (\fIindex\fR defaults to 0).
.PP
Control points after \fIa[index + 3]\fR are ignored. Nothing happens if there aren't enough control points.
@@ -794,25 +794,25 @@ Draws an ellipse with center at \fI(x + w/2, y + h/2)\fR and size \fI(w, h)\fR.
.PP
Examples:
.)l drawdemo/drawdemo.cpp, multiple/ax2.h, picture/picture.cpp, and tictac/tictac.cpp.
-.SH "void TQPainter::drawEllipse ( const QRect & r )"
+.SH "void TQPainter::drawEllipse ( const TQRect & r )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the ellipse that fits inside rectangle \fIr\fR.
.SH "void TQPainter::drawImage ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )"
Draws at (\fIx\fR, \fIy\fR) the \fIsw\fR by \fIsh\fR area of pixels from (\fIsx\fR, \fIsy\fR) in \fIimage\fR, using \fIconversionFlags\fR if the image needs to be converted to a pixmap. The default value for \fIconversionFlags\fR is 0; see convertFromImage() for information about what other values do.
.PP
-This function may convert \fIimage\fR to a pixmap and then draw it, if device() is a QPixmap or a TQWidget, or else draw it directly, if device() is a QPrinter or QPicture.
+This function may convert \fIimage\fR to a pixmap and then draw it, if device() is a TQPixmap or a TQWidget, or else draw it directly, if device() is a TQPrinter or TQPicture.
.PP
-Currently alpha masks of the image are ignored when painting on a QPrinter.
+Currently alpha masks of the image are ignored when painting on a TQPrinter.
.PP
-See also drawPixmap() and QPixmap::convertFromImage().
+See also drawPixmap() and TQPixmap::convertFromImage().
.PP
Example: canvas/canvas.cpp.
-.SH "void TQPainter::drawImage ( const QPoint &, const TQImage &, const QRect & sr, int conversionFlags = 0 )"
+.SH "void TQPainter::drawImage ( const TQPoint &, const TQImage &, const TQRect & sr, int conversionFlags = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the rectangle \fIsr\fR from the image at the given point.
-.SH "void TQPainter::drawImage ( const QPoint & p, const TQImage & i, int conversion_flags = 0 )"
+.SH "void TQPainter::drawImage ( const TQPoint & p, const TQImage & i, int conversion_flags = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the image \fIi\fR at point \fIp\fR.
@@ -820,7 +820,7 @@ Draws the image \fIi\fR at point \fIp\fR.
If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen.
.PP
See also TQt::ImageConversionFlags.
-.SH "void TQPainter::drawImage ( const QRect & r, const TQImage & i )"
+.SH "void TQPainter::drawImage ( const TQRect & r, const TQImage & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the image \fIi\fR into the rectangle \fIr\fR. The image will be scaled to fit the rectangle if image and rectangle dimensions differ.
@@ -831,30 +831,30 @@ See also pen().
.PP
Examples:
.)l aclock/aclock.cpp, drawlines/connect.cpp, progress/progress.cpp, splitter/splitter.cpp, themes/metal.cpp, and themes/wood.cpp.
-.SH "void TQPainter::drawLine ( const QPoint & p1, const QPoint & p2 )"
+.SH "void TQPainter::drawLine ( const TQPoint & p1, const TQPoint & p2 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws a line from point \fIp1\fR to point \fIp2\fR.
-.SH "void TQPainter::drawLineSegments ( const QPointArray & a, int index = 0, int nlines = -1 )"
+.SH "void TQPainter::drawLineSegments ( const TQPointArray & a, int index = 0, int nlines = -1 )"
Draws \fInlines\fR separate lines from points defined in \fIa\fR, starting at \fIa[index]\fR (\fIindex\fR defaults to 0). If \fInlines\fR is -1 (the default) all points until the end of the array are used (i.e. (a.size()-index)/2 lines are drawn).
.PP
Draws the 1st line from \fIa[index]\fR to \fIa[index+1]\fR. Draws the 2nd line from \fIa[index+2]\fR to \fIa[index+3]\fR etc.
.PP
\fBWarning:\fR On X11, coordinates that do not fit into 16-bit signed values are truncated. This limitation is expected to go away in TQt 4.
.PP
-See also drawPolyline(), drawPolygon(), and QPen.
-.SH "void TQPainter::drawPicture ( int x, int y, const QPicture & pic )"
+See also drawPolyline(), drawPolygon(), and TQPen.
+.SH "void TQPainter::drawPicture ( int x, int y, const TQPicture & pic )"
Replays the picture \fIpic\fR translated by (\fIx\fR, \fIy\fR).
.PP
-This function does exactly the same as QPicture::play() when called with (\fIx\fR, \fIy\fR) = (0, 0).
+This function does exactly the same as TQPicture::play() when called with (\fIx\fR, \fIy\fR) = (0, 0).
.PP
Examples:
.)l picture/picture.cpp and xform/xform.cpp.
-.SH "void TQPainter::drawPicture ( const QPicture & pic )"
+.SH "void TQPainter::drawPicture ( const TQPicture & pic )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Use one of the other TQPainter::drawPicture() functions with a (0, 0) offset instead.
-.SH "void TQPainter::drawPicture ( const QPoint & p, const QPicture & pic )"
+.SH "void TQPainter::drawPicture ( const TQPoint & p, const TQPicture & pic )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws picture \fIpic\fR at point \fIp\fR.
@@ -869,53 +869,53 @@ See also drawArc() and drawChord().
.PP
Examples:
.)l drawdemo/drawdemo.cpp, grapher/grapher.cpp, t10/cannon.cpp, and t9/cannon.cpp.
-.SH "void TQPainter::drawPie ( const QRect & r, int a, int alen )"
+.SH "void TQPainter::drawPie ( const TQRect & r, int a, int alen )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws a pie segment that fits inside the rectangle \fIr\fR with start angle \fIa\fR and arc length \fIalen\fR.
-.SH "void TQPainter::drawPixmap ( int x, int y, const QPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 )"
+.SH "void TQPainter::drawPixmap ( int x, int y, const TQPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 )"
Draws a pixmap at \fI(x, y)\fR by copying a part of \fIpixmap\fR into the paint device.
.PP
\fI(x, y)\fR specifies the top-left point in the paint device that is to be drawn onto. \fI(sx, sy)\fR specifies the top-left point in \fIpixmap\fR that is to be drawn. The default is (0, 0).
.PP
\fI(sw, sh)\fR specifies the size of the pixmap that is to be drawn. The default, (-1, -1), means all the way to the bottom right of the pixmap.
.PP
-Currently the mask of the pixmap or it's alpha channel are ignored when painting on a QPrinter.
+Currently the mask of the pixmap or it's alpha channel are ignored when painting on a TQPrinter.
.PP
-See also bitBlt() and QPixmap::setMask().
+See also bitBlt() and TQPixmap::setMask().
.PP
Examples:
.)l grapher/grapher.cpp, picture/picture.cpp, tqdir/tqdir.cpp, qmag/qmag.cpp, showimg/showimg.cpp, t10/cannon.cpp, and xform/xform.cpp.
-.SH "void TQPainter::drawPixmap ( const QPoint & p, const QPixmap & pm, const QRect & sr )"
+.SH "void TQPainter::drawPixmap ( const TQPoint & p, const TQPixmap & pm, const TQRect & sr )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the rectangle \fIsr\fR of pixmap \fIpm\fR with its origin at point \fIp\fR.
-.SH "void TQPainter::drawPixmap ( const QPoint & p, const QPixmap & pm )"
+.SH "void TQPainter::drawPixmap ( const TQPoint & p, const TQPixmap & pm )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the pixmap \fIpm\fR with its origin at point \fIp\fR.
-.SH "void TQPainter::drawPixmap ( const QRect & r, const QPixmap & pm )"
+.SH "void TQPainter::drawPixmap ( const TQRect & r, const TQPixmap & pm )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the pixmap \fIpm\fR into the rectangle \fIr\fR. The pixmap is scaled to fit the rectangle, if image and rectangle size disagree.
.SH "void TQPainter::drawPoint ( int x, int y )"
Draws/plots a single point at \fI(x, y)\fR using the current pen.
.PP
-See also QPen.
+See also TQPen.
.PP
Examples:
.)l desktop/desktop.cpp and drawlines/connect.cpp.
-.SH "void TQPainter::drawPoint ( const QPoint & p )"
+.SH "void TQPainter::drawPoint ( const TQPoint & p )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the point \fIp\fR.
-.SH "void TQPainter::drawPoints ( const QPointArray & a, int index = 0, int npoints = -1 )"
+.SH "void TQPainter::drawPoints ( const TQPointArray & a, int index = 0, int npoints = -1 )"
Draws/plots an array of points, \fIa\fR, using the current pen.
.PP
If \fIindex\fR is non-zero (the default is zero) only points from \fIindex\fR are drawn. If \fInpoints\fR is negative (the default) the rest of the points from \fIindex\fR are drawn. If \fInpoints\fR is zero or greater, \fInpoints\fR points are drawn.
.PP
\fBWarning:\fR On X11, coordinates that do not fit into 16-bit signed values are truncated. This limitation is expected to go away in TQt 4.
-.SH "void TQPainter::drawPolygon ( const QPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )"
+.SH "void TQPainter::drawPolygon ( const TQPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )"
Draws the polygon defined by the \fInpoints\fR points in \fIa\fR starting at \fIa[index]\fR. (\fIindex\fR defaults to 0.)
.PP
If \fInpoints\fR is -1 (the default) all points until the end of the array are used (i.e. a.size()-index line segments define the polygon).
@@ -926,29 +926,29 @@ The polygon is filled with the current brush(). If \fIwinding\fR is TRUE, the po
.PP
\fBWarning:\fR On X11, coordinates that do not fit into 16-bit signed values are truncated. This limitation is expected to go away in TQt 4.
.PP
-See also drawLineSegments(), drawPolyline(), and QPen.
+See also drawLineSegments(), drawPolyline(), and TQPen.
.PP
Examples:
.)l desktop/desktop.cpp and picture/picture.cpp.
-.SH "void TQPainter::drawPolyline ( const QPointArray & a, int index = 0, int npoints = -1 )"
+.SH "void TQPainter::drawPolyline ( const TQPointArray & a, int index = 0, int npoints = -1 )"
Draws the polyline defined by the \fInpoints\fR points in \fIa\fR starting at \fIa[index]\fR. (\fIindex\fR defaults to 0.)
.PP
If \fInpoints\fR is -1 (the default) all points until the end of the array are used (i.e. a.size()-index-1 line segments are drawn).
.PP
\fBWarning:\fR On X11, coordinates that do not fit into 16-bit signed values are truncated. This limitation is expected to go away in TQt 4.
.PP
-See also drawLineSegments(), drawPolygon(), and QPen.
+See also drawLineSegments(), drawPolygon(), and TQPen.
.PP
Examples:
.)l scribble/scribble.cpp and themes/metal.cpp.
.SH "void TQPainter::drawRect ( int x, int y, int w, int h )"
Draws a rectangle with upper left corner at \fI(x, y)\fR and with width \fIw\fR and height \fIh\fR.
.PP
-See also QPen and drawRoundRect().
+See also TQPen and drawRoundRect().
.PP
Examples:
.)l drawdemo/drawdemo.cpp, picture/picture.cpp, t10/cannon.cpp, t11/cannon.cpp, t9/cannon.cpp, tooltip/tooltip.cpp, and trivial/trivial.cpp.
-.SH "void TQPainter::drawRect ( const QRect & r )"
+.SH "void TQPainter::drawRect ( const TQRect & r )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the rectangle \fIr\fR.
@@ -959,15 +959,15 @@ The \fIxRnd\fR and \fIyRnd\fR arguments specify how rounded the corners should b
.PP
The width and height include all of the drawn lines.
.PP
-See also drawRect() and QPen.
+See also drawRect() and TQPen.
.PP
Examples:
.)l drawdemo/drawdemo.cpp and themes/wood.cpp.
-.SH "void TQPainter::drawRoundRect ( const QRect & r, int xRnd = 25, int yRnd = 25 )"
+.SH "void TQPainter::drawRoundRect ( const TQRect & r, int xRnd = 25, int yRnd = 25 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws a rounded rectangle \fIr\fR, rounding to the x position \fIxRnd\fR and the y position \fIyRnd\fR on each corner.
-.SH "void TQPainter::drawText ( const QPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )"
+.SH "void TQPainter::drawText ( const TQPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )"
Draws the text from position \fIpos\fR, at point \fIp\fR. If \fIlen\fR is -1 the entire string is drawn, otherwise just the first \fIlen\fR characters. The text's direction is specified by \fIdir\fR.
.PP
Note that the meaning of \fIy\fR is not the same for the two drawText() varieties. For overloads that take a simple \fIx\fR, \fIy\fR pair (or a point), the \fIy\fR value is the text's baseline; for overloads that take a rectangle, \fIrect.y()\fR is the top of the rectangle and the text is aligned within that rectangle in accordance with the alignment flags.
@@ -982,7 +982,7 @@ This is an overloaded member function, provided for convenience. It behaves esse
Draws the given text at position \fIx\fR, \fIy\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's direction is given by \fIdir\fR.
.PP
See also TQPainter::TextDirection.
-.SH "void TQPainter::drawText ( const QPoint &, const TQString &, int len = -1, TextDirection dir = Auto )"
+.SH "void TQPainter::drawText ( const TQPoint &, const TQString &, int len = -1, TextDirection dir = Auto )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the text at the given point.
@@ -992,11 +992,11 @@ See also TQPainter::TextDirection.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the text from position \fIpos\fR, at point \fI(x, y)\fR. If \fIlen\fR is -1 the entire string is drawn, otherwise just the first \fIlen\fR characters. The text's direction is specified by \fIdir\fR.
-.SH "void TQPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QRect * br = 0, TQTextParag ** internal = 0 )"
+.SH "void TQPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQRect * br = 0, TQTextParag ** internal = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the given text within the rectangle starting at \fIx\fR, \fIy\fR, with width \fIw\fR and height \fIh\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's flags that are given in the \fIflags\fR parameter are TQt::AlignmentFlags and TQt::TextFlags OR'd together. \fIbr\fR (if not null) is set to the actual bounding rectangle of the output. The \fIinternal\fR parameter is for internal use only.
-.SH "void TQPainter::drawText ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, TQTextParag ** internal = 0 )"
+.SH "void TQPainter::drawText ( const TQRect & r, int tf, const TQString & str, int len = -1, TQRect * brect = 0, TQTextParag ** internal = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws at most \fIlen\fR characters from \fIstr\fR in the rectangle \fIr\fR.
@@ -1008,7 +1008,7 @@ Horizontal alignment defaults to AlignAuto and vertical alignment defaults to Al
\fIbrect\fR (if not null) is set to the actual bounding rectangle of the output. \fIinternal\fR is, yes, internal.
.PP
See also boundingRect().
-.SH "void TQPainter::drawTiledPixmap ( int x, int y, int w, int h, const QPixmap & pixmap, int sx = 0, int sy = 0 )"
+.SH "void TQPainter::drawTiledPixmap ( int x, int y, int w, int h, const TQPixmap & pixmap, int sx = 0, int sy = 0 )"
Draws a tiled \fIpixmap\fR in the specified rectangle.
.PP
\fI(x, y)\fR specifies the top-left point in the paint device that is to be drawn onto; with the width and height given by \fIw\fR and \fIh\fR. \fI(sx, sy)\fR specifies the top-left point in \fIpixmap\fR that is to be drawn. The default is (0, 0).
@@ -1016,11 +1016,11 @@ Draws a tiled \fIpixmap\fR in the specified rectangle.
Calling drawTiledPixmap() is similar to calling drawPixmap() several times to fill (tile) an area with a pixmap, but is potentially much more efficient depending on the underlying window system.
.PP
See also drawPixmap().
-.SH "void TQPainter::drawTiledPixmap ( const QRect & r, const QPixmap & pm, const QPoint & sp )"
+.SH "void TQPainter::drawTiledPixmap ( const TQRect & r, const TQPixmap & pm, const TQPoint & sp )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws a tiled pixmap, \fIpm\fR, inside rectangle \fIr\fR with its origin at point \fIsp\fR.
-.SH "void TQPainter::drawTiledPixmap ( const QRect & r, const QPixmap & pm )"
+.SH "void TQPainter::drawTiledPixmap ( const TQRect & r, const TQPixmap & pm )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws a tiled pixmap, \fIpm\fR, inside rectangle \fIr\fR.
@@ -1044,11 +1044,11 @@ This function draws a stippled XOR rectangle that is used to indicate keyboard f
\fBWarning:\fR This function draws nothing if the coordinate system has been rotated or sheared.
.PP
See also drawRect() and QApplication::style().
-.SH "void TQPainter::drawWinFocusRect ( const QRect & r )"
+.SH "void TQPainter::drawWinFocusRect ( const TQRect & r )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws rectangle \fIr\fR as a window focus rectangle.
-.SH "void TQPainter::drawWinFocusRect ( const QRect & r, const TQColor & bgColor )"
+.SH "void TQPainter::drawWinFocusRect ( const TQRect & r, const TQColor & bgColor )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws rectangle \fIr\fR as a window focus rectangle using background color \fIbgColor\fR.
@@ -1071,7 +1071,7 @@ Note that while you mostly don't need to call end(), the destructor will do it,
.br
.fi
.PP
-Since you can't draw a QPixmap while it is being painted, it is necessary to close the active painter.
+Since you can't draw a TQPixmap while it is being painted, it is necessary to close the active painter.
.PP
See also begin() and isActive().
.PP
@@ -1082,7 +1082,7 @@ Erases the area inside \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR. Equivalent to \fCfill
.PP
Examples:
.)l listboxcombo/listboxcombo.cpp and showimg/showimg.cpp.
-.SH "void TQPainter::eraseRect ( const QRect & r )"
+.SH "void TQPainter::eraseRect ( const TQRect & r )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Erases the area inside the rectangle \fIr\fR.
@@ -1095,11 +1095,11 @@ See also drawRect().
.PP
Examples:
.)l listboxcombo/listboxcombo.cpp, multiple/ax1.h, progress/progress.cpp, tqdir/tqdir.cpp, qfd/fontdisplayer.cpp, themes/metal.cpp, and themes/wood.cpp.
-.SH "void TQPainter::fillRect ( const QRect & r, const TQBrush & brush )"
+.SH "void TQPainter::fillRect ( const TQRect & r, const TQBrush & brush )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Fills the rectangle \fIr\fR using brush \fIbrush\fR.
-.SH "void TQPainter::flush ( const QRegion & region, CoordinateMode cm = CoordDevice )"
+.SH "void TQPainter::flush ( const TQRegion & region, CoordinateMode cm = CoordDevice )"
Flushes any buffered drawing operations inside the region \fIregion\fR using clipping mode \fIcm\fR.
.PP
The flush may update the whole device if the platform does not support flushing to a specified region.
@@ -1156,8 +1156,8 @@ Use drawLine() instead.
.PP
Draws a line from the current pen position to \fI(x, y)\fR and sets \fI(x, y)\fR to be the new current pen position.
.PP
-See also QPen, moveTo(), drawLine(), and pos().
-.SH "void TQPainter::lineTo ( const QPoint & p )"
+See also TQPen, moveTo(), drawLine(), and pos().
+.SH "void TQPainter::lineTo ( const TQPoint & p )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws a line to the point \fIp\fR.
@@ -1167,18 +1167,18 @@ Draws a line to the point \fIp\fR.
Sets the current pen position to \fI(x, y)\fR
.PP
See also lineTo() and pos().
-.SH "void TQPainter::moveTo ( const QPoint & p )"
+.SH "void TQPainter::moveTo ( const TQPoint & p )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Moves to the point \fIp\fR.
-.SH "const QPen & TQPainter::pen () const"
+.SH "const TQPen & TQPainter::pen () const"
Returns the painter's current pen.
.PP
See also setPen().
.PP
Examples:
.)l multiple/ax2.h, progress/progress.cpp, and themes/wood.cpp.
-.SH "QPoint TQPainter::pos () const"
+.SH "TQPoint TQPainter::pos () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns the current position of the pen.
@@ -1191,7 +1191,7 @@ See also setRasterOp() and RasterOp.
.SH "void TQPainter::redirect ( TQPaintDevice * pdev, TQPaintDevice * replacement )\fC [static]\fR"
Redirects all paint commands for a paint device, \fIpdev\fR, to another paint device, \fIreplacement\fR, unless \fIreplacement\fR is 0. If \fIreplacement\fR is 0, the redirection for \fIpdev\fR is removed.
.PP
-In general, you'll probably find calling QPixmap::grabWidget() or QPixmap::grabWindow() is an easier solution.
+In general, you'll probably find calling TQPixmap::grabWidget() or TQPixmap::grabWindow() is an easier solution.
.SH "void TQPainter::resetXForm ()"
Resets any transformations that were made using translate(), scale(), shear(), rotate(), setWorldMatrix(), setViewport() and setWindow().
.PP
@@ -1240,7 +1240,7 @@ Sets the background mode of the painter to \fIm\fR, which must be either Transpa
.PP
Transparent mode draws stippled lines and text without setting the background pixels. Opaque mode fills these space with the current background color.
.PP
-Note that in order to draw a bitmap or pixmap transparently, you must use QPixmap::setMask().
+Note that in order to draw a bitmap or pixmap transparently, you must use TQPixmap::setMask().
.PP
See also backgroundMode() and setBackgroundColor().
.PP
@@ -1272,7 +1272,7 @@ Sets the brush origin to \fI(x, y)\fR.
The brush origin specifies the (0, 0) coordinate of the painter's brush. This setting only applies to pattern brushes and pixmap brushes.
.PP
See also brushOrigin().
-.SH "void TQPainter::setBrushOrigin ( const QPoint & p )"
+.SH "void TQPainter::setBrushOrigin ( const TQPoint & p )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the brush origin to point \fIp\fR.
@@ -1285,13 +1285,13 @@ See also setClipRegion(), clipRegion(), setClipping(), and TQPainter::Coordinate
.PP
Examples:
.)l grapher/grapher.cpp, progress/progress.cpp, showimg/showimg.cpp, splitter/splitter.cpp, and trivial/trivial.cpp.
-.SH "void TQPainter::setClipRect ( const QRect & r, CoordinateMode m = CoordDevice )"
+.SH "void TQPainter::setClipRect ( const TQRect & r, CoordinateMode m = CoordDevice )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the clip region to the rectangle \fIr\fR and enables clipping. The clip mode is set to \fIm\fR.
.PP
See also CoordinateMode.
-.SH "void TQPainter::setClipRegion ( const QRegion & rgn, CoordinateMode m = CoordDevice )"
+.SH "void TQPainter::setClipRegion ( const TQRegion & rgn, CoordinateMode m = CoordDevice )"
Sets the clip region to \fIrgn\fR and enables clipping. The clip mode is set to \fIm\fR.
.PP
Note that the clip region is given in physical device coordinates and \fInot\fR subject to any coordinate transformation.
@@ -1315,7 +1315,7 @@ See also font() and drawText().
.PP
Examples:
.)l drawdemo/drawdemo.cpp, grapher/grapher.cpp, hello/hello.cpp, picture/picture.cpp, qwerty/qwerty.cpp, t13/cannon.cpp, and xform/xform.cpp.
-.SH "void TQPainter::setPen ( const QPen & pen )"
+.SH "void TQPainter::setPen ( const TQPen & pen )"
Sets a new painter pen.
.PP
The \fIpen\fR defines how to draw lines and outlines, and it also defines the text color.
@@ -1329,13 +1329,13 @@ This is an overloaded member function, provided for convenience. It behaves esse
.PP
Sets the painter's pen to have style \fIstyle\fR, width 0 and black color.
.PP
-See also pen() and QPen.
+See also pen() and TQPen.
.SH "void TQPainter::setPen ( const TQColor & color )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the painter's pen to have style SolidLine, width 0 and the specified \fIcolor\fR.
.PP
-See also pen() and QPen.
+See also pen() and TQPen.
.SH "void TQPainter::setRasterOp ( RasterOp r )"
Sets the raster operation to \fIr\fR. The default is CopyROP.
.PP
@@ -1368,7 +1368,7 @@ The default viewport rectangle is the same as the device's rectangle. See the Co
See also viewport(), setWindow(), setViewXForm(), setWorldMatrix(), setWorldXForm(), and xForm().
.PP
Example: aclock/aclock.cpp.
-.SH "void TQPainter::setViewport ( const QRect & r )"
+.SH "void TQPainter::setViewport ( const TQRect & r )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the painter's viewport to rectangle \fIr\fR.
@@ -1383,20 +1383,20 @@ See also window(), setViewport(), setViewXForm(), setWorldMatrix(), and setWorld
.PP
Examples:
.)l aclock/aclock.cpp and drawdemo/drawdemo.cpp.
-.SH "void TQPainter::setWindow ( const QRect & r )"
+.SH "void TQPainter::setWindow ( const TQRect & r )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the painter's window to rectangle \fIr\fR.
-.SH "void TQPainter::setWorldMatrix ( const QWMatrix & m, bool combine = FALSE )"
+.SH "void TQPainter::setWorldMatrix ( const TQWMatrix & m, bool combine = FALSE )"
Sets the world transformation matrix to \fIm\fR and enables world transformation.
.PP
If \fIcombine\fR is TRUE, then \fIm\fR is combined with the current transformation matrix, otherwise \fIm\fR replaces the current transformation matrix.
.PP
-If \fIm\fR is the identity matrix and \fIcombine\fR is FALSE, this function calls setWorldXForm(FALSE). (The identity matrix is the matrix where QWMatrix::m11() and QWMatrix::m22() are 1.0 and the rest are 0.0.)
+If \fIm\fR is the identity matrix and \fIcombine\fR is FALSE, this function calls setWorldXForm(FALSE). (The identity matrix is the matrix where TQWMatrix::m11() and TQWMatrix::m22() are 1.0 and the rest are 0.0.)
.PP
World transformations are applied after the view transformations (i.e. window and viewport).
.PP
-The following functions can transform the coordinate system without using a QWMatrix:
+The following functions can transform the coordinate system without using a TQWMatrix:
.TP
translate()
.TP
@@ -1414,7 +1414,7 @@ They operate on the painter's worldMatrix() and are implemented like this:
.br
{
.br
- QWMatrix m;
+ TQWMatrix m;
.br
m.rotate( a );
.br
@@ -1424,11 +1424,11 @@ They operate on the painter's worldMatrix() and are implemented like this:
.br
.fi
.PP
-Note that you should always use \fIcombine\fR when you are drawing into a QPicture. Otherwise it may not be possible to replay the picture with additional transformations. Using translate(), scale(), etc., is safe.
+Note that you should always use \fIcombine\fR when you are drawing into a TQPicture. Otherwise it may not be possible to replay the picture with additional transformations. Using translate(), scale(), etc., is safe.
.PP
For a brief overview of coordinate transformation, see the Coordinate System Overview.
.PP
-See also worldMatrix(), setWorldXForm(), setWindow(), setViewport(), setViewXForm(), xForm(), and QWMatrix.
+See also worldMatrix(), setWorldXForm(), setWindow(), setViewport(), setViewXForm(), xForm(), and TQWMatrix.
.PP
Examples:
.)l drawdemo/drawdemo.cpp and xform/xform.cpp.
@@ -1477,39 +1477,39 @@ See also scale(), shear(), rotate(), resetXForm(), setWorldMatrix(), and xForm()
.PP
Examples:
.)l action/application.cpp, application/application.cpp, t10/cannon.cpp, t9/cannon.cpp, themes/metal.cpp, themes/wood.cpp, and xform/xform.cpp.
-.SH "QRect TQPainter::viewport () const"
+.SH "TQRect TQPainter::viewport () const"
Returns the viewport rectangle.
.PP
See also setViewport() and setViewXForm().
.PP
Example: aclock/aclock.cpp.
-.SH "QRect TQPainter::window () const"
+.SH "TQRect TQPainter::window () const"
Returns the window rectangle.
.PP
See also setWindow() and setViewXForm().
-.SH "const QWMatrix & TQPainter::worldMatrix () const"
+.SH "const TQWMatrix & TQPainter::worldMatrix () const"
Returns the world transformation matrix.
.PP
See also setWorldMatrix().
-.SH "QPoint TQPainter::xForm ( const QPoint & pv ) const"
+.SH "TQPoint TQPainter::xForm ( const TQPoint & pv ) const"
Returns the point \fIpv\fR transformed from model coordinates to device coordinates.
.PP
-See also xFormDev() and QWMatrix::map().
-.SH "QRect TQPainter::xForm ( const QRect & rv ) const"
+See also xFormDev() and TQWMatrix::map().
+.SH "TQRect TQPainter::xForm ( const TQRect & rv ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the rectangle \fIrv\fR transformed from model coordinates to device coordinates.
.PP
If world transformation is enabled and rotation or shearing has been specified, then the bounding rectangle is returned.
.PP
-See also xFormDev() and QWMatrix::map().
-.SH "QPointArray TQPainter::xForm ( const QPointArray & av ) const"
+See also xFormDev() and TQWMatrix::map().
+.SH "TQPointArray TQPainter::xForm ( const TQPointArray & av ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the point array \fIav\fR transformed from model coordinates to device coordinates.
.PP
-See also xFormDev() and QWMatrix::map().
-.SH "QPointArray TQPainter::xForm ( const QPointArray & av, int index, int npoints ) const"
+See also xFormDev() and TQWMatrix::map().
+.SH "TQPointArray TQPainter::xForm ( const TQPointArray & av, int index, int npoints ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the point array \fIav\fR transformed from model coordinates to device coordinates. The \fIindex\fR is the first point in the array and \fInpoints\fR denotes the number of points to be transformed. If \fInpoints\fR is negative, all points from \fIav[index]\fR until the last point in the array are transformed.
@@ -1520,9 +1520,9 @@ Example:
.PP
.nf
.br
- QPointArray a(10);
+ TQPointArray a(10);
.br
- QPointArray b;
+ TQPointArray b;
.br
b = painter.xForm(a, 2, 4); // b.size() == 4
.br
@@ -1530,26 +1530,26 @@ Example:
.br
.fi
.PP
-See also xFormDev() and QWMatrix::map().
-.SH "QRect TQPainter::xFormDev ( const QRect & rd ) const"
+See also xFormDev() and TQWMatrix::map().
+.SH "TQRect TQPainter::xFormDev ( const TQRect & rd ) const"
Returns the rectangle \fIrd\fR transformed from device coordinates to model coordinates.
.PP
If world transformation is enabled and rotation or shearing is used, then the bounding rectangle is returned.
.PP
-See also xForm() and QWMatrix::map().
-.SH "QPoint TQPainter::xFormDev ( const QPoint & pd ) const"
+See also xForm() and TQWMatrix::map().
+.SH "TQPoint TQPainter::xFormDev ( const TQPoint & pd ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the point \fIpd\fR transformed from device coordinates to model coordinates.
.PP
-See also xForm() and QWMatrix::map().
-.SH "QPointArray TQPainter::xFormDev ( const QPointArray & ad ) const"
+See also xForm() and TQWMatrix::map().
+.SH "TQPointArray TQPainter::xFormDev ( const TQPointArray & ad ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the point array \fIad\fR transformed from device coordinates to model coordinates.
.PP
-See also xForm() and QWMatrix::map().
-.SH "QPointArray TQPainter::xFormDev ( const QPointArray & ad, int index, int npoints ) const"
+See also xForm() and TQWMatrix::map().
+.SH "TQPointArray TQPainter::xFormDev ( const TQPointArray & ad, int index, int npoints ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the point array \fIad\fR transformed from device coordinates to model coordinates. The \fIindex\fR is the first point in the array and \fInpoints\fR denotes the number of points to be transformed. If \fInpoints\fR is negative, all points from \fIad[index]\fR until the last point in the array are transformed.
@@ -1560,9 +1560,9 @@ Example:
.PP
.nf
.br
- QPointArray a(10);
+ TQPointArray a(10);
.br
- QPointArray b;
+ TQPointArray b;
.br
b = painter.xFormDev(a, 1, 3); // b.size() == 3
.br
@@ -1570,7 +1570,7 @@ Example:
.br
.fi
.PP
-See also xForm() and QWMatrix::map().
+See also xForm() and TQWMatrix::map().
.SH RELATED FUNCTION DOCUMENTATION
.SH "void qDrawPlainRect ( TQPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const TQBrush * fill )"
\fC#include <ntqdrawutil.h>\fR