Definition at line 3076 of file qpaintengine_opengl.cpp.
◆ QGLRectMaskGenerator()
Definition at line 3205 of file qpaintengine_opengl.cpp.
QGLTrapezoidMaskGenerator(const QPainterPath &path, const QTransform &matrix, QGLOffscreen &offscreen, GLuint maskFragmentProgram, qreal strokeWidth=-1.0)
◆ computeScreenRect()
QRect QGLRectMaskGenerator::computeScreenRect |
( |
| ) |
|
|
privatevirtual |
Implements QGLTrapezoidMaskGenerator.
Definition at line 3215 of file qpaintengine_opengl.cpp.
QRect toAlignedRect() const
Returns a QRect based on the values of this rectangle that is the smallest possible integer rectangle...
QPainterPath transformedPath
QRectF adjusted(qreal x1, qreal y1, qreal x2, qreal y2) const
Returns a new rectangle with dx1, dy1, dx2 and dy2 added respectively to the existing coordinates of ...
QRectF controlPointRect() const
Returns the rectangle containing all the points and control points in this path.
QTransform matrix() const
QPainterPath path() const
◆ generateTrapezoids()
Implements QGLTrapezoidMaskGenerator.
Definition at line 3247 of file qpaintengine_opengl.cpp.
3268 tessellator.tessellateRect(first, last, width);
3272 for (
int i = 0; i < 5; ++i)
3275 tessellator.tessellateConvex(points, 5);
3277 return tessellator.trapezoids;
QPainterPath transformedPath
The QPointF class defines a point in the plane using floating point precision.
long ASN1_INTEGER_get ASN1_INTEGER * a
Q_DECL_CONSTEXPR T qAbs(const T &t)
const QPainterPath::Element & elementAt(int i) const
Returns the element at the given index in the painter path.
qreal x() const
Returns the x-coordinate of this point.
QTransform matrix() const
qreal y() const
Returns the y-coordinate of this point.
static Q_DECL_CONSTEXPR bool qFuzzyIsNull(double d)
int elementCount() const
Returns the number of path elements in the painter path.
◆ transformedPath
The documentation for this class was generated from the following file: