![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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 , ExplicitOpen = 0x8000 } |
Public Member Functions | |
| QVectorPath (const qreal *pointspoints, int countcount, const QPainterPath::ElementType *elements=nullptr, uint hints=ArbitraryShapeHint) | |
| ~QVectorPath () | |
| QRectF | controlPointRect () const |
| Hint | shape () const |
| bool | isConvex () const |
| bool | isCurved () const |
| bool | isCacheable () const |
| bool | hasImplicitClose () const |
| bool | hasExplicitOpen () const |
| bool | hasWindingFill () const |
| void | makeCacheable () const |
| uint | hints () const |
| const QPainterPath::ElementType * | elements () const |
| const qreal * | points () const |
| bool | isEmpty () const |
| int | elementCount () const |
| const QPainterPath | convertToPainterPath () const |
| CacheEntry * | addCacheData (QPaintEngineEx *engine, void *datadata, qvectorpath_cache_cleanup cleanup) const |
| CacheEntry * | lookupCacheData (QPaintEngineEx *engine) const |
| bool | isRect () const |
Static Public Member Functions | |
| static uint | polygonFlags (QPaintEngine::PolygonDrawMode modemode) |
| template<typename T> | |
| static bool | isRect (const T *pts, int elementCount) |
Definition at line 38 of file qvectorpath_p.h.
| enum QVectorPath::Hint |
Definition at line 41 of file qvectorpath_p.h.
|
inline |
Definition at line 72 of file qvectorpath_p.h.
| QT_BEGIN_NAMESPACE QVectorPath::~QVectorPath | ( | ) |
Definition at line 25 of file qpaintengineex.cpp.
| QVectorPath::CacheEntry * QVectorPath::addCacheData | ( | QPaintEngineEx * | engine, |
| void * | data, | ||
| qvectorpath_cache_cleanup | cleanup ) const |
Definition at line 76 of file qpaintengineex.cpp.
| QRectF QVectorPath::controlPointRect | ( | ) | const |
Definition at line 40 of file qpaintengineex.cpp.
|
inline |
Definition at line 213 of file qpainterpath_p.h.
|
inline |
Definition at line 103 of file qvectorpath_p.h.
|
inline |
Definition at line 99 of file qvectorpath_p.h.
|
inline |
Definition at line 93 of file qvectorpath_p.h.
|
inline |
Definition at line 92 of file qvectorpath_p.h.
|
inline |
Definition at line 94 of file qvectorpath_p.h.
|
inline |
Definition at line 97 of file qvectorpath_p.h.
|
inline |
Definition at line 91 of file qvectorpath_p.h.
|
inline |
Definition at line 88 of file qvectorpath_p.h.
|
inline |
Definition at line 89 of file qvectorpath_p.h.
|
inline |
Definition at line 101 of file qvectorpath_p.h.
|
inline |
Definition at line 150 of file qvectorpath_p.h.
|
inlinestatic |
Definition at line 136 of file qvectorpath_p.h.
|
inline |
Definition at line 125 of file qvectorpath_p.h.
|
inline |
Definition at line 96 of file qvectorpath_p.h.
|
inline |
Definition at line 100 of file qvectorpath_p.h.
|
inlinestatic |
Definition at line 106 of file qvectorpath_p.h.
|
inline |
Definition at line 87 of file qvectorpath_p.h.