![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
void | set (const QRect &r) |
void | set (const QRectF &r) |
QRectVectorPath (const QRect &r) | |
QRectVectorPath (const QRectF &r) | |
QRectVectorPath () | |
![]() | |
QVectorPath (const qreal *points, int count, 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 *data, qvectorpath_cache_cleanup cleanup) const |
CacheEntry * | lookupCacheData (QPaintEngineEx *engine) const |
bool | isRect () const |
Public Attributes | |
qreal | pts [8] |
Additional Inherited Members | |
![]() | |
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 } |
![]() | |
static uint | polygonFlags (QPaintEngine::PolygonDrawMode mode) |
template<typename T > | |
static bool | isRect (const T *pts, int elementCount) |
Definition at line 51 of file qpaintengine_raster.cpp.
|
inline |
Definition at line 82 of file qpaintengine_raster.cpp.
References set.
|
inline |
Definition at line 87 of file qpaintengine_raster.cpp.
References set.
|
inline |
Definition at line 92 of file qpaintengine_raster.cpp.
Definition at line 53 of file qpaintengine_raster.cpp.
References pts.
Definition at line 68 of file qpaintengine_raster.cpp.
References pts.
qreal QRectVectorPath::pts[8] |
Definition at line 96 of file qpaintengine_raster.cpp.