diff options
Diffstat (limited to 'doc/man/man3/tqcanvaspolygonalitem.3qt')
-rw-r--r-- | doc/man/man3/tqcanvaspolygonalitem.3qt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man/man3/tqcanvaspolygonalitem.3qt b/doc/man/man3/tqcanvaspolygonalitem.3qt index 0bd708a09..ec5d22ad0 100644 --- a/doc/man/man3/tqcanvaspolygonalitem.3qt +++ b/doc/man/man3/tqcanvaspolygonalitem.3qt @@ -27,13 +27,13 @@ Inherited by TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllip .BI "virtual void \fBsetPen\fR ( QPen 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" .br .ti -1c -.BI "QBrush \fBbrush\fR () const" +.BI "TQBrush \fBbrush\fR () const" .br .ti -1c .BI "virtual QPointArray \fBareaPoints\fR () const = 0" @@ -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 QPen 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 @@ -106,18 +106,18 @@ Returns the points the polygonal item \fIwill\fR have after TQCanvasItem::advanc 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 @@ -140,8 +140,8 @@ 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 |