Qt 4.8
|
#include <qvectorpath_p.h>
Classes | |
struct | CacheEntry |
Public Types | |
enum | Hint { AreaShapeMask = 0x0001, NonConvexShapeMask = 0x0002, CurvedShapeMask = 0x0004, LinesShapeMask = 0x0008, RectangleShapeMask = 0x0010, ShapeMask = 0x001f, LinesHint = LinesShapeMask, RectangleHint = AreaShapeMask | RectangleShapeMask, EllipseHint = AreaShapeMask | CurvedShapeMask, ConvexPolygonHint = AreaShapeMask, PolygonHint = AreaShapeMask | NonConvexShapeMask, RoundedRectHint = AreaShapeMask | CurvedShapeMask, ArbitraryShapeHint = AreaShapeMask | NonConvexShapeMask | CurvedShapeMask, IsCachedHint = 0x0100, ShouldUseCacheHint = 0x0200, ControlPointRect = 0x0400, OddEvenFill = 0x1000, WindingFill = 0x2000, ImplicitClose = 0x4000 } |
Public Functions | |
CacheEntry * | addCacheData (QPaintEngineEx *engine, void *data, qvectorpath_cache_cleanup cleanup) const |
QRectF | controlPointRect () const |
const QPainterPath | convertToPainterPath () const |
int | elementCount () const |
const QPainterPath::ElementType * | elements () const |
bool | hasImplicitClose () const |
bool | hasWindingFill () const |
uint | hints () const |
bool | isCacheable () const |
bool | isConvex () const |
bool | isCurved () const |
bool | isEmpty () const |
CacheEntry * | lookupCacheData (QPaintEngineEx *engine) const |
void | makeCacheable () const |
const qreal * | points () const |
QVectorPath (const qreal *points, int count, const QPainterPath::ElementType *elements=0, uint hints=ArbitraryShapeHint) | |
Hint | shape () const |
~QVectorPath () | |
Static Public Functions | |
static uint | polygonFlags (QPaintEngine::PolygonDrawMode mode) |
Properties | |
CacheEntry * | m_cache |
const int | m_count |
QRealRect | m_cp_rect |
const QPainterPath::ElementType * | m_elements |
uint | m_hints |
const qreal * | m_points |
Definition at line 77 of file qvectorpath_p.h.
enum QVectorPath::Hint |
Definition at line 80 of file qvectorpath_p.h.
|
inline |
Definition at line 110 of file qvectorpath_p.h.
QVectorPath::~QVectorPath | ( | ) |
Definition at line 61 of file qpaintengineex.cpp.
QVectorPath::CacheEntry * QVectorPath::addCacheData | ( | QPaintEngineEx * | engine, |
void * | data, | ||
qvectorpath_cache_cleanup | cleanup | ||
) | const |
Definition at line 112 of file qpaintengineex.cpp.
QRectF QVectorPath::controlPointRect | ( | ) | const |
Definition at line 76 of file qpaintengineex.cpp.
Referenced by QGL2PaintEngineEx::clip(), clipTransformIsSimple(), QEmulationPaintEngine::fill(), QRasterPaintEngine::fill(), QGL2PaintEngineExPrivate::fill(), operator<<(), QEmulationPaintEngine::stroke(), and QGL2PaintEngineExPrivate::stroke().
|
inline |
Definition at line 199 of file qpainterpath_p.h.
Referenced by clipTransformIsSimple(), QDirectFBPaintEngine::fill(), QBlittablePixmapData::markRasterOverlay(), and QPaintEngineEx::stroke().
|
inline |
Definition at line 140 of file qvectorpath_p.h.
Referenced by QGL2PEXVertexArray::addCentroid(), QPaintBufferPrivate::addCommand(), QGL2PEXVertexArray::addPath(), QVGPaintEngine::clip(), QOpenGLPaintEngine::clip(), QRasterPaintEngine::clip(), QPaintBufferEngine::clip(), clipTransformIsSimple(), QOutlineMapper::convertPath(), QPaintBufferEngine::draw(), QCosmeticStroker::drawPath(), QDirectFBPaintEngine::fill(), QRasterPaintEngine::fill(), QPaintBufferEngine::fill(), QTriangulator< T >::initialize(), operator<<(), QTriangulatingStroker::process(), QDashedStrokeProcessor::process(), qt_painterPathFromVectorPath(), QPaintEngineEx::stroke(), QRasterPaintEngine::stroke(), QPaintBufferEngine::stroke(), and QVGPaintEnginePrivate::vectorPathToVGPath().
|
inline |
Definition at line 136 of file qvectorpath_p.h.
Referenced by QGL2PEXVertexArray::addCentroid(), QPaintBufferPrivate::addCommand(), QGL2PEXVertexArray::addPath(), QOpenGLPaintEngine::clip(), QRasterPaintEngine::clip(), QOutlineMapper::convertPath(), QCosmeticStroker::drawPath(), QOpenGLPaintEngine::fill(), QTriangulator< T >::initialize(), QTriangulatingStroker::process(), QDashedStrokeProcessor::process(), qt_painterPathFromVectorPath(), QPaintEngineEx::stroke(), and QVGPaintEnginePrivate::vectorPathToVGPath().
|
inline |
Definition at line 130 of file qvectorpath_p.h.
Referenced by QCosmeticStroker::drawPath(), QTriangulatingStroker::process(), QPaintEngineEx::stroke(), and QVGPaintEnginePrivate::vectorPathToVGPath().
|
inline |
Definition at line 131 of file qvectorpath_p.h.
Referenced by QOutlineMapper::convertPath(), QVGPaintEngine::draw(), QVGPaintEngine::fill(), QGL2PaintEngineExPrivate::fill(), and QGL2PaintEngineExPrivate::writeClip().
|
inline |
Definition at line 134 of file qvectorpath_p.h.
Referenced by QPaintBufferPrivate::addCommand(), QOpenGLPaintEngine::clip(), QRasterPaintEngine::fill(), QTriangulator< T >::initialize(), operator<<(), and qt_painterPathFromVectorPath().
|
inline |
|
inline |
Definition at line 126 of file qvectorpath_p.h.
Referenced by QGL2PEXVertexArray::addPath(), and QGL2PaintEngineExPrivate::fill().
|
inline |
Definition at line 127 of file qvectorpath_p.h.
Referenced by QGL2PaintEngineExPrivate::fill().
|
inline |
Definition at line 138 of file qvectorpath_p.h.
Referenced by QOpenGLPaintEngine::clip(), QGL2PaintEngineEx::clip(), clipTransformIsSimple(), QCosmeticStroker::drawPath(), QRasterPaintEngine::fill(), QPaintEngineEx::stroke(), and QGL2PaintEngineExPrivate::writeClip().
|
inline |
Definition at line 153 of file qvectorpath_p.h.
Referenced by addCacheData(), and QGL2PaintEngineExPrivate::fill().
|
inline |
|
inline |
Definition at line 137 of file qvectorpath_p.h.
Referenced by QGL2PEXVertexArray::addCentroid(), QPaintBufferPrivate::addCommand(), QGL2PEXVertexArray::addPath(), QVGPaintEngine::clip(), QOpenGLPaintEngine::clip(), QGL2PaintEngineEx::clip(), QRasterPaintEngine::clip(), clipTransformIsSimple(), QOutlineMapper::convertPath(), QCosmeticStroker::drawPath(), QBlitterPaintEngine::fill(), QOpenGLPaintEngine::fill(), QDirectFBPaintEngine::fill(), QRasterPaintEngine::fill(), QGL2PaintEngineExPrivate::fill(), QTriangulator< T >::initialize(), QTriangulatingStroker::process(), QDashedStrokeProcessor::process(), qt_painterPathFromVectorPath(), QPaintEngineEx::stroke(), QRasterPaintEngine::stroke(), and QVGPaintEnginePrivate::vectorPathToVGPath().
|
inlinestatic |
Definition at line 257 of file qpaintengineex_p.h.
Referenced by QRasterPaintEngine::drawPolygon(), QPaintEngineEx::drawPolygon(), and QRasterPaintEngine::fillPolygon().
|
inline |
Definition at line 125 of file qvectorpath_p.h.
Referenced by QVGPaintEngine::clip(), QOpenGLPaintEngine::clip(), QGL2PaintEngineEx::clip(), QRasterPaintEngine::clip(), clipTransformIsSimple(), QBlitterPaintEngine::fill(), QDirectFBPaintEngine::fill(), QOpenGLPaintEngine::fill(), QRasterPaintEngine::fill(), QGL2PaintEngineExPrivate::fill(), and QRasterPaintEngine::stroke().
|
mutableprivate |
Definition at line 175 of file qvectorpath_p.h.
Referenced by addCacheData(), and ~QVectorPath().
|
private |
Definition at line 170 of file qvectorpath_p.h.
Referenced by controlPointRect().
|
mutableprivate |
Definition at line 173 of file qvectorpath_p.h.
Referenced by controlPointRect().
|
private |
Definition at line 168 of file qvectorpath_p.h.
|
mutableprivate |
Definition at line 172 of file qvectorpath_p.h.
Referenced by addCacheData(), controlPointRect(), and ~QVectorPath().
|
private |
Definition at line 169 of file qvectorpath_p.h.
Referenced by controlPointRect().