qcanvaspolygon man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



QCanvasPolygon(3qt)			      QCanvasPolygon(3qt)

NAME
       QCanvasPolygon - A polygon with a movable reference point

       #include <qcanvas.h>

       Inherits QCanvasPolygonalItem.

   Public Members
       QCanvasPolygon ( QCanvas * canvas )
       ~QCanvasPolygon ()
       void setPoints ( QPointArray )
       QPointArray points () const
       virtual QPointArray areaPoints () const
       virtual int rtti () const

   Protected Members
       virtual void drawShape ( QPainter & )

DESCRIPTION
       A polygon with a movable reference point.

       Paints a polygon in a QBrush.

MEMBER FUNCTION DOCUMENTATION
QCanvasPolygon::QCanvasPolygon ( QCanvas * canvas )
       Constructs a pointless polygon on canvas. You should call
       setPoints() before using it further.

QCanvasPolygon::~QCanvasPolygon ()
       Destructs the polygon.

QPointArray QCanvasPolygon::areaPoints () const [virtual]
       Returns the vertices of the polygon translated by the x(),
       y() position.

       See also setPoints() and points().

       Reimplemented from QCanvasPolygonalItem.

void QCanvasPolygon::drawShape ( QPainter & p ) [virtual
       protected]
       Note that QCanvasPolygon does not support an outline (pen
       is always NoPen).

       Reimplemented from QCanvasPolygonalItem.

void QCanvasPolygon::moveBy ( double dx, double dy ) [virtual]
       Reimplemented for internal reasons; the API is not
       affected.

       Reimplemented from QCanvasItem.

Trolltech AS		   13 June 2001				1

QCanvasPolygon(3qt)			      QCanvasPolygon(3qt)

QPointArray QCanvasPolygon::points () const
       Returns the vertices of the polygon, not translated by the
       position.

       See also setPoints() and areaPoints().

int QCanvasPolygon::rtti () const [virtual]
       Returns 4.

       See also QCanvasItem::rtti().

       Reimplemented from QCanvasItem.

void QCanvasPolygon::setPoints ( QPointArray pa )
       Sets the points of the polygon to be pa, which will be
       translated by x(), y() as the polygon is moved.

SEE ALSO
       http://doc.trolltech.com/qcanvaspolygon.html
       http://www.trolltech.com/faq/tech.html

COPYRIGHT
       Copyright 1992-2001 Trolltech AS,
       http://www.trolltech.com.  See the license file included
       in the distribution for a complete license statement.

AUTHOR
       Generated automatically from the source code.

BUGS
       If you find a bug in Qt, please report it as described in
       http://doc.trolltech.com/bughowto.html.	Good bug reports
       make our job much simpler. Thank you.

       In case of content or formattting problems with this
       manual page, please report them to qt-bugs@trolltech.com.
       Please include the name of the manual page
       (qcanvaspolygon.3qt) and the Qt version (2.3.1).

Trolltech AS		   13 June 2001				2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net