diff options
Diffstat (limited to 'doc/html/qcanvaspolygonalitem.html')
-rw-r--r-- | doc/html/qcanvaspolygonalitem.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/qcanvaspolygonalitem.html b/doc/html/qcanvaspolygonalitem.html index a24b3024f..093517610 100644 --- a/doc/html/qcanvaspolygonalitem.html +++ b/doc/html/qcanvaspolygonalitem.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQCanvasPolygonalItem class provides a polygonal canvas item on a TQCanvas. <a href="#details">More...</a> -<p><tt>#include <<a href="qcanvas-h.html">qcanvas.h</a>></tt> +<p><tt>#include <<a href="qcanvas-h.html">ntqcanvas.h</a>></tt> <p>Inherits <a href="qcanvasitem.html">TQCanvasItem</a>. <p>Inherited by <a href="qcanvasrectangle.html">TQCanvasRectangle</a>, <a href="qcanvaspolygon.html">TQCanvasPolygon</a>, <a href="qcanvasline.html">TQCanvasLine</a>, and <a href="qcanvasellipse.html">TQCanvasEllipse</a>. <p><a href="qcanvaspolygonalitem-members.html">List of all member functions.</a> @@ -64,7 +64,7 @@ on a TQCanvas. The TQCanvasPolygonalItem class provides a polygonal canvas item -on a <a href="qcanvas.html">TQCanvas</a>. +on a <a href="ntqcanvas.html">TQCanvas</a>. <p> @@ -96,7 +96,7 @@ points the polygonal item <em>will</em> have after item is visible, call <a href="#invalidate">invalidate</a>() before updating with a different result from <a href="#areaPoints">areaPoints</a>(). <p> By default, TQCanvasPolygonalItem objects have a black pen and no -brush (the default <a href="qpen.html">TQPen</a> and <a href="qbrush.html">TQBrush</a> constructors). You can change +brush (the default <a href="ntqpen.html">TQPen</a> and <a href="ntqbrush.html">TQBrush</a> constructors). You can change this with <a href="#setPen">setPen</a>() and <a href="#setBrush">setBrush</a>(), but note that some TQCanvasPolygonalItem subclasses only use the brush, ignoring the pen setting. @@ -108,7 +108,7 @@ with <a href="qcanvasitem.html#setX">TQCanvasItem::setX</a>(), <a href="qcanvasi <p> <p>See also <a href="graphics.html">Graphics Classes</a> and <a href="images.html">Image Processing Classes</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQCanvasPolygonalItem"></a>TQCanvasPolygonalItem::TQCanvasPolygonalItem ( <a href="qcanvas.html">TQCanvas</a> * canvas ) +<h3 class=fn><a name="TQCanvasPolygonalItem"></a>TQCanvasPolygonalItem::TQCanvasPolygonalItem ( <a href="ntqcanvas.html">TQCanvas</a> * canvas ) </h3> Constructs a TQCanvasPolygonalItem on the canvas <em>canvas</em>. @@ -117,7 +117,7 @@ Constructs a TQCanvasPolygonalItem on the canvas <em>canvas</em>. Note that all subclasses <em>must</em> call <a href="qcanvasitem.html#hide">hide</a>() in their destructor since hide() needs to be able to access <a href="#areaPoints">areaPoints</a>(). -<h3 class=fn><a href="qpointarray.html">TQPointArray</a> <a name="areaPoints"></a>TQCanvasPolygonalItem::areaPoints () const<tt> [pure virtual]</tt> +<h3 class=fn><a href="ntqpointarray.html">TQPointArray</a> <a name="areaPoints"></a>TQCanvasPolygonalItem::areaPoints () const<tt> [pure virtual]</tt> </h3> <p> This function must be reimplemented by subclasses. It <em>must</em> @@ -125,32 +125,32 @@ return the points bounding (i.e. outside and not touching) the shape or drawing errors will occur. <p>Reimplemented in <a href="qcanvaspolygon.html#areaPoints">TQCanvasPolygon</a>. -<h3 class=fn><a href="qpointarray.html">TQPointArray</a> <a name="areaPointsAdvanced"></a>TQCanvasPolygonalItem::areaPointsAdvanced () const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqpointarray.html">TQPointArray</a> <a name="areaPointsAdvanced"></a>TQCanvasPolygonalItem::areaPointsAdvanced () const<tt> [virtual]</tt> </h3> Returns the points the polygonal item <em>will</em> have after <a href="qcanvasitem.html#advance">TQCanvasItem::advance</a>(1) is called, i.e. what the points are when advanced by the current <a href="qcanvasitem.html#xVelocity">xVelocity</a>() and <a href="qcanvasitem.html#yVelocity">yVelocity</a>(). -<h3 class=fn><a href="qrect.html">TQRect</a> <a name="boundingRect"></a>TQCanvasPolygonalItem::boundingRect () const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="boundingRect"></a>TQCanvasPolygonalItem::boundingRect () const<tt> [virtual]</tt> </h3> Returns the bounding rectangle of the polygonal item, based on <a href="#areaPoints">areaPoints</a>(). <p>Reimplemented from <a href="qcanvasitem.html#boundingRect">TQCanvasItem</a>. -<h3 class=fn><a href="qbrush.html">TQBrush</a> <a name="brush"></a>TQCanvasPolygonalItem::brush () const +<h3 class=fn><a href="ntqbrush.html">TQBrush</a> <a name="brush"></a>TQCanvasPolygonalItem::brush () const </h3> -<p> Returns the <a href="qbrush.html">TQBrush</a> used to fill the item, if filled. +<p> Returns the <a href="ntqbrush.html">TQBrush</a> used to fill the item, if filled. <p> <p>See also <a href="#setBrush">setBrush</a>(). -<h3 class=fn>void <a name="draw"></a>TQCanvasPolygonalItem::draw ( <a href="qpainter.html">TQPainter</a> & p )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="draw"></a>TQCanvasPolygonalItem::draw ( <a href="ntqpainter.html">TQPainter</a> & p )<tt> [virtual protected]</tt> </h3> Reimplemented from <a href="qcanvasitem.html">TQCanvasItem</a>, this draws the polygonal item by setting the pen and brush for the item on the painter <em>p</em> and calling <a href="#drawShape">drawShape</a>(). <p>Reimplemented from <a href="qcanvasitem.html#draw">TQCanvasItem</a>. -<h3 class=fn>void <a name="drawShape"></a>TQCanvasPolygonalItem::drawShape ( <a href="qpainter.html">TQPainter</a> & p )<tt> [pure virtual protected]</tt> +<h3 class=fn>void <a name="drawShape"></a>TQCanvasPolygonalItem::drawShape ( <a href="ntqpainter.html">TQPainter</a> & p )<tt> [pure virtual protected]</tt> </h3> <p> Subclasses must reimplement this function to draw their shape. The @@ -158,10 +158,10 @@ pen and brush of <em>p</em> are already set to <a href="#pen">pen</a>() and <a h to calling this function. <p> <b>Warning:</b> 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 <a href="qpainter.html#translate">TQPainter::translate</a>(50, 50), end your +if you start by calling <a href="ntqpainter.html#translate">TQPainter::translate</a>(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 <a href="qpainter.html#resetXForm">TQPainter::resetXForm</a>() when you're done). +don't call <a href="ntqpainter.html#resetXForm">TQPainter::resetXForm</a>() when you're done). <p> <p>See also <a href="#draw">draw</a>(). <p>Reimplemented in <a href="qcanvasrectangle.html#drawShape">TQCanvasRectangle</a>, <a href="qcanvaspolygon.html#drawShape">TQCanvasPolygon</a>, and <a href="qcanvasellipse.html#drawShape">TQCanvasEllipse</a>. @@ -180,10 +180,10 @@ returned by <a href="#areaPoints">areaPoints</a>()) while the item is visible. invalidated; otherwise returns FALSE. <p> <p>See also <a href="#invalidate">invalidate</a>(). -<h3 class=fn><a href="qpen.html">TQPen</a> <a name="pen"></a>TQCanvasPolygonalItem::pen () const +<h3 class=fn><a href="ntqpen.html">TQPen</a> <a name="pen"></a>TQCanvasPolygonalItem::pen () const </h3> -<p> Returns the <a href="qpen.html">TQPen</a> used to draw the outline of the item, if any. +<p> Returns the <a href="ntqpen.html">TQPen</a> used to draw the outline of the item, if any. <p> <p>See also <a href="#setPen">setPen</a>(). <h3 class=fn>int <a name="rtti"></a>TQCanvasPolygonalItem::rtti () const<tt> [virtual]</tt> @@ -193,15 +193,15 @@ Returns 2 (TQCanvasItem::Rtti_PolygonalItem). <p>Reimplemented from <a href="qcanvasitem.html#rtti">TQCanvasItem</a>. <p>Reimplemented in <a href="qcanvasrectangle.html#rtti">TQCanvasRectangle</a>, <a href="qcanvaspolygon.html#rtti">TQCanvasPolygon</a>, <a href="qcanvasline.html#rtti">TQCanvasLine</a>, and <a href="qcanvasellipse.html#rtti">TQCanvasEllipse</a>. -<h3 class=fn>void <a name="setBrush"></a>TQCanvasPolygonalItem::setBrush ( <a href="qbrush.html">TQBrush</a> b )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setBrush"></a>TQCanvasPolygonalItem::setBrush ( <a href="ntqbrush.html">TQBrush</a> b )<tt> [virtual]</tt> </h3> -Sets the <a href="qbrush.html">TQBrush</a> used when drawing the polygonal item to the brush <em>b</em>. +Sets the <a href="ntqbrush.html">TQBrush</a> used when drawing the polygonal item to the brush <em>b</em>. <p> <p>See also <a href="#setPen">setPen</a>(), <a href="#brush">brush</a>(), and <a href="#drawShape">drawShape</a>(). <p>Examples: <a href="canvas-example.html#x2923">canvas/canvas.cpp</a> and <a href="tutorial2-06.html#x2572">chart/chartform_canvas.cpp</a>. -<h3 class=fn>void <a name="setPen"></a>TQCanvasPolygonalItem::setPen ( <a href="qpen.html">TQPen</a> p )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setPen"></a>TQCanvasPolygonalItem::setPen ( <a href="ntqpen.html">TQPen</a> p )<tt> [virtual]</tt> </h3> -Sets the <a href="qpen.html">TQPen</a> used when drawing the item to the pen <em>p</em>. +Sets the <a href="ntqpen.html">TQPen</a> used when drawing the item to the pen <em>p</em>. Note that many TQCanvasPolygonalItems do not use the pen value. <p> <p>See also <a href="#setBrush">setBrush</a>(), <a href="#pen">pen</a>(), and <a href="#drawShape">drawShape</a>(). |