diff options
Diffstat (limited to 'doc/man/man3/tqpaintdevice.3qt')
-rw-r--r-- | doc/man/man3/tqpaintdevice.3qt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqpaintdevice.3qt b/doc/man/man3/tqpaintdevice.3qt index 57eb613c9..0e433dfd7 100644 --- a/doc/man/man3/tqpaintdevice.3qt +++ b/doc/man/man3/tqpaintdevice.3qt @@ -11,7 +11,7 @@ TQPaintDevice \- The base class of objects that can be painted .SH SYNOPSIS \fC#include <tqpaintdevice.h>\fR .PP -Inherited by TQWidget, QPixmap, QPicture, and QPrinter. +Inherited by TQWidget, TQPixmap, TQPicture, and TQPrinter. .PP .SS "Public Members" .in +1c @@ -145,13 +145,13 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter. .BI "void \fBbitBlt\fR ( TQPaintDevice * dst, int dx, int dy, const TQPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )" .br .ti -1c -.BI "void \fBbitBlt\fR ( TQPaintDevice * dst, const QPoint & dp, const TQPaintDevice * src, const QRect & sr, RasterOp rop )" +.BI "void \fBbitBlt\fR ( TQPaintDevice * dst, const TQPoint & dp, const TQPaintDevice * src, const TQRect & sr, RasterOp rop )" .br .in -1c .SH DESCRIPTION The TQPaintDevice class is the base class of objects that can be painted. .PP -A paint device is an abstraction of a two-dimensional space that can be drawn using a TQPainter. The drawing capabilities are implemented by the subclasses TQWidget, QPixmap, QPicture and QPrinter. +A paint device is an abstraction of a two-dimensional space that can be drawn using a TQPainter. The drawing capabilities are implemented by the subclasses TQWidget, TQPixmap, TQPicture and TQPrinter. .PP The default coordinate system of a paint device has its origin located at the top-left position. X increases to the right and Y increases downward. The unit is one pixel. There are several ways to set up a user-defined coordinate system using the painter, for example, using TQPainter::setWorldMatrix(). .PP @@ -200,7 +200,7 @@ Destroys the paint device and frees window system resources. .SH "bool TQPaintDevice::cmd ( int, TQPainter *, QPDevCmdParam * )\fC [virtual protected]\fR" Internal virtual function that interprets drawing commands from the painter. .PP -Implemented by subclasses that have no direct support for drawing graphics (external paint devices, for example, QPicture). +Implemented by subclasses that have no direct support for drawing graphics (external paint devices, for example, TQPicture). .SH "TQt::HANDLE TQPaintDevice::handle () const\fC [virtual]\fR" Returns the window system handle of the paint device, for low-level access. Using this function is not portable. .PP @@ -210,7 +210,7 @@ See also x11Display(). .SH "bool TQPaintDevice::isExtDev () const" Returns TRUE if the device is an external paint device; otherwise returns FALSE. .PP -External paint devices cannot be bitBlt()'ed from. QPicture and QPrinter are external paint devices. +External paint devices cannot be bitBlt()'ed from. TQPicture and TQPrinter are external paint devices. .SH "bool TQPaintDevice::paintingActive () const" Returns TRUE if the device is being painted, i.e. someone has called TQPainter::begin() but not yet called TQPainter::end() for this device; otherwise returns FALSE. .PP @@ -254,13 +254,13 @@ Returns TRUE if the Visual used is the default for screen \fIscreen\fR of the X .SH "int TQPaintDevice::x11AppDepth ( int screen )\fC [static]\fR" Returns the depth for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable. .PP -See also QPixmap::defaultDepth(). +See also TQPixmap::defaultDepth(). .SH "int TQPaintDevice::x11AppDepth ()\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the depth for the default screen of the X display global to the application (X11 only). Using this function is not portable. .PP -See also QPixmap::defaultDepth(). +See also TQPixmap::defaultDepth(). .SH "Display * TQPaintDevice::x11AppDisplay ()\fC [static]\fR" Returns a pointer to the X display global to the application (X11 only). Using this function is not portable. .PP @@ -314,7 +314,7 @@ Returns the default Visual of the X display for the paint device (X11 only). Usi .SH "int TQPaintDevice::x11Depth () const" Returns the depth of the X display for the paint device (X11 only). Using this function is not portable. .PP -See also QPixmap::defaultDepth(). +See also TQPixmap::defaultDepth(). .SH "Display * TQPaintDevice::x11Display () const" Returns a pointer to the X display for the paint device (X11 only). Using this function is not portable. .PP @@ -345,14 +345,14 @@ Copies a block of pixels from \fIsrc\fR to \fIdst\fR, perhaps merging each pixel .PP The most common values for \fIrop\fR are CopyROP and XorROP; the TQt::RasterOp documentation defines all the possible values. .PP -If \fIignoreMask\fR is FALSE (the default) and \fIsrc\fR is a masked QPixmap, the entire blit is masked by \fIsrc\fR->mask(). +If \fIignoreMask\fR is FALSE (the default) and \fIsrc\fR is a masked TQPixmap, the entire blit is masked by \fIsrc\fR->mask(). .PP If \fIsrc\fR, \fIdst\fR, \fIsw\fR or \fIsh\fR is 0, bitBlt() does nothing. If \fIsw\fR or \fIsh\fR is negative bitBlt() copies starting at \fIsx\fR (and respectively, \fIsy\fR) and ending at the right end (respectively, bottom) of \fIsrc\fR. .PP -\fIsrc\fR must be a TQWidget or QPixmap. You cannot blit from a QPrinter, for example. bitBlt() does nothing if you attempt to blit from an unsupported device. +\fIsrc\fR must be a TQWidget or TQPixmap. You cannot blit from a TQPrinter, for example. bitBlt() does nothing if you attempt to blit from an unsupported device. .PP bitBlt() does nothing if \fIsrc\fR has a greater depth than \fIdst\fR. If you need to for example, draw a 24-bit pixmap on an 8-bit widget, you must use drawPixmap(). -.SH "void bitBlt ( TQPaintDevice * dst, const QPoint & dp, const TQPaintDevice * src, const QRect & sr, RasterOp rop )" +.SH "void bitBlt ( TQPaintDevice * dst, const TQPoint & dp, const TQPaintDevice * src, const TQRect & sr, RasterOp rop )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Overloaded bitBlt() with the destination point \fIdp\fR and source |