diff options
Diffstat (limited to 'doc/man/man3/tqcanvaspolygonalitem.3qt')
-rw-r--r-- | doc/man/man3/tqcanvaspolygonalitem.3qt | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/man/man3/tqcanvaspolygonalitem.3qt b/doc/man/man3/tqcanvaspolygonalitem.3qt index 0bd708a0..cdb562cb 100644 --- a/doc/man/man3/tqcanvaspolygonalitem.3qt +++ b/doc/man/man3/tqcanvaspolygonalitem.3qt @@ -24,25 +24,25 @@ Inherited by TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllip .BI "virtual \fB~TQCanvasPolygonalItem\fR ()" .br .ti -1c -.BI "virtual void \fBsetPen\fR ( QPen p )" +.BI "virtual void \fBsetPen\fR ( TQPen p )" .br .ti -1c -.BI "virtual void \fBsetBrush\fR ( QBrush b )" +.BI "virtual void \fBsetBrush\fR ( TQBrush b )" .br .ti -1c -.BI "QPen \fBpen\fR () const" +.BI "TQPen \fBpen\fR () const" .br .ti -1c -.BI "QBrush \fBbrush\fR () const" +.BI "TQBrush \fBbrush\fR () const" .br .ti -1c -.BI "virtual QPointArray \fBareaPoints\fR () const = 0" +.BI "virtual TQPointArray \fBareaPoints\fR () const = 0" .br .ti -1c -.BI "virtual QPointArray \fBareaPointsAdvanced\fR () const" +.BI "virtual TQPointArray \fBareaPointsAdvanced\fR () const" .br .ti -1c -.BI "virtual QRect \fBboundingRect\fR () const" +.BI "virtual TQRect \fBboundingRect\fR () const" .br .ti -1c .BI "virtual int \fBrtti\fR () const" @@ -51,10 +51,10 @@ Inherited by TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllip .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBdraw\fR ( QPainter & p )" +.BI "virtual void \fBdraw\fR ( TQPainter & p )" .br .ti -1c -.BI "virtual void \fBdrawShape\fR ( QPainter & p ) = 0" +.BI "virtual void \fBdrawShape\fR ( TQPainter & p ) = 0" .br .ti -1c .BI "bool \fBwinding\fR () const" @@ -84,7 +84,7 @@ The bounding rectangle is available using boundingRect(). The points bounding th .PP If the shape of the polygonal item is about to change while the item is visible, call invalidate() before updating with a different result from areaPoints(). .PP -By default, TQCanvasPolygonalItem objects have a black pen and no brush (the default QPen and QBrush constructors). You can change this with setPen() and setBrush(), but note that some TQCanvasPolygonalItem subclasses only use the brush, ignoring the pen setting. +By default, TQCanvasPolygonalItem objects have a black pen and no brush (the default TQPen and TQBrush constructors). You can change this with setPen() and setBrush(), but note that some TQCanvasPolygonalItem subclasses only use the brush, ignoring the pen setting. .PP The polygonal item can be drawn on a painter with draw(). Subclasses must reimplement drawShape() to draw themselves. .PP @@ -96,28 +96,28 @@ See also Graphics Classes and Image Processing Classes. Constructs a TQCanvasPolygonalItem on the canvas \fIcanvas\fR. .SH "TQCanvasPolygonalItem::~TQCanvasPolygonalItem ()\fC [virtual]\fR" Note that all subclasses \fImust\fR call hide() in their destructor since hide() needs to be able to access areaPoints(). -.SH "QPointArray TQCanvasPolygonalItem::areaPoints () const\fC [pure virtual]\fR" +.SH "TQPointArray TQCanvasPolygonalItem::areaPoints () const\fC [pure virtual]\fR" This function must be reimplemented by subclasses. It \fImust\fR return the points bounding (i.e. outside and not touching) the shape or drawing errors will occur. .PP Reimplemented in TQCanvasPolygon. -.SH "QPointArray TQCanvasPolygonalItem::areaPointsAdvanced () const\fC [virtual]\fR" +.SH "TQPointArray TQCanvasPolygonalItem::areaPointsAdvanced () const\fC [virtual]\fR" Returns the points the polygonal item \fIwill\fR have after TQCanvasItem::advance(1) is called, i.e. what the points are when advanced by the current xVelocity() and yVelocity(). -.SH "QRect TQCanvasPolygonalItem::boundingRect () const\fC [virtual]\fR" +.SH "TQRect TQCanvasPolygonalItem::boundingRect () const\fC [virtual]\fR" Returns the bounding rectangle of the polygonal item, based on areaPoints(). .PP Reimplemented from TQCanvasItem. -.SH "QBrush TQCanvasPolygonalItem::brush () const" -Returns the QBrush used to fill the item, if filled. +.SH "TQBrush TQCanvasPolygonalItem::brush () const" +Returns the TQBrush used to fill the item, if filled. .PP See also setBrush(). -.SH "void TQCanvasPolygonalItem::draw ( QPainter & p )\fC [virtual protected]\fR" +.SH "void TQCanvasPolygonalItem::draw ( TQPainter & p )\fC [virtual protected]\fR" Reimplemented from TQCanvasItem, this draws the polygonal item by setting the pen and brush for the item on the painter \fIp\fR and calling drawShape(). .PP Reimplemented from TQCanvasItem. -.SH "void TQCanvasPolygonalItem::drawShape ( QPainter & p )\fC [pure virtual protected]\fR" +.SH "void TQCanvasPolygonalItem::drawShape ( TQPainter & p )\fC [pure virtual protected]\fR" Subclasses must reimplement this function to draw their shape. The pen and brush of \fIp\fR are already set to pen() and brush() prior to calling this function. .PP -\fBWarning:\fR When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, if you start by calling QPainter::translate(50, 50), end your code by calling QPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., don't call QPainter::resetXForm() when you're done). +\fBWarning:\fR When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, if you start by calling TQPainter::translate(50, 50), end your code by calling TQPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., don't call TQPainter::resetXForm() when you're done). .PP See also draw(). .PP @@ -128,8 +128,8 @@ Invalidates all information about the area covered by the canvas item. The item Returns TRUE if the polygonal item's area information has not been invalidated; otherwise returns FALSE. .PP See also invalidate(). -.SH "QPen TQCanvasPolygonalItem::pen () const" -Returns the QPen used to draw the outline of the item, if any. +.SH "TQPen TQCanvasPolygonalItem::pen () const" +Returns the TQPen used to draw the outline of the item, if any. .PP See also setPen(). .SH "int TQCanvasPolygonalItem::rtti () const\fC [virtual]\fR" @@ -140,15 +140,15 @@ See also TQCanvasItem::rtti(). Reimplemented from TQCanvasItem. .PP Reimplemented in TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllipse. -.SH "void TQCanvasPolygonalItem::setBrush ( QBrush b )\fC [virtual]\fR" -Sets the QBrush used when drawing the polygonal item to the brush \fIb\fR. +.SH "void TQCanvasPolygonalItem::setBrush ( TQBrush b )\fC [virtual]\fR" +Sets the TQBrush used when drawing the polygonal item to the brush \fIb\fR. .PP See also setPen(), brush(), and drawShape(). .PP Examples: .)l canvas/canvas.cpp and chart/chartform_canvas.cpp. -.SH "void TQCanvasPolygonalItem::setPen ( QPen p )\fC [virtual]\fR" -Sets the QPen used when drawing the item to the pen \fIp\fR. Note that many TQCanvasPolygonalItems do not use the pen value. +.SH "void TQCanvasPolygonalItem::setPen ( TQPen p )\fC [virtual]\fR" +Sets the TQPen used when drawing the item to the pen \fIp\fR. Note that many TQCanvasPolygonalItems do not use the pen value. .PP See also setBrush(), pen(), and drawShape(). .PP |