QPainterPath::Element Class Reference


Detailed Description

Definition at line 77 of file qpainterpath.h.

#include <qpainterpath.h>

List of all members.

Public Member Functions

bool  isMoveTo () const
bool  isLineTo () const
bool  isCurveTo () const
  operator QPointF () const
bool  operator== (const Element &e) const
bool  operator!= (const Element &e) const

Public Attributes

qreal  x
qreal  y
ElementType  type

Member Function Documentation

bool isMoveTo ( ) const [inline]

Definition at line 83 of file qpainterpath.h.

{ return type == MoveToElement; }
bool isLineTo ( ) const [inline]

Definition at line 84 of file qpainterpath.h.

{ return type == LineToElement; }
bool isCurveTo ( ) const [inline]

Definition at line 85 of file qpainterpath.h.

{ return type == CurveToElement; }
operator QPointF ( ) const [inline]

Definition at line 87 of file qpainterpath.h.

{ return QPointF(x, y); }
bool operator== ( const Element e ) const [inline]

Definition at line 89 of file qpainterpath.h.

                                                { return qFuzzyCompare(x, e.x)
            && qFuzzyCompare(y, e.y) && type == e.type; }
bool operator!= ( const Element e ) const [inline]

Definition at line 91 of file qpainterpath.h.

{ return !operator==(e); }

Member Data Documentation

qreal x

Definition at line 79 of file qpainterpath.h.

qreal y

Definition at line 80 of file qpainterpath.h.


The documentation for this class was generated from the following file:

QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element
QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element QPainterPath::Element