QStrokerOps::Element Struct Reference

#include <qstroker_p.h>

List of all members.


Detailed Description

Definition at line 108 of file qstroker_p.h.

Public Member Functions

bool isMoveTo () const
bool isLineTo () const
bool isCurveTo () const
 operator qfixed2d ()

Public Attributes

QPainterPath::ElementType type
qfixed x
qfixed y


Member Function Documentation

bool QStrokerOps::Element::isMoveTo (  )  const [inline]

Definition at line 113 of file qstroker_p.h.

References QPainterPath::MoveToElement, and type.

Referenced by QSubpathFlatIterator::next().

00113 { return type == QPainterPath::MoveToElement; }

bool QStrokerOps::Element::isLineTo (  )  const [inline]

Definition at line 114 of file qstroker_p.h.

References QPainterPath::LineToElement, and type.

Referenced by QSubpathFlatIterator::next().

00114 { return type == QPainterPath::LineToElement; }

bool QStrokerOps::Element::isCurveTo (  )  const [inline]

Definition at line 115 of file qstroker_p.h.

References QPainterPath::CurveToElement, and type.

Referenced by QSubpathFlatIterator::next().

00115 { return type == QPainterPath::CurveToElement; }

QStrokerOps::Element::operator qfixed2d (  )  [inline]

Definition at line 117 of file qstroker_p.h.

References x, and y.

00117 { qfixed2d pt = { x, y }; return pt; }


Member Data Documentation

QPainterPath::ElementType QStrokerOps::Element::type

Definition at line 109 of file qstroker_p.h.

Referenced by QSubpathBackwardIterator::next(), and QSubpathFlatIterator::next().

qfixed QStrokerOps::Element::x

Definition at line 110 of file qstroker_p.h.

Referenced by QSubpathFlatIterator::next(), qt_stroke_side(), and QStrokerOps::strokePath().

qfixed QStrokerOps::Element::y

Definition at line 111 of file qstroker_p.h.

Referenced by QSubpathFlatIterator::next(), qt_stroke_side(), and QStrokerOps::strokePath().


The documentation for this struct was generated from the following file:
Generated on Thu Mar 15 19:09:50 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1