Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 ()
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/6]

QRectVectorPath::QRectVectorPath ( const QRect & r)
inline

Definition at line 82 of file qpaintengine_raster.cpp.

References QRectVectorPath().

Referenced by QRectVectorPath(), and QRectVectorPath().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QRectVectorPath() [2/6]

QRectVectorPath::QRectVectorPath ( const QRectF & r)
inline

Definition at line 87 of file qpaintengine_raster.cpp.

References QRectVectorPath().

Here is the call graph for this function:

◆ QRectVectorPath() [3/6]

QRectVectorPath::QRectVectorPath ( )
inline

Definition at line 92 of file qpaintengine_raster.cpp.

References QRectVectorPath().

Referenced by QRectVectorPath().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QRectVectorPath() [4/6]

QRectVectorPath::QRectVectorPath ( const QRect & r)
inline

Definition at line 82 of file qpaintengine_raster.cpp.

◆ QRectVectorPath() [5/6]

QRectVectorPath::QRectVectorPath ( const QRectF & r)
inline

Definition at line 87 of file qpaintengine_raster.cpp.

◆ QRectVectorPath() [6/6]

QRectVectorPath::QRectVectorPath ( )
inline

Definition at line 92 of file qpaintengine_raster.cpp.

Member Function Documentation

◆ set() [1/4]

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

Definition at line 53 of file qpaintengine_raster.cpp.

◆ set() [2/4]

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

Definition at line 53 of file qpaintengine_raster.cpp.

◆ set() [3/4]

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

Definition at line 68 of file qpaintengine_raster.cpp.

◆ set() [4/4]

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

Definition at line 68 of file qpaintengine_raster.cpp.

Member Data Documentation

◆ pts

qreal QRectVectorPath::pts

Definition at line 96 of file qpaintengine_raster.cpp.


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