![]() |
Qt 6.x
The Qt SDK
|
#include <qopengl2pexvertexarray_p.h>
Public Member Functions | |
QOpenGL2PEXVertexArray () | |
void | addRect (const QRectF &rect) |
void | addQuad (const QRectF &rect) |
void | addVertex (const GLfloat x, const GLfloat y) |
void | addPath (const QVectorPath &path, GLfloat curveInverseScale, bool outline=true) |
void | clear () |
QOpenGLPoint * | data () |
int * | stops () const |
int | stopCount () const |
QOpenGLRect | boundingRect () const |
int | vertexCount () const |
void | lineToArray (const GLfloat x, const GLfloat y) |
Definition at line 63 of file qopengl2pexvertexarray_p.h.
|
inline |
Definition at line 66 of file qopengl2pexvertexarray_p.h.
void QOpenGL2PEXVertexArray::addPath | ( | const QVectorPath & | path, |
GLfloat | curveInverseScale, | ||
bool | outline = true |
||
) |
Definition at line 50 of file qopengl2pexvertexarray.cpp.
References QDataBuffer< Type >::add(), QPainterPath::CurveToElement, elements, QBezier::fromPoints(), QRectF::height(), i, lineToArray(), QPainterPath::LineToElement, QPainterPath::MoveToElement, qMax(), QDataBuffer< Type >::size(), QRectF::width(), QPointF::x(), and QPointF::y().
Referenced by QOpenGL2PaintEngineExPrivate::fill(), and QOpenGL2PaintEngineExPrivate::writeClip().
Definition at line 87 of file qopengl2pexvertexarray_p.h.
References rect.
Referenced by QOpenGL2PaintEngineExPrivate::drawCachedGlyphs().
Definition at line 72 of file qopengl2pexvertexarray_p.h.
References rect.
Definition at line 101 of file qopengl2pexvertexarray_p.h.
References QDataBuffer< Type >::add().
Referenced by QOpenGL2PaintEngineExPrivate::drawPixmapFragments().
QOpenGLRect QOpenGL2PEXVertexArray::boundingRect | ( | ) | const |
Definition at line 18 of file qopengl2pexvertexarray.cpp.
Referenced by QOpenGL2PaintEngineExPrivate::fill(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), and QOpenGL2PaintEngineExPrivate::writeClip().
QT_BEGIN_NAMESPACE void QOpenGL2PEXVertexArray::clear | ( | ) |
Definition at line 10 of file qopengl2pexvertexarray.cpp.
References QDataBuffer< Type >::reset().
Referenced by QOpenGL2PaintEngineExPrivate::drawCachedGlyphs(), QOpenGL2PaintEngineExPrivate::drawPixmapFragments(), QOpenGL2PaintEngineExPrivate::fill(), and QOpenGL2PaintEngineExPrivate::writeClip().
|
inline |
Definition at line 109 of file qopengl2pexvertexarray_p.h.
References QDataBuffer< Type >::data().
Referenced by QOpenGL2PaintEngineExPrivate::drawCachedGlyphs(), QOpenGL2PaintEngineExPrivate::drawPixmapFragments(), QOpenGL2PaintEngineExPrivate::drawVertexArrays(), QOpenGL2PaintEngineExPrivate::fill(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), and QOpenGL2PaintEngineExPrivate::transferMode().
Definition at line 123 of file qopengl2pexvertexarray.cpp.
References QDataBuffer< Type >::add().
Referenced by addPath().
|
inline |
Definition at line 111 of file qopengl2pexvertexarray_p.h.
References QDataBuffer< Type >::size().
Referenced by QOpenGL2PaintEngineExPrivate::drawVertexArrays(), and QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray().
|
inline |
Definition at line 110 of file qopengl2pexvertexarray_p.h.
References QDataBuffer< Type >::data().
Referenced by QOpenGL2PaintEngineExPrivate::drawVertexArrays(), and QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray().
|
inline |
Definition at line 114 of file qopengl2pexvertexarray_p.h.
References QDataBuffer< Type >::size().
Referenced by QOpenGL2PaintEngineExPrivate::drawCachedGlyphs(), QOpenGL2PaintEngineExPrivate::drawPixmapFragments(), QOpenGL2PaintEngineExPrivate::fill(), and QOpenGL2PaintEngineExPrivate::transferMode().