QPainterPath::Element Class Reference

QPainterPath::Element Class Reference

#include <qpainterpath.h>

Class Description

Definition at line 77 of file qpainterpath.h.

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.

83 { return type == MoveToElement; }
GLuint GLuint GLsizei GLenum type
Definition: GLee.h:872
bool isLineTo ( ) const
inline

Definition at line 84 of file qpainterpath.h.

84 { return type == LineToElement; }
GLuint GLuint GLsizei GLenum type
Definition: GLee.h:872
bool isCurveTo ( ) const
inline

Definition at line 85 of file qpainterpath.h.

85 { return type == CurveToElement; }
GLuint GLuint GLsizei GLenum type
Definition: GLee.h:872
operator QPointF ( ) const
inline

Definition at line 87 of file qpainterpath.h.

87 { return QPointF(x, y); }
GLenum GLint GLint y
Definition: GLee.h:876
GLenum GLint x
Definition: GLee.h:876
bool operator== ( const Element e) const
inline

Definition at line 89 of file qpainterpath.h.

89  { return qFuzzyCompare(x, e.x)
90  && qFuzzyCompare(y, e.y) && type == e.type; }
GLuint GLuint GLsizei GLenum type
Definition: GLee.h:872
GLenum GLint GLint y
Definition: GLee.h:876
GLenum GLint x
Definition: GLee.h:876
bool qFuzzyCompare(const QMatrix &m1, const QMatrix &m2)
Definition: qmatrix.h:172
bool operator!= ( const Element e) const
inline

Definition at line 91 of file qpainterpath.h.

91 { return !operator==(e); }
bool operator==(const Element &e) const
Definition: qpainterpath.h:89

Member Data Documentation

qreal x

Definition at line 79 of file qpainterpath.h.

qreal y

Definition at line 80 of file qpainterpath.h.

Definition at line 81 of file qpainterpath.h.


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