From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/qcanvaspolygonalitem.html | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'doc/html/qcanvaspolygonalitem.html') 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; }

The TQCanvasPolygonalItem class provides a polygonal canvas item on a TQCanvas. More... -

#include <qcanvas.h> +

#include <ntqcanvas.h>

Inherits TQCanvasItem.

Inherited by TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllipse.

List of all member functions. @@ -64,7 +64,7 @@ on a TQCanvas. The TQCanvasPolygonalItem class provides a polygonal canvas item -on a TQCanvas. +on a TQCanvas.

@@ -96,7 +96,7 @@ points the polygonal item will have after item is visible, call invalidate() before updating with a different result from areaPoints().

By default, TQCanvasPolygonalItem objects have a black pen and no -brush (the default TQPen and TQBrush constructors). You can change +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. @@ -108,7 +108,7 @@ with TQCanvasItem::setX(), Graphics Classes and Image Processing Classes.


Member Function Documentation

-

TQCanvasPolygonalItem::TQCanvasPolygonalItem ( TQCanvas * canvas ) +

TQCanvasPolygonalItem::TQCanvasPolygonalItem ( TQCanvas * canvas )

Constructs a TQCanvasPolygonalItem on the canvas canvas. @@ -117,7 +117,7 @@ Constructs a TQCanvasPolygonalItem on the canvas canvas. Note that all subclasses must call hide() in their destructor since hide() needs to be able to access areaPoints(). -

TQPointArray TQCanvasPolygonalItem::areaPoints () const [pure virtual] +

TQPointArray TQCanvasPolygonalItem::areaPoints () const [pure virtual]

This function must be reimplemented by subclasses. It must @@ -125,32 +125,32 @@ return the points bounding (i.e. outside and not touching) the shape or drawing errors will occur.

Reimplemented in TQCanvasPolygon. -

TQPointArray TQCanvasPolygonalItem::areaPointsAdvanced () const [virtual] +

TQPointArray TQCanvasPolygonalItem::areaPointsAdvanced () const [virtual]

Returns the points the polygonal item will have after TQCanvasItem::advance(1) is called, i.e. what the points are when advanced by the current xVelocity() and yVelocity(). -

TQRect TQCanvasPolygonalItem::boundingRect () const [virtual] +

TQRect TQCanvasPolygonalItem::boundingRect () const [virtual]

Returns the bounding rectangle of the polygonal item, based on areaPoints().

Reimplemented from TQCanvasItem. -

TQBrush TQCanvasPolygonalItem::brush () const +

TQBrush TQCanvasPolygonalItem::brush () const

-

Returns the TQBrush used to fill the item, if filled. +

Returns the TQBrush used to fill the item, if filled.

See also setBrush(). -

void TQCanvasPolygonalItem::draw ( TQPainter & p ) [virtual protected] +

void TQCanvasPolygonalItem::draw ( TQPainter & p ) [virtual protected]

Reimplemented from TQCanvasItem, this draws the polygonal item by setting the pen and brush for the item on the painter p and calling drawShape().

Reimplemented from TQCanvasItem. -

void TQCanvasPolygonalItem::drawShape ( TQPainter & p ) [pure virtual protected] +

void TQCanvasPolygonalItem::drawShape ( TQPainter & p ) [pure virtual protected]

Subclasses must reimplement this function to draw their shape. The @@ -158,10 +158,10 @@ pen and brush of p are already set to pen() and Warning: 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 +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). +don't call TQPainter::resetXForm() when you're done).

See also draw().

Reimplemented in TQCanvasRectangle, TQCanvasPolygon, and TQCanvasEllipse. @@ -180,10 +180,10 @@ returned by areaPoints()) while the item is visible. invalidated; otherwise returns FALSE.

See also invalidate(). -

TQPen TQCanvasPolygonalItem::pen () const +

TQPen TQCanvasPolygonalItem::pen () const

-

Returns the TQPen used to draw the outline of the item, if any. +

Returns the TQPen used to draw the outline of the item, if any.

See also setPen().

int TQCanvasPolygonalItem::rtti () const [virtual] @@ -193,15 +193,15 @@ Returns 2 (TQCanvasItem::Rtti_PolygonalItem).

Reimplemented from TQCanvasItem.

Reimplemented in TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllipse. -

void TQCanvasPolygonalItem::setBrush ( TQBrush b ) [virtual] +

void TQCanvasPolygonalItem::setBrush ( TQBrush b ) [virtual]

-Sets the TQBrush used when drawing the polygonal item to the brush b. +Sets the TQBrush used when drawing the polygonal item to the brush b.

See also setPen(), brush(), and drawShape().

Examples: canvas/canvas.cpp and chart/chartform_canvas.cpp. -

void TQCanvasPolygonalItem::setPen ( TQPen p ) [virtual] +

void TQCanvasPolygonalItem::setPen ( TQPen p ) [virtual]

-Sets the TQPen used when drawing the item to the pen p. +Sets the TQPen used when drawing the item to the pen p. Note that many TQCanvasPolygonalItems do not use the pen value.

See also setBrush(), pen(), and drawShape(). -- cgit v1.2.1