Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QOpenGL2PEXVertexArray Class Reference

#include <qopengl2pexvertexarray_p.h>

+ Collaboration diagram for QOpenGL2PEXVertexArray:

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 ()
 
QOpenGLPointdata ()
 
int * stops () const
 
int stopCount () const
 
QOpenGLRect boundingRect () const
 
int vertexCount () const
 
void lineToArray (const GLfloat x, const GLfloat y)
 

Detailed Description

Definition at line 63 of file qopengl2pexvertexarray_p.h.

Constructor & Destructor Documentation

◆ QOpenGL2PEXVertexArray()

QOpenGL2PEXVertexArray::QOpenGL2PEXVertexArray ( )
inline

Definition at line 66 of file qopengl2pexvertexarray_p.h.

Member Function Documentation

◆ addPath()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addQuad()

void QOpenGL2PEXVertexArray::addQuad ( const QRectF & rect)
inline

Definition at line 87 of file qopengl2pexvertexarray_p.h.

References rect.

Referenced by QOpenGL2PaintEngineExPrivate::drawCachedGlyphs().

+ Here is the caller graph for this function:

◆ addRect()

void QOpenGL2PEXVertexArray::addRect ( const QRectF & rect)
inline

Definition at line 72 of file qopengl2pexvertexarray_p.h.

References rect.

◆ addVertex()

void QOpenGL2PEXVertexArray::addVertex ( const GLfloat x,
const GLfloat y )
inline

Definition at line 101 of file qopengl2pexvertexarray_p.h.

References QDataBuffer< Type >::add().

Referenced by QOpenGL2PaintEngineExPrivate::drawPixmapFragments().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ boundingRect()

QOpenGLRect QOpenGL2PEXVertexArray::boundingRect ( ) const

Definition at line 18 of file qopengl2pexvertexarray.cpp.

Referenced by QOpenGL2PaintEngineExPrivate::fill(), QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray(), and QOpenGL2PaintEngineExPrivate::writeClip().

+ Here is the caller graph for this function:

◆ clear()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ data()

QOpenGLPoint * QOpenGL2PEXVertexArray::data ( )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lineToArray()

void QOpenGL2PEXVertexArray::lineToArray ( const GLfloat x,
const GLfloat y )

Definition at line 123 of file qopengl2pexvertexarray.cpp.

References QDataBuffer< Type >::add().

Referenced by addPath().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stopCount()

int QOpenGL2PEXVertexArray::stopCount ( ) const
inline

Definition at line 111 of file qopengl2pexvertexarray_p.h.

References QDataBuffer< Type >::size().

Referenced by QOpenGL2PaintEngineExPrivate::drawVertexArrays(), and QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stops()

int * QOpenGL2PEXVertexArray::stops ( ) const
inline

Definition at line 110 of file qopengl2pexvertexarray_p.h.

References QDataBuffer< Type >::data().

Referenced by QOpenGL2PaintEngineExPrivate::drawVertexArrays(), and QOpenGL2PaintEngineExPrivate::fillStencilWithVertexArray().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vertexCount()

int QOpenGL2PEXVertexArray::vertexCount ( ) const
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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