Qt 4.8
Public Functions | Properties | List of all members
QGLMaskGenerator Class Referenceabstract
Inheritance diagram for QGLMaskGenerator:
QGLEllipseMaskGenerator QGLTrapezoidMaskGenerator QGLLineMaskGenerator QGLPathMaskGenerator QGLRectMaskGenerator

Public Functions

virtual void drawMask (const QRect &rect)=0
 
QTransform matrix () const
 
QPainterPath path () const
 
 QGLMaskGenerator (const QPainterPath &path, const QTransform &matrix, qreal stroke_width=-1)
 
virtual QRect screenRect ()=0
 
qreal strokeWidth () const
 
virtual ~QGLMaskGenerator ()
 

Properties

QTransform m
 
QPainterPath p
 
qreal w
 

Detailed Description

Definition at line 2608 of file qpaintengine_opengl.cpp.

Constructors and Destructors

◆ QGLMaskGenerator()

QGLMaskGenerator::QGLMaskGenerator ( const QPainterPath path,
const QTransform matrix,
qreal  stroke_width = -1 
)
inline

Definition at line 2611 of file qpaintengine_opengl.cpp.

2612  : p(path),
2613  m(matrix),
2614  w(stroke_width)
2615  {
2616  }

◆ ~QGLMaskGenerator()

virtual QGLMaskGenerator::~QGLMaskGenerator ( )
inlinevirtual

Definition at line 2625 of file qpaintengine_opengl.cpp.

2625 {}

Functions

◆ drawMask()

virtual void QGLMaskGenerator::drawMask ( const QRect rect)
pure virtual

◆ matrix()

QTransform QGLMaskGenerator::matrix ( ) const
inline

◆ path()

QPainterPath QGLMaskGenerator::path ( ) const
inline

◆ screenRect()

virtual QRect QGLMaskGenerator::screenRect ( )
pure virtual

◆ strokeWidth()

qreal QGLMaskGenerator::strokeWidth ( ) const
inline

Properties

◆ m

QTransform QGLMaskGenerator::m
private

Definition at line 2629 of file qpaintengine_opengl.cpp.

Referenced by QGLEllipseMaskGenerator::drawMask().

◆ p

QPainterPath QGLMaskGenerator::p
private

◆ w

qreal QGLMaskGenerator::w
private

Definition at line 2630 of file qpaintengine_opengl.cpp.

Referenced by QOpenGLPaintEngine::drawRects().


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