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
QRectVectorPath Class Reference
+ Inheritance diagram for QRectVectorPath:
+ Collaboration diagram for QRectVectorPath:

Public Member Functions

void set (const QRect &r)
 
void set (const QRectF &r)
 
 QRectVectorPath (const QRect &r)
 
 QRectVectorPath (const QRectF &r)
 
 QRectVectorPath ()
 
- Public Member Functions inherited from QVectorPath
 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::ElementTypeelements () const
 
const qrealpoints () const
 
bool isEmpty () const
 
int elementCount () const
 
const QPainterPath convertToPainterPath () const
 
CacheEntryaddCacheData (QPaintEngineEx *engine, void *data, qvectorpath_cache_cleanup cleanup) const
 
CacheEntrylookupCacheData (QPaintEngineEx *engine) const
 
bool isRect () const
 

Public Attributes

qreal pts [8]
 

Additional Inherited Members

- Public Types inherited from QVectorPath
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 Public Member Functions inherited from QVectorPath
static uint polygonFlags (QPaintEngine::PolygonDrawMode mode)
 
template<typename T >
static bool isRect (const T *pts, int elementCount)
 

Detailed Description

Definition at line 51 of file qpaintengine_raster.cpp.

Constructor & Destructor Documentation

◆ QRectVectorPath() [1/3]

QRectVectorPath::QRectVectorPath ( const QRect & r)
inline

Definition at line 82 of file qpaintengine_raster.cpp.

References set.

◆ QRectVectorPath() [2/3]

QRectVectorPath::QRectVectorPath ( const QRectF & r)
inline

Definition at line 87 of file qpaintengine_raster.cpp.

References set.

◆ QRectVectorPath() [3/3]

QRectVectorPath::QRectVectorPath ( )
inline

Definition at line 92 of file qpaintengine_raster.cpp.

Member Function Documentation

◆ set() [1/2]

void QRectVectorPath::set ( const QRect & r)
inline

Definition at line 53 of file qpaintengine_raster.cpp.

References pts.

◆ set() [2/2]

void QRectVectorPath::set ( const QRectF & r)
inline

Definition at line 68 of file qpaintengine_raster.cpp.

References pts.

Member Data Documentation

◆ pts

qreal QRectVectorPath::pts[8]

Definition at line 96 of file qpaintengine_raster.cpp.

Referenced by set(), and set().


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